Looks like you haven't declared the <bean> taglib in the page!

Paul

-----Original Message-----
From: Alex Araujo [mailto:[EMAIL PROTECTED]
Sent: 19 September 2003 15:55
To: [EMAIL PROTECTED]
Subject: <bean:write> Not Working With Tiles


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]


**************************************
Axios Email Confidentiality Footer
Privileged/Confidential Information may be contained in this message. If you are not 
the addressee indicated in this message (or responsible for delivery of the message to 
such person), you may not copy or deliver this message to anyone. In such case, you 
should destroy this message, and notify us immediately. If you or your employer does 
not consent to Internet email messages of this kind, please advise us immediately. 
Opinions, conclusions and other information expressed in this message are not given or 
endorsed by my Company or employer unless otherwise indicated by an authorised 
representative independent of this message.
WARNING:
While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted 
via electronic mail attachments we cannot guarantee that attachments do not contain 
computer virus code.  You are therefore strongly advised to undertake anti virus 
checks prior to accessing the attachment to this electronic mail.  Axios Systems Ltd 
grants no warranties regarding performance use or quality of any attachment and 
undertakes no liability for loss or damage howsoever caused.


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

Reply via email to