|
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
|
