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.
Bobby
-----Original Message-----
From: Antonio Petrelli [mailto:[email protected]]
Sent: Wednesday, August 12, 2009 3:04 PM
To: [email protected]
Subject: Re: Issues with content rendering in nested tiles
2009/8/12 Bobby Fincher <[email protected]>:
>
> <tiles:definition name="layouts.global" template="global.jsp">
> Inside Tile
> ...
> <tiles:definition name="layouts.corp-lg"
> template="body-corp-lg-sm.jsp" extends="layouts.base.corp">
> 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.
Antonio