mdmohideen
Programmer
Hi All,
I have a question on Struts.
Here is the scenario, I am clicking a action menu item. It calls an struts action x and forwards to a jsp page.
Once I fill the form(DynaValidatorForm), then I am submitting and calling the same action x. Now the form has to be validated.
----------------------------------------------------------------
When I set the validate = true in the config for this particular action, the form loading fails becoz of validation fails. The validate is invoked since the action path is same for load and submit.
I need a solution for this problem. I want to set the validate attribute only when the form is submitted, not while loading.
Please help me in this issue.
Appreciate your effort for this reading issue.
Thanks,
Mohideen.
I have a question on Struts.
Here is the scenario, I am clicking a action menu item. It calls an struts action x and forwards to a jsp page.
Once I fill the form(DynaValidatorForm), then I am submitting and calling the same action x. Now the form has to be validated.
----------------------------------------------------------------
When I set the validate = true in the config for this particular action, the form loading fails becoz of validation fails. The validate is invoked since the action path is same for load and submit.
I need a solution for this problem. I want to set the validate attribute only when the form is submitted, not while loading.
Please help me in this issue.
Appreciate your effort for this reading issue.
Thanks,
Mohideen.