Ok, I've finally gotten this to work.  However, I
don't think it's the "right" solution and it's
certainly not one I'm happy with.  But maybe by
showing how I'm getting it to work, that will better
communicate to people what I'm trying SO HARD to do.

This works:

<definition name="page" path="page.jsp"/>

<definition name="form1" extends="page">
   <put name="body" value="form1a"/>
<definition>

<definition name="form1a" path="form_wrapper.jsp">
   <put name="form-body" value="form1.jsp"/>
</definition>

So this gives me...
<page.jsp>
  <form_wrapper.jsp>
    <form1.jsp/>
  </form_wrapper.jsp>
</page.jsp>

The problem is that "form1.jsp" will not always be
"form1.jsp".  I want to be able to swap that for a
"form2.jsp", "form3.jsp", etc.  Using this method, I
would have to add TWO definitions into the
tile-defs.xml for each new form I wanted!  (form2,
form2a, form3, form3a, etc)
There must be a better way where I only have to add a
single definition for each new form.  Any ideas? 
Advice is much appreciated. Thanks.




__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to