You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Dave <ja...@yahoo.com> on 2005/11/01 23:14:05 UTC

simple validation should be done on Client side?

Simple validation like required, length, ..should be done on client side to avoid around trip to server side. showing how many characters left when user type will be more friendly.

		
---------------------------------
 Yahoo! FareChase - Search multiple travel sites in one click.  

Re: simple validation should be done on Client side?

Posted by Simon Kitching <sk...@obsidium.com>.
Dave wrote:
> Simple validation like required, length, ..should be done on client side 
> to avoid around trip to server side. showing how many characters left 
> when user type will be more friendly.

The JSF specification is indeed designed to allow this, though it isn't 
mandatory for a JSF implementation to implement it.

Feel free to provide patches that implement this for the various 
components. I'm sure the MyFaces developers would be very pleased to see 
you contribute such code to MyFaces.

Regards,

Simon