I'm migrating a struts/jsp app to tiles and I'm having a hard time figuring
out why my <bean:write> tags are no longer working.  Before, I used a
body.jsp page that included a header.jsp and a footer.jsp page, both
containing working <bean:write> tags.  Now I have a layout.jsp page that has

<tiles:insert attribute="header">
 <tiles:put name="title"><tiles:getAsString name="title"
ignore="true"/></tiles:put>
 <tiles:put name="section"><tiles:getAsString name="section"
ignore="true"/></tiles:put>
</tiles:insert>
<tiles:insert attribute="body">
<tiles:insert attribute="footer">

The content in both the header and footer jsp files has not changed and to
further perplex me, there are <logic:present> tags around my <bean:write>
tags that reference the same bean and are working (i.e. the logic:present
tags are evaluating properly and disappear in the final html but the
bean:write tags are being displayed as actual code).  For example, the
following:

<logic:present name="user_object"><some html><bean:write name="user_object"
property="email"><some html></logic:present>

outputs:

<some html>><bean:write name="user_object" property="email"><some html>

when the logic tags evaluate correctly.  Can anyone shed some light on how I
should be doing this?

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

Reply via email to