Edit Validate , Edit Input-why are they called run on client side when both rely on java code--do they use applets internally??
Since Edit Validate and Edit Input both use java code,how can it be called as client side validations? is it because / does both of them internally use java applets? which run on runs in a web browser Java plugin? or something else?
If you want the custom edit validate rule to be fired on client side then please do the following steps as per the following article:
Create and test the edit validate rule.
Associate an edit validate rule with a property.
Associate with the property a control rule that includes the ClientValidation control rule.
Enable client-side validation, by a check box on the HTML tab of the Harness form. For best results use JSP tags and the SmartFrames format for the harness.
for sharing the details it helps , but as per step 3 above brings a issue
Firstly - This means we have to re-write(no code reuse but duplicating same functionality programatically ) all the configurations that we do in edit validate rule - then what is the benefit of writing/ defining edit validate rule , we can directly write validation in webwb.pega_validators.js" without defining edit validate rule.
Secondly - Pega sells the idea with clients that "Configure" only , but as per above steps we have to customize /code this which is again - against pega best practices and since clients are very focused on best practices - its a kind of conflicting situation for consultants.
&&- what about edit input ? please let me know if "Edit input" also need to have any such tweaks to make it as a client side corrections/conversion before hitting server side?