You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jack <st...@jakarta.apache.org> on 2002/01/04 01:28:39 UTC

Nesting tags in JSP

What would be the syntax needed to cause the output of a <bean:write> tag to
be written into the value property of an <html:text> tag?  I tried the
following, but it never made it past the compiler:

<html:text property="userId" size="20" value="<bean:write name="login"
property="userId"/>" />

TIA.

Jack


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Nesting tags in JSP

Posted by Ted Husted <hu...@apache.org>.
You may want to say 

<html:text property="userId" size="20" name="login" property="userId"/>"

-Ted.


Jack wrote:
> 
> What would be the syntax needed to cause the output of a <bean:write> tag to
> be written into the value property of an <html:text> tag?  I tried the
> following, but it never made it past the compiler:
> 
> <html:text property="userId" size="20" value="<bean:write name="login"
> property="userId"/>" />
> 
> TIA.
> 
> Jack

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>