struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Doust <>
Subject embedding dynamic text in value of text field
Date Mon, 23 Dec 2002 20:52:59 GMT
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?

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message