Hi David,
Tiles --CAN-- be nested.
I sometime have error like yours when there is an exception in an inserted
jsp.
A common way to debug such problem is to test separately each inserted Tile.
Also, this error can be throw if you try to insert Tiles inside iterator
tag, or inside body
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 4:05 AM
Subject: Re: Tiles: using tileContent inside another tile
Hi David,
Tiles --CAN-- be nested.
I sometime have error like yours when there is an exception in an
inserted
jsp.
A common way to debug
. (at this point).
Any further ideas?
- Original Message -
From: David Corbin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 6:17 AM
Subject: Re: Tiles: using tileContent inside another tile
Hmmm... I will explore more deeply, but the three tiles I was trying
?
- Original Message -
From: David Corbin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 6:17 AM
Subject: Re: Tiles: using tileContent inside another tile
Hmmm... I will explore more deeply, but the three tiles I was trying to
include were really just raw
Cedric Dumoulin wrote:
I have try a lot of possibilities with Tiles, but never this one ;-).
You are facing the same problem than with iterate tag, because put tag
implements 'BodyTag'. It does so to be able to read its body. In fact, only tags
needing to read their body implements
Message -
From: Cedric Dumoulin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 12:05 PM
Subject: Re: Tiles: using tileContent inside another tile
I have try a lot of possibilities with Tiles, but never this one ;-).
You are facing the same problem than
tileContent inside another tile
Cedric Dumoulin wrote:
I have try a lot of possibilities with Tiles, but never this one ;-).
You are facing the same problem than with iterate tag, because
put tag
implements 'BodyTag'. It does so to be able to read its body. In fact,
only tags
Original Message -
From: Cedric Dumoulin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 12:05 PM
Subject: Re: Tiles: using tileContent inside another tile
I have try a lot of possibilities with Tiles, but never this one ;-).
It wasn't my intent to be so
David Corbin wrote:
Actually tiles works reasonably well this way, AS LONG AS you only need the
content from a single action per page.
Can you expand on that? I haven't looked at Tiles yet, but am hoping it might
meet my need. Are you saying it will let me do the equivalent of nesting
: Eric Rizzo [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, October 03, 2001 2:23 PM
Subject: Re: Tiles: using tileContent inside another tile
David Corbin wrote:
Actually tiles works reasonably well this way, AS LONG AS you only need
the
content from a single action per page.
Can
David Corbin wrote:
Here is what I've been able to do successfully:
1) Declare standardPage.jsp.
2) Declare standardForm.jsp which is based on standardPage.jsp.
3) Implement a dozed forms using standardForm.jsp, where the contents of the
form are specifcied inline with the reference to
A little. Can you give a simple example? I'm not sure what your
definitions of
is based on and specified 'inline with reference to... are, and I
think some
code might clarify them for me.
I've left out all the directives for the taglibs, but each file needs the
tiles prefix to be defined
David Corbin wrote:
[snip]
--start standardList.jsp
tiles:insert template=standardPage.jsp
tiles:put name=titletiles:getAsString name=title//tiles:put
tiles:put name=body
table border=6 background=silver
tiles:getAsString name=listBody/
I'm using the tiles library, and I've been quite happy with up 'till now.
The following example is simplified--
I have a a template, standardPage.jsp which consists of standard header and
footer HTML, and expects a tile named body. It uses tiles:getAsString
name=body. Works great, an lets me
14 matches
Mail list logo