jollyplay
Programmer
- Dec 16, 2003
- 90
Hello,
I have to display the <html:errors> message in different place in form accoring to propery, not in same place.
------------------------------------------------------------Using PhysicalFormBean it is working fine. i use like that
In ActionForm
-------------
ActionErrors errors = new ActionErrors();
errors.add("userId", new ActionError("error.no.userId");
In JSP
------
<html:errors property="userId"/>
------------------------------------------------------------
My Problem in DynaValidatorForm.
Now what my problem is, what propery i give in <html:errors> tag for
DynaValidatorForm i tried many ways. All are vain.
Please help me with example or any link. Thanks in advance,
With regards,
balachandar.
I have to display the <html:errors> message in different place in form accoring to propery, not in same place.
------------------------------------------------------------Using PhysicalFormBean it is working fine. i use like that
In ActionForm
-------------
ActionErrors errors = new ActionErrors();
errors.add("userId", new ActionError("error.no.userId");
In JSP
------
<html:errors property="userId"/>
------------------------------------------------------------
My Problem in DynaValidatorForm.
Now what my problem is, what propery i give in <html:errors> tag for
DynaValidatorForm i tried many ways. All are vain.
Please help me with example or any link. Thanks in advance,
With regards,
balachandar.