Hi, i got a very ordinary problem. I need to provide diferent menus for diferent people that are logged in the application. I don't know what i should do exactly to provide this funcionality, because i don't really know what Tiles allow me to do (i don't know it's potencial).
I got the following base tiles definition in my app. <definition name=".PartyPlace" path="/layouts/layout.jsp"> <put name="title" value="PartyPlace"/> <put name="header" value="/common/header.jsp"/> <put name="menu" value="/common/menu.jsp"/> <put name="error" value="/functionalBlocks/errorHTMLcomponent.jsp"/> <put name="pageComment" value="${pageComment}"/> <put name="body" value="${body}"/> <put name="footer" value="/common/footer.jsp"/> </definition> One thing i thought is to verify the user permissions at log time, then, depending on the user i'd change the attribute "menu" of my definition to the page menu2.jsp or menu3.jsp, for example. Can (how) i do that??? I also thought on bulding 2 (or 3 or 4) BASE deifinitions and at log time i'd decide which base definition to use. Can i do that (how??)?? I'd appreciate if some show me some reference or just some sample code on how to do that. Thansk, ltcmelo ===== _______________________________________________________ Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]