From: "Emmanuel.Leguy" <[EMAIL PROTECTED]>
Laurie Harper a écrit :
Did you try this?
<logic:present name="person">
<html:text name="person" property="name"/>
</logic:present>
No. I didn't try this. That works but if an error ocure (validate), the
form is displayed with the person.name value and not with the
formbean.name value.
In Action code, before forwarding to the JSP, look up the Person object and
pre-populate the form bean's 'name' property.
Then you have the choice of checking for the 'person' bean or the form
bean's 'name' property in <logic:present> before displaying the text field.
(From what you've posted I'm not sure which is more appropriate.)
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]