RE: How to use layouts included with Tiles?
It appears I was not clear enough in my original question. If you look at the example definition I provided below, I would like to replace "schs82DefaultDef" with one of the layouts that supposedly come with Tiles, namely "Center". The book I am learning from indicates that several standard layouts come packaged with Tiles, such as "Classic", "Menu", "Tabs", "Columns", etc. However, I can't find any documentation on how to use refer to / use these included layouts in my TilesDefinitions.xml file. Any ideas? (Please see email below for specific questions.) Thanks! "McCormack, Chris" <[EMAIL PROTECTED]To: "Struts Users Mailing List" <[EMAIL PROTECTED]> oods.co.uk> cc: Subject: RE: How to use layouts included with Tiles? 11/01/2004 10:58 AM Please respond to "Struts Users Mailing List" John - To use the schs82DefaultDef tile layout you would need to insert that definition in to a jsp (or forward to the tile def from an action). This would insert the "/layout.jsp" as defined in the path= part of your tiles-def.xml. To insert the "name" attributes, within the "/layout.jsp" you would have the relevant inserts for the put elements i.e. : etc Hope that helps Chris McCormack <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > I can't find documentation on how to use the layouts included with Tiles. > For example, here is one of my Tiles Defs: > > > > > > > > > In order to use one of the layouts included with Tiles, I tried name="Center"...> but this doesn't work. > 1) How do I reference this Tiles layout? > 2) If I can then reference it, anyone know where documentation is available > that would indicate what values this layout expects in the "Name" > attributes of put elements, in order to properly insert content into the > layout? > > Thanks very much for any help? *** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please notify the sender immediately and delete this e-mail from your system. You must take no action based on this, nor must you copy or disclose it or any part of its contents to any person or organisation. Statements and opinions contained in this email may not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. - 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]
RE: How to use layouts included with Tiles?
John - To use the schs82DefaultDef tile layout you would need to insert that definition in to a jsp (or forward to the tile def from an action). This would insert the "/layout.jsp" as defined in the path= part of your tiles-def.xml. To insert the "name" attributes, within the "/layout.jsp" you would have the relevant inserts for the put elements i.e. : etc Hope that helps Chris McCormack <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > I can't find documentation on how to use the layouts included with Tiles. > For example, here is one of my Tiles Defs: > > > > > > > > > In order to use one of the layouts included with Tiles, I tried name="Center"...> but this doesn't work. > 1) How do I reference this Tiles layout? > 2) If I can then reference it, anyone know where documentation is available > that would indicate what values this layout expects in the "Name" > attributes of put elements, in order to properly insert content into the > layout? > > Thanks very much for any help? *** This e-mail and its attachments are confidential and are intended for the above named recipient only. If this has come to you in error, please notify the sender immediately and delete this e-mail from your system. You must take no action based on this, nor must you copy or disclose it or any part of its contents to any person or organisation. Statements and opinions contained in this email may not necessarily represent those of Littlewoods. Please note that e-mail communications may be monitored. The registered office of Littlewoods Limited and its subsidiaries is 100 Old Hall Street, Liverpool, L70 1AB. Registered number of Littlewoods Limited is 262152. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How to use layouts included with Tiles?
I have no idea what you're talking about - but if you need help using the TilesTool you should first check out the javadocs for said tool, and then take a look at the example apps that come bundled with the VelocityTools package :) cheers, MarinĂ³. <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > I can't find documentation on how to use the layouts included with Tiles. > For example, here is one of my Tiles Defs: > > > > > > > > > In order to use one of the layouts included with Tiles, I tried name="Center"...> but this doesn't work. > 1) How do I reference this Tiles layout? > 2) If I can then reference it, anyone know where documentation is available > that would indicate what values this layout expects in the "Name" > attributes of put elements, in order to properly insert content into the > layout? > > Thanks very much for any help? > -- > "NOTICE: The information contained in this electronic mail transmission is > intended by Convergys Corporation for the use of the named individual or > entity to which it is directed and may contain information that is > privileged or otherwise confidential. If you have received this electronic > mail transmission in error, please delete it from your system without > copying or forwarding it, and notify the sender of the error by reply email > or by telephone (collect), so that the sender's address records can be > corrected." - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]