I have already used struts menu, but now i need to use tiles menu, because
my application use it, and i can´t change.
thanks...
----- Original Message -----
From: "Ted Husted" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Wednesday, April 19, 2006 7:01 PM
Subject: Re: Dynamic menu
For menuing, you might want to take a look at Struts Menu.
* http://struts-menu.sourceforge.net/
Though, I'm not sure if it would be compatible with the approach you
are trying now.
If you are just getting started with Apache Struts, be sure to read
the latest FAQs, to be sure you get started "on the right foot".
* http://struts.apache.org/faqs.html
HTH, Ted.
On 4/19/06, Fabio Luiz <[EMAIL PROTECTED]> wrote:
Hi all...
First, i´m a new one in the list, from brazil, rio de janeiro, sorry for
my english, i know it´s poor, :)
Ok, but i have a problem. I want to use a dynamic menu using tiles. In my
aplication, i have the menu definied in a .xml, but i want this to be
updated with the user permissions. That means, i have the menu with the
items:
<definition name="app.propostas" extends="app.item.raiz">
<put name="title" value="app.menu..propostas" />
<putList name="itensPlc" >
<item value="menu.propostas.certificado"
link="/Certificado.do?evento=Abrir" />
<item value="menu.propostas.carta" link="/carta.do?evento=Abrir" />
</putList></definition>
and i want the user logged to view only
<item value="menu.propostas.carta" link="/carta.do?evento=Abrir" /> for
example.
Later, this permissions will be set by the DB, but first i need to change
the menu.
Any suggestions?
---------------------------------------------------------------------
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]