I defined the following entry in the tiles-def.xml. <definition name="site.menu.bar" path="/coolmenu2.jsp"> </definition>
with coolmenu2.jsp: <%@ taglib uri="/WEB-INF/tld/struts-menu.tld" prefix="menu"%> <script language="JavaScript1.2" src="./scripts/coolmenus3.js"> </script> <script src="./scripts/coolmenu2-config.js"> </script> <menu:useMenuDisplayer name="CoolMenu" bundle="org.apache.struts.action.MESSAGE"> <menu:displayMenu name="MenuHome"/> <menu:displayMenu name="MenuLogout"/> <menu:displayMenu name="MenuHelp"/> </menu:useMenuDisplayer> I can display a horizontal struts-menu. But when the user select the command Logout I would like to call a tiles definition, in this case site.login.page. <definition name="site.login.page" extends="site.mainLayout"> <put name="title" value="Login page" /> <put name="body" value="login.jsp" /> <put name="menu" value="/tiles/common/empty.jsp" /> <put name="user" value="/tiles/common/empty.jsp" /> </definition> If in the menu config I write <Menu name="MenuLogout" title="menu.label.logout" location="site.login.page"> </Menu> It doesn't work I have the error "Unable to open location: Document not found on server". To display the login page I must write <Menu name="MenuLogout" title="menu.label.logout" location="login.jsp"> </Menu> but the page doesn't have the look and feel of the application. ---------------------------------------------------------------------------- As of February 12th, 2003 Thomson unifies its email addresses on a worldwide basis. Please note my new email address: [EMAIL PROTECTED] http://www.thomson.net/ ----Original Message----- From: Edgar Dollin [mailto:[EMAIL PROTECTED] Sent: 13 March 2003 14:05 To: 'Struts Users Mailing List' Subject: RE: Struts-menu with Tiles Absolutely. Just have one of your tiles be the menu. Edgar > -----Original Message----- > From: Heligon Sandra [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 13, 2003 3:47 AM > To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' > Subject: Struts-menu with Tiles > > > > My question is perhaps stupid, sorry. > I would wish to know if it is possible to use > struts-menu with Tiles. > I for a long time seek an example of horizontal > dropdown menu and the menu used in struts-menu example > coolmenus3 seems to me satisfactory. > But I use the Tiles components to build my pages. > Is it possible to use the two technologies? > Thanks a lot in advance. > > Sandra > > ----------------------------------------------------------- > As of February 12, 2003 Thomson unifies its email addresses > on a worldwide basis.Please note my new email address: > [EMAIL PROTECTED] > > Thomson is the leader in solutions and technologies for the > entertainment and media industries and serves its customers > under its four strategic > brands: Technicolor, Grass Valley, RCA and THOMSON. > More about Thomson: http://www.thomson.net/videochain > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]