tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bobby Fincher <bfinc...@sapient.com>
Subject RE: Issues with content rendering in nested tiles
Date Wed, 12 Aug 2009 19:20:31 GMT
This is the behaviour that I want to happen and I think it is correct.  You can see in the
included sample output that "Inside Tile" is displayed, but you don't see "Inside nested tile"
in the output. You can search for the word "Inside" in the include attachment and you will
see the statements:

out.write("\tInside Tile\n");
out.write("  \t\t\tInside nested tile\n");

The java class is the generated java file from the Jboss jsp compiler.  I would expect to
see both of these statements in the output.  The application heavily depends on the text between
the tags open and close being rendered.

-----Original Message-----
From: Antonio Petrelli [mailto:antonio.petrelli@gmail.com] 
Sent: Wednesday, August 12, 2009 3:04 PM
To: users@tiles.apache.org
Subject: Re: Issues with content rendering in nested tiles

2009/8/12 Bobby Fincher <bfincher@sapient.com>:
> <tiles:definition name="layouts.global" template="global.jsp">
>        Inside Tile
> ...
>                <tiles:definition name="layouts.corp-lg" template="body-corp-lg-sm.jsp"
>                        Inside nested tile
> ...
> Output:
> It is displaying "Inside Tile", but not the "Inside Nested Tile".

So you are saying that it is displaying a text present inside the
<tiles:definition> tag? This is definitely an unwanted side effect.


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