Ok i'll see old versions.

But, in struts-menu 2.1 we dont have methods to create itens dynamicaly
?

How struts-menu 2.1 creates menu and subitens given a struts-menu.xml ?

Why i cant create with this code:

MenuComponent infoProject = new MenuComponent();
infoProject.setTitle("Bugs Resolvidos ()");
infoProject.setName("Bugs Resolvidos ()");
infoProject.setPage("/admin/teste.jsp");
infoProject.setAction("");
infoProject.setLocation("a");

nodeTree = repository.getMenu("UserProject");
nodeTree.addMenuComponent(infoProject);

Thank's Matt

Gustavo


On Thu, 2004-02-26 at 18:05, Matt Raible wrote:
> I don't believe I removed or modified anything in MenuComponent b/w 1.3
> and 2.1.
> 
> Matt
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > Gustavo Padial
> > Sent: Thursday, February 26, 2004 1:57 PM
> > To: [EMAIL PROTECTED]
> > Subject: RE: [struts-menu] Create dynamicaly menu itens
> > 
> > 
> > Hello Matt
> > 
> > I got the classes but i'm using Struts Menu 2.1.
> > The class MenuComponentBuilder.java uses the folow methods of 
> > MenuComponent.class :
> > 
> > menu.setBaseObject(obj);
> > menu.setParams(params);
> > 
> > The two methods above not exists in struts-menu 2.1 right ?
> > We have a similary methods or i need to use old version of 
> > struts menu ?
> > 
> > Thank's
> > 
> > Gustavo
> > 
> > 
> > 
> > On Thu, 2004-02-26 at 17:37, Matt Raible wrote:
> > > Try this:
> > > 
> > > 
> > http://www.mail-archive.com/struts-menu-devel%40lists.sf.net/msg00011.
> > > ht
> > > ml
> > > 
> > > If it works for you, please let me know - I'd like to add a 
> > sample to 
> > > the example app.
> > > 
> > > Matt
> > > 
> > > 
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > > > Gustavo Padial
> > > > Sent: Thursday, February 26, 2004 1:00 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: [struts-menu] Create dynamicaly menu itens
> > > > 
> > > > 
> > > > Hello people
> > > > 
> > > > I'm using struts-menu and i like so much, but i need to
> > > > create dynamicaly items in menu. How can i make this ?
> > > > 
> > > > I see a message posted but the answer is with wrong link.
> > > > 
> > > > Thank's
> > > > 
> > > > 
> > > > --
> > > > ===========================
> > > > Gustavo Padial
> > > > Gerente de Projetos
> > > > Kaffa Software Consulting
> > > > +55 19 3296 3505
> > > > www.kaffa.com.br
> > > > ===========================
> > > > 
> > > >                                                         
> > > > 
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. 
> > Build and 
> > > > deploy apps & Web services for Linux with a free DVD software kit 
> > > > from IBM. Click Now! 
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438> 
> > > > &op=click
> > 
> > > > 
> > > > _______________________________________________
> > > > 
> > > > struts-menu-user mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sf.net/lists/listinfo/struts-> menu-user
> > > > 
> > > 
> > > 
> > > 
> > > 
> > > -------------------------------------------------------
> > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and 
> > > deploy apps & Web services for Linux with a free DVD 
> > software kit from 
> > > IBM. Click Now! 
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438> &op=click
> > > 
> > _______________________________________________
> > 
> > > struts-menu-user mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sf.net/lists/listinfo/struts-menu-user
> > -- 
> > ===========================
> > Gustavo Padial
> > Gerente de Projetos
> > Kaffa Software Consulting
> > +55 19 3296 3505
> > www.kaffa.com.br
> > ===========================
> > 
> >                                                     
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now! 
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438> &op=click
> > 
> > _______________________________________________
> > 
> > struts-menu-user mailing list
> > [EMAIL PROTECTED] 
> > https://lists.sf.net/lists/listinfo/struts-> menu-user
> > 
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> struts-menu-user mailing list
> [EMAIL PROTECTED]
> https://lists.sf.net/lists/listinfo/struts-menu-user
-- 
===========================
Gustavo Padial
Gerente de Projetos
Kaffa Software Consulting
+55 19 3296 3505
www.kaffa.com.br
===========================

                                                        



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
struts-menu-user mailing list
[EMAIL PROTECTED]
https://lists.sf.net/lists/listinfo/struts-menu-user

Reply via email to