You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Chris Cranford <ch...@tkdsoftware.com> on 2004/06/18 18:23:50 UTC

bean defines

If I define a bean using bean:define from a named bean in the request/session scope, why when I use the JSTL C taglib, does it not see the properties of this bean?

For example:
    <bean:define id="myForm"><tiles:getAsString name="formid"/></bean:define>
    UserName: <bean:write id="myForm" property="userName"/>
    UserName: <c:out value="${myForm.userName}"/>

The bean:write works but the c:out fails.  Any clues?
Chris