Hi,

I'm new to struts development so this should be a no-brainer for someone...

I have an object in the session and i need to access the object to set the
'value' attribute of a <html:text> element. I can set the value of an
ordinary html <input> tag using the <bean:write> tag as follows...

<input type="text" name="firstName" value="<bean:write name="customer"
property="firstName" scope="session"/>">

...but i can't use the same approach to set the 'value' attribute of a
<html:text> tag as it requires putting one tag-lib tag inside the other...

<html:text property="firstName" value="<bean:write name="customer"
property="firstName" scope="session"/>"/>

is there a simple way of doing this? 

Thanks in advance,

Jonny :)

Software Engineer 
Macalla Software Ltd

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to