Instructions for the Implementation of Data Validation: Difference between revisions
Jump to navigation
Jump to search
(Created page with '==Overview== In OpenPetra, different aspects of Data Validation need to be implemented in several places to make the whole 'Data Validation Framework' work - on Client Side and S…') |
No edit summary |
||
Line 1: | Line 1: | ||
==DOCUMENTATION IS WORK IN PROGRESS== | |||
'''This wiki page is ''under construction''. Information contained on it should not be relied on until this message is no longer present!!!''' | |||
==Overview== | ==Overview== | ||
In OpenPetra, different aspects of Data Validation need to be implemented in several places to make the whole 'Data Validation Framework' work - on Client Side and Server Side. | In OpenPetra, different aspects of Data Validation need to be implemented in several places to make the whole 'Data Validation Framework' work - on Client Side and Server Side. |
Revision as of 13:15, 15 Mayıs 2012
DOCUMENTATION IS WORK IN PROGRESS
This wiki page is under construction. Information contained on it should not be relied on until this message is no longer present!!!
Overview
In OpenPetra, different aspects of Data Validation need to be implemented in several places to make the whole 'Data Validation Framework' work - on Client Side and Server Side.
The sections below detail what needs to be done and in which places to make Data Validation work. Following the way that is presented in those sections will help you in creating Data Validation and should help the whole development team to code Data Validation in a common and standardised way.
Client Side
YAML File
TODO
*.ManualCode.cs File
TODO
For Information Only: Generated Form File
TODO
TODO
Special Functionality
Accessing a Cacheable DataTable
- Use Ict.Petra.Shared.TSharedDataCache
TODO
Accessing Server-side Functionality that is exposed to the Client
Example: Calling the TServerLookup.TMPartner.VerifyPartner Method
- PetraClientMain.cs, InitialiseClasses: TSharedPartnerValidationHelper.VerifyPartnerDelegate = @TServerLookup.TMPartner.VerifyPartner;
- Ict.Petra.Shared.MPartner.Validation.TSharedPartnerValidationHelper
- public static TVerifyPartner VerifyPartnerDelegate
- public static bool VerifyPartner
TODO
Server Side
TODO