I am not entering any value for TN field. My understanding is that, if you use Dynamic Forms then the flow should not reach the Action (myController) .. but it does and does not throw any validation exceptions on the page..
Please let me know what i am missing..
Thanks in advance -Navi [ September 18, 2007: Message edited by: Navi Navi ]
I am using "org.apache.struts.validator.DynaValidatorForm"
Are you? Your code snippet is using DynaValidatorActionForm. The "action" versions of these forms differ in that they look for a validator rule where the name matches the name of action. Try switching over to use DynaValidatorForm and see if that fixes your problem.
Joined: Jul 29, 2003
Hi Brent, Thanks for responding.. Yes i am using 'DynaValidatorActionForm'..apologies for the wrong info..
But if i try using the 'DynaValidatorForm' i get the follwoing message 'No input attribute for mapping path /myController'
I am open to either one.. just dont want to create Static forms if possible...
Also i changed the Validation.XMl file as below ('DynaValidatorActionForm') but no changes