2008/4/9, Stefan Schwarz <[EMAIL PROTECTED]>: > > > > Antonio Petrelli-3 wrote: > > > > You told in a previous e-mail that using: > > <t:getAsString name="site.name" /> > > displays the name in "layout.jsp". So, if I understand it correctly, > this > > code "works". What does not work is the inclusion via the > <t:putAttribute> > > tag. > > > In the putAttribute context it does not work.
OK, this seems to be a bug. Can you create a JIRA issue and possibly provide a test case? https://issues.apache.org/struts/ I thought of importAttribute > before to put the attribute to the right scope but I have no idea at what > position to use it and to which scope to import to. Well, you can use in "layout.jsp": <tiles:importAttribute name="site.name" toName="tilesSiteName" scope="request" /> And in your tilespage.jsp_ <c:out value="${tilesSiteName}" /> HTH Antonio
