You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Adam Gordon <ad...@readytalk.com> on 2006/08/25 17:36:15 UTC
Tiles & JSP question
Is there a way to retrieve a non-interpreted attribute value from a
Tiles file?
Specifically, if my Tiles def looks like this:
<definition name="myTileName">
<put name="title" value="My Title"/>
<put name="body" value="/WEB-INF/path/to/my.jsp" />
</definition>
Is there a <tiles:xxx> tag I can use that will just return the String
value of the above "body" attribute rather than trying to interpret it?
Both the <tiles:insert attribute="body"> and <tiles:get name="body">
appear to insert the contents of the JSP to which the "body" attribute
refers...
Thanks.
-- adam
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Tiles & JSP question
Posted by Monkeyden <mo...@gmail.com>.
Yes, Adam, you MUST be a little more cordial. If there's anyone you don't
want to ---- off, it's yourself.
On 8/25/06, Scott Van Wart <sc...@indosoft.com> wrote:
>
> Adam Gordon wrote:
> > Duh....
> >
> > <tiles:getAsString ...>
> I was thinking to myself how rude a reply this was... then I noticed the
> sender was the same. Nicely done :).
>
> - Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
Re: Tiles & JSP question
Posted by Scott Van Wart <sc...@indosoft.com>.
Adam Gordon wrote:
> Duh....
>
> <tiles:getAsString ...>
I was thinking to myself how rude a reply this was... then I noticed the
sender was the same. Nicely done :).
- Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: Tiles & JSP question
Posted by Adam Gordon <ad...@readytalk.com>.
Duh....
<tiles:getAsString ...>
Adam Gordon wrote:
> Is there a way to retrieve a non-interpreted attribute value from a
> Tiles file?
>
> Specifically, if my Tiles def looks like this:
>
> <definition name="myTileName">
> <put name="title" value="My Title"/>
> <put name="body" value="/WEB-INF/path/to/my.jsp" />
> </definition>
>
> Is there a <tiles:xxx> tag I can use that will just return the String
> value of the above "body" attribute rather than trying to interpret
> it? Both the <tiles:insert attribute="body"> and <tiles:get
> name="body"> appear to insert the contents of the JSP to which the
> "body" attribute refers...
>
> Thanks.
>
> -- adam
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org