You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Keith C. Klopfer" <k....@mac.com> on 2005/12/25 19:55:19 UTC

Tiles ignore="true" problem

Hello,

Since migrating to Tomcat 5.5.9 (from 5.0.28) and JDK 5.0, I've been getting a Tiles error that I can't seem to get past.  Tiles seems to not be recognizing the ignore="true" parameter in the <tiles:get> tags.  I get an error stating:

"The requested resource /tile2 is not available"

when I don't define tile2 in my tiles-def.xml.  A snippet of my get tags is below:

<td id="leftcolumn" >
    <tiles:get name="tile1" ignore="true" />
    <tiles:get name="tile2" ignore="true" />
</td>

A snippet of the defs:

<definition name=".admin.gettip" extends=".admin.base">
    <put name="tile1" value="/main/front1.jspf"/> 
    <put name="breadcrumbs" type="string" >Admin --> Edit Tip</put>
</definition>

Again, when I don't define "tile2", I get the "is not available" error.  I'm not sure why the ignore tag is no longer working after upgrading to Tomcat 5.5.9 and JDK 5.0.

Any suggestions are greatly appreciated.

Thanks,

KK

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org