Manoj,
Mark created a tiles-definition and created his jsp using that
definition. The definition in turn has all references to the jsp ---
Mark had:
--I have a tile defined as:
--
<definition name="tiles.content.common.downloadHeader"
path="/jsp/tiles/content/common/downloadHeader.jsp">
<put name="category" type="string" />
</definition>
--
To learn more about definitions you can look at the sample applications that
come with tiles or go to :
http://www.lifl.fr/~dumoulin/tiles/doc/tutorialBody.html#_Toc521292381
Avinash
-----Original Message-----
From: Mathew, Manoj [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 08, 2004 7:57 AM
To: Struts Users Mailing List
Subject: RE: 'Can't insert page' Error - But it's a tile!
I am new to Tiles , ignore me if my doubt doesn't make any chage
How the difference matters between your code and this or the one from Mark
..
<tiles:insert page="tiles.content.common.downloadHeader"> ==> Isn't the
value of attribute "page" should be .jsp file <tiles:put name="category"
value="Webpage" /> ==>Isn't the value of attribute "value" should be .jsp
file </tiles:insert>
Thank-you,
Manoj Mathew
-----Original Message-----
From: Avinash Gangadharan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 7:57 PM
To: Struts Users Mailing List
Subject: RE: 'Can't insert page' Error - But it's a tile!
Try this :
<tiles:insert definition="tiles.content.common.downloadHeader">
<tiles:put name="category" value="Webpage" />
</tiles:insert>
-----Original Message-----
From: Mark Mandel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 5:50 PM
To: [EMAIL PROTECTED]
Subject: 'Can't insert page' Error - But it's a tile!
Hey All -
This is driving me nuts!
I have a tile defined as:
--
<definition name="tiles.content.common.downloadHeader"
path="/jsp/tiles/content/common/downloadHeader.jsp">
<put name="category" type="string" />
</definition>
--
And in my JSP code I am trying to include it by going:
--
<tiles:insert template="tiles.content.common.downloadHeader">
<tiles:put name="category" value="Webpage" />
</tiles:insert>
--
And all I get back is:
--
Can't insert page
'tiles.content.common.downloadHeader' :
/jsp/tiles/content/webpage/tiles.content.common.downloadHeader
--
But it's a tile?
I can't see what I am doing wrong
TIA.
Mark
Web Application Developer
Hitachi Data Systems Corporation
HITACHI
Inspire the Next
4/441 St Kilda Rd Melbourne 3004
Email: [EMAIL PROTECTED]
Desk: +61 3 9281 9215
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]