Cameron>> Did you figure this out?  I use a base tag in my template to anchor all 
tiles jsp files to the single spot in the webapp.  You should not have any problems 
having a more complex directory structure - it is simplified if all the paths are from 
the same point in the webapp.

Cal 

http://www.calandva.com/            Last update 08/01/03


-----Original Message-----
From: Cameron Hickey [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 07:20
To: 'Struts Users Mailing List'; [EMAIL PROTECTED]
Subject: TILES ERROR when using more than one directory

I am having a problem storing portions of a TILES layout in different
directories.

When using TILES definitions

This works:


  <definition name=".list" path="/WEB-INF/admin/list.jsp">
        <put name="title"  value="the list page" />
                <put name="subtitle"  value="the list page" />
        <put name="body"   value="" />
  </definition>

  <definition name="category.list" extends=".list">
        <put name="body"   value="/WEB-INF/admin/categorylist.jsp" />
  </definition>


BUT, this doesn't:

  <definition name=".list" path="/WEB-INF/admin/list.jsp">
        <put name="title"  value="the list page" />
                <put name="subtitle"  value="the list page" />
        <put name="body"   value="" />
  </definition>

  <definition name="category.list" extends=".list">
        <put name="body"   value="/WEB-INF/admin/pages/categorylist.jsp"
/>
  </definition>


The only difference is that I have put the category list page into a
directory called "pages".

Is there something I am missing?  Should I be setting the second file's
path to be "pages/categorylist.jsp" without the rest of it since someone
mentioned before that child tiles are locally referenced?  I tried this,
but it doesn't work either.

Is there a configuration setting which controls the ability to do this?

Has anyone else experienced this error?

Thanks for any thoughts

Cameron


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  
Learn more about Paymentech's payment processing services at www.paymentech.com
THIS MESSAGE IS CONFIDENTIAL.  This e-mail message and any attachments are proprietary 
and confidential information intended only for the use of the recipient(s) named 
above.  If you are not the intended recipient, you may not print, distribute, or copy 
this message or any attachments.  If you have received this communication in error, 
please notify the sender by return e-mail and delete this message and any attachments 
from your computer.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to