dWebSpec Dictionary
CONTEXT: descriptors->form->server-validate




All Details Standard Only Platform Only
Structured Web info and helpTechnologies
 Home Page
 Product Page
 Download Page
 Feedback
Javascript Tree Menu

Results for:

 form.server-validate 
Prev  Topic  Next

A true or false entry that would depict whether server-side validation is specified for the elements within the form.

 Seam  

Seam adds annotated validations to the JSF platform; this is explored under the element descriptor, in the area of validators.

When validation components are associated with the form field entry components, this specification becomes redundant. This is because the presence of such validation components implies server-side validations, and such specification is on component by component basis, and not on the form level.

When annotations are in use, the validation is not reflected on the input element but the value bound object/attribute. This validation must be turned on explicitly.

This could be achieve for individual input element with the s:validate component.

<h:inputText id="username" value="username" >
	<s:validate/>
</h:inputText>

If the the server-validate is set to true, all the elements could be specified for server side validations, if such is applicable, with the s:validateAll component, as shown below.

<s:validateAll >
	....input elements
</ s:validateAll >

Prev Next