This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I am facing a problem with validator. I intent to use client side validation & I am unable to write the declarations in the validation.xml file for the following:
My form bean has an array as : private Spec specs = new Spec; where Spec contains 2 String fields param and value. So on the JSP, i see an array of textboxes for Param and Value. I want to check if value has been entered for atleast one param-value pair. How do i check this using validator ? in my jsp, they are declared as:
I'm afraid the news is not good. While you can define server-side validations for indexed properties using the indexedListProperty attribute in a field stanza of your validation.xml file, it only works for server-side validation and not client-side.
Joined: Jan 09, 2007