supeno
asked on
retrieving values from complex object in html:form
<html:text name="filter" property="vo.name" />
the above line writes the correct value to the JSP but won't pass the value into the form bean on submit.
In addition, if I remove <form-property name="filter" type="es.ts.xxx.Filter"/> from the DynaValidatorForm no error message results when the form is submitted.
I can't find the field anywhere in the request or the form after submission. It may be a simple error but I'm baffled right now.
It's Struts 1.2.
the above line writes the correct value to the JSP but won't pass the value into the form bean on submit.
In addition, if I remove <form-property name="filter" type="es.ts.xxx.Filter"/> from the DynaValidatorForm no error message results when the form is submitted.
I can't find the field anywhere in the request or the form after submission. It may be a simple error but I'm baffled right now.
It's Struts 1.2.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If not then should be as follow:
<html:text name="filter" property="name" />
If yes then you should use <nested> tag.
<nested:text name="filter" property="vo.name" />