I am using freemarker, but I do not think there would be an advantage to
using JSP in this case.
What I am looking for in and object graph of validation rules so I can
"paint" my jquery validation rules from the the backend validation.

Matt


Laurie Harper wrote:
> 
> matt.payne wrote:
>> I really like the treatment the JQuery 
>> http://jquery.bassistance.de/validate/demo/ validation plugin (not struts
>> plugin), gives for a user experience.  I would really like the rules to
>> come
>> from back end rules and decorate the form fields the same way if the back
>> end bounces a validation error.
>> 
>> Is there anyway to evaluate the validation config ahead of time, so
>> jquery
>> rules can be written?
> 
> I don't know what you mean by 'evaluate the validation config ahead of 
> time,' but depending on what JQuery code you need to generate I would 
> imaging you could do it either in the JSP or, perhaps a more general 
> solution, by re-writing the client-side validation Javascript (assuming 
> you want to use JQuery to perform client-side validation, not just to 
> render errors from server-side validation).
> 
> L.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Can-validation-be-evaluated-ahead-of-time-to-paint-JQuery-validation-rules--tp16038820p16128359.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to