Hi I just had a quick look at the link. Without looking too much in depth, isn't myfaces a jsf implementation or have I got that wrong? Do I really need to go outside struts and tiles. Learning struts and hibernate at once is already enough for my head. ;)
-----Original Message----- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: 22 November 2005 23:21 To: Struts Users Mailing List Subject: Re: Tiles Again - Can anyone help? Good Afternoon Kevin- I believe the JspTilesViewHandlerImpl handler will take the defined viewid and then compute the tileID substitute any extension by .tiles Append .tiles for corresponding definition JspTilesViewHandlerImpl must be configured as an application within faces-config.xml check out http://myfaces.apache.org/tomahawk/tiles.html cungantach? Martin- ----- Original Message ----- From: "Leahy, Kevin" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <user@struts.apache.org> Sent: Tuesday, November 22, 2005 6:04 PM Subject: RE: Tiles Again - Can anyone help? >I have had a problem niggling me for a couple of weeks. I keep going >back to it and I'm sure there must be a simple solution, but I think I >am missing something simple - struts overload, maybe? ;) > > I have MasterLayout.jsp and FormLayout.jsp. > MasterLayout sets out a basic html page, specifying generic components > like the title and menu using <tiles:insert> tags. > FormLayout specifies a form, specifying components again using > <tiles:insert> tags. > > I am defining tiles in tiles-def.xml that user MasterLayout - all > working fine using the <put> tags to inject the components. > But I also want tiles where in the tiles definition file I can use the > <put> tags to add components into both the MasterLayout and the FormLayout. > > I hope this makes sense to someone. I can send more clarification if needed. > Can anyone advise on this? > > > -----Original Message----- > From: Greg Reddin [mailto:[EMAIL PROTECTED] > Sent: 22 November 2005 22:46 > To: Struts Users Mailing List > Subject: Re: [tiles] > > > On Nov 22, 2005, at 4:42 PM, Wendy Smoak wrote: > >> I have that exact situation where I don't want the menu showing up on >> a resolution screen. I'm doing it in tiles-defs.xml, so this may >> not apply, but it works: >> >> <tiles-definitions> >> <definition name="masterPage" path="/WEB-INF/jsp/layout/ >> basicLayout.jsp"> >> <put name="title" value="IRM Web" /> >> <put name="menubar" value="/WEB-INF/jsp/menubar.jsp" /> >> <put name="footer" value="/WEB-INF/jsp/footer.jsp" /> >> ... >> </definition> >> >> <definition name="resolution.page" extends="masterPage"> >> <put name="heading" value="Resolution" /> >> <put name="menubar" value="" /> >> <put name="body" value="/WEB-INF/jsp/resolutionBody.jsp" /> >> </definition> >> ... >> > > So it does work. How do you use the menubar definition in the JSP page? > Are you using the "insert" tag? > > Greg > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > ---------------------------------------------------------------------- > ---------- The information contained herein is confidential and is > intended solely for the addressee. Access by any other party is > unauthorised without the express written permission of the sender. If > you are not the intended recipient, please contact the sender either > via the company switchboard on +44 (0)20 7623 8000, or via e-mail > return. If you have received this e-mail in error or wish to read our > e-mail disclaimer statement and monitoring policy, please refer to > http://www.drkw.com/disc/email/ or contact the sender. 3166 > ---------------------------------------------------------------------- > ---------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > ------ -------------------------------------------------------------------------------- The information contained herein is confidential and is intended solely for the addressee. Access by any other party is unauthorised without the express written permission of the sender. If you are not the intended recipient, please contact the sender either via the company switchboard on +44 (0)20 7623 8000, or via e-mail return. If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender. 3166 -------------------------------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]