Simple answer: <definition name=".view" path="TOP.jsp" > <put name="main" value=".main"/> </definition>
You have to put a definition inside another definition. You can see a definition as a "filled layout page". Since your main.jsp is not complete by itself (you have to "put" pages inside its attributes), you cannot use it as a simple tile (well you can but you get an error ;-) ) but you can use it as a layout page, as you did by defining the ".main" definition. Ciao Antonio Petrelli [EMAIL PROTECTED] wrote: >I want to use Tiles to insert parts of pages into parts of a webpage: > >Example: > >TOP holds all the parts of the page. Within that a MAIN part should display the >main part that again can have different appearances (tiles) depending on the >type of the page. > >So on TOP.jsp main.jsp is inserted that again should insert some other tiles >(main1.jsp, main2.jsp) > >I tried using a tile-definitions.xml file to define the tiles but the tiles can >not be used on subparts of the page. > >So > ><definition name=".view" path="TOP.jsp" > > <put name="main" value="main.jsp"/> ></defintion> > >Now I would like to be able to define something like: > ><definition name=".main" path="main.jsp" > > <put name="display1" value="main1.jsp"/> > <put name="display2" value="main2.jsp"/> ></defintion> > >And insert this main definition so that I can use the definition within the page >I've inserted. > >Regards > >Morten Andersen >Blob Communication > > > >--------------------------------------------------------------------- >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]