Changeing Struts Validation at time
Posted on 2007-11-15
I'm wondering if there is any way to change the struts validation at runtime?
My Issue -
I've one drop down and 3 text boxes in a jsp page. All these 4 are marked as required.
But depending on the selection of the drop down value, one of the text boxes is disabled and so the user can not enter any thing in that text box. But my struts validation still expects a value to be filled in that disabled box.
How do I resolve this issue. Can I change the struts validation at runtime.