<html:text property="name" value="<%= user.getName() %>" />
or
<html-el:text property="name" value="${user.name}" />
You can also populate in the refering action (assuming you've one), i think this is better and keeps your form cleaner and thus perhaps more reusable.
theForm.setName("Brian");
or dynaactionform
theForm.set("name","Brian");
<html:text property="name" />
will render to
<input type="text" name="name" value="Brian">
Cheers Mark
On 24 Dec 2003, at 12:10, Ciaran Hanley wrote:
I want to use an update user details page in my application which uses a
form to display the current user details and updates any changes. Im
having problems displaying the information of the user bean in the value
property.
What I want is <html:text property="name" value="current users name" />
Ive tried the following which is giving me errors: <html:text property="name" value="<bean:write name="currentUser" property="name" />" />
Anybody know how to do this? Thanks
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]