How to add dynamicaly a parameter to a menu entry location ?

"Sebastien Brunot" <[email protected]>
Newsgroups gmane.comp.java.struts-menu.user
Message-ID <[email protected]>
Hi,

 

And sorry if it is a newby question :

 

I'm using struts menu 2.2 with Struts 1.1 to display a tabbed menu on a page
that displays a business object : under the first tab is diaplayed a first
group of information about the business object, under the second tab is
displayed another group of informations, etc.

 

When the user clicks on a tab, the action on the other side need to know
which business object is concerned.

 

Here is my question : how can i add a dynamicaly valued parameter to the URL
of each tab ?

(When the page is displaying the business object which id is < 12345 >, i
want the URL associated with my (for example) first tab to be <
myaction.do?id=12345 >. When the page is dislpaying the business object
which id is < 9999 >, i want the URL associated with my (for example) first
tab to be < myaction.do?id=9999 >. =>  What is the standard way of doing
this with Struts menu ?

 

Thanks for your help,

 

Sebastien
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.