struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Doust <rdo...@comcast.net>
Subject embedding dynamic text in value of text field
Date Mon, 23 Dec 2002 20:52:59 GMT
Hi.
I have a form that wants to get the initial value for a <html:text> field
from a property of a bean associated with a different form on the page.
I have tried this:
<html:text property="userName" value="<c:out value="${foo.userName}"/>"/>
and this:
<html:text property="userName" value="${foo.userName}"/>
but obviously these won't work because, in the latter case, EL isn't being
processed in the attributes of the struts tag.
Does anyone know how I could do this?
Thanks,
Rich


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message