You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Tim Colson <tc...@cisco.com> on 2004/09/12 21:46:36 UTC

VTools & Tiles put

Hey folks -
  I'm looking at some JSP Tiles stuff, and there are a lof of tiles:put tags
inside a page template. 

<tiles:insert definition=".def.foo.template" flush="true">
  <tiles:put name="__headTitle"         value="Welcome" />
  <tiles:put name="__bodyTitle"         value="Demonstration of Template" />
  <tiles:put name="__testContent"      value="/WEB-INF/test.html" />
   <tiles:put name="__bodyContent"  type="string" >
...lots of enclosed html...
  </tiles:put>

It doesn't look like the StrutsTiles tool can handle puts?
http://jakarta.apache.org/velocity/tools/struts/TilesTool.html

Tim


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org


Re: VTools & Tiles put

Posted by Nathan Bubna <na...@esha.com>.
Tim Colson said:
> Hey folks -
>   I'm looking at some JSP Tiles stuff, and there are a lof of tiles:put tags
> inside a page template.
>
> <tiles:insert definition=".def.foo.template" flush="true">
>   <tiles:put name="__headTitle"         value="Welcome" />
>   <tiles:put name="__bodyTitle"         value="Demonstration of Template" />
>   <tiles:put name="__testContent"      value="/WEB-INF/test.html" />
>    <tiles:put name="__bodyContent"  type="string" >
> ...lots of enclosed html...
>   </tiles:put>
>
> It doesn't look like the StrutsTiles tool can handle puts?
> http://jakarta.apache.org/velocity/tools/struts/TilesTool.html

i'm not the Tiles expert 'round here, but yeah, i don't see that functionality
in TilesTool either.  patches are welcome! :)

Nathan Bubna
nathan@esha.com


---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org