Passing Parameters to Pages (Newbie question)

"detlef schulze" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <009701c28cbf$99556d70$0302000a@sixpack>
Hi,

I have a question concerning the passing of parameters to a page:

Imagine two pages: ItemList and ItemDetail. ItemList basically has a foreach that creates some <a> tags using a number of ActionLinks. When one of the Links is clicked a listener method is triggered. This method then shows the ItemDetail using cycle.setPage("ItemDetail").

Now the question: since each link on the ItemList page shall display a different Item (using ItemDetail) I wonder how to pass the parameter (lets say the id (int)) of the Item to be displayed. How do you usually do this with tapestry? I probably just overlook the way to do it because I am not used to the Request cycle that is used with tapestry.

Any hint appreciated

tia
Detlef
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.