Hi,
As you said, actually a list can only be overloaded, not extended. I suggest you post an "improvement request" to bugzilla for such behavior. I thing it will not appear in the next struts1.1b2, but it will be on the pipe for a future release. Cedric Ralf Lorenz wrote: >Hi, >hope you can help me! > >The first problem is about this tag: > > <bean:message key='<tiles:getAsString name="title"/>' /> > >Why is this not working correctly? All I get is ???en.??? but the retrieved "title" >is correct and can be found in the resources. Maybe someone knows a better overall >solution for this. > >The second one is about tiles definition: > >In my application I've got (up to now) 4 different user groups and I want to define >one menu for each group using tiles. >Therefore I thought I can use the extending mechanism of tiles but I don't come any >further right now. > >Menu Hierarchy is as follows > >group 3 -----+ > | | >group 2 group 4 > | >group 1 > >The definition I made is appended at the bootom! > >The problem is that I want the putList to be extended as well. With the current >solution there's a newly defined putList in each >definition. So how can I add items to a putList that is already existing in the >parent definition. Shouldn't there be something like an 'add' -attribute in the >putList-Element, >that one can set to true if the List should be extended. > >any help is very appreciated, >Ralf > > ><!-- main manu definition --> > <definition name="ZuKS.main.menu.root" path="/secureZone/layout/menu.jsp" > > </definition> > > <!-- project team member group --> > <definition name="ZuKS.main.menu.group.3" extends="ZuKS.main.menu.root" > > <put name="title" value="menu.title" /> > <putList name="menuItems" > > <item _value="menu.data.person" > _alternate="menu.data.person.alternate" > _link="/secureZone/inside.jsp" > classtype="de.subsist.zeiterfassung.menu.MenuItem" /> > ... > </putList> > </definition> > > <!-- project leader group --> > <definition name="ZuKS.main.menu.group.2" extends="ZuKS.main.menu.group.3" > > <putList name="menuItems" > > <item _value="menu.manage.projects" > _alternate="menu.manage.projects.alternate" > _link="/secureZone/inside.jsp" > classtype="de.subsist.zeiterfassung.menu.MenuItem" /> > ... > </putList> > </definition> > > > <!-- administrator group --> > <definition name="ZuKS.main.menu.group.1" extends="ZuKS.main.menu.group.2" > > <putList name="menuItems" > > <item _value="menu.general.settings" > _alternate="menu.general.settings.alternate" > _link="/secureZone/inside.jsp" > classtype="de.subsist.zeiterfassung.menu.MenuItem" /> > ... > </putList> > </definition> > > <!-- controller group --> > <definition name="ZuKS.main.menu.group.4" extends="ZuKS.main.menu.group.3" > > <putList name="menuItems" > > <item _value="menu.analyze.person" > _alternate="menu.analyze.person.alternate" > _link="/secureZone/inside.jsp" > classtype="de.subsist.zeiterfassung.menu.MenuItem" /> > ... > </putList> > </definition> > > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>