tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Petrelli <antonio.petre...@gmail.com>
Subject Re: Partial include with Tiles
Date Mon, 11 Jul 2011 07:04:14 GMT
2011/7/9 duvduv <duvduv@gmail.com>

>    <tiles:putAttribute name="head">
>        <!-- This will be evaluated as JSP content -->
>        <h1>Here's the title</h1>
>    </tiles:putAttribute>
>    <tiles:putAttribute name="body">
>        <p>And here's the body...</p>
>    </tiles:putAttribute>
>

It should work if you escape the text, or wrap it around a <![[CDATA]]>.
Notice that only static text can be placed this way.

Antonio

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message