Chris Lewis wrote:
[...] For example, say I have a handful of pages in my app (Logout,
NewUpload, NewComment), and I want my component to be able to create
links to these pages that would trigger an action.
I don't see how this is possible with actionlink. It seems that
actionlinks always fire an action in the component or page class, but
cannot be used to trigger actions in other pages or components! Am I
misunderstanding or overlooking something?
Well, I think that the behavior of action link is ok : if you want to
fire an action on the target page, there is no need to have a special
action handler in the target, you simply can pass a parameter into the
context of the link, and analyze it on the target, when onActivate occurs.
For more information, see :
http://tapestry.apache.org/tapestry5/tapestry-core/guide/pagenav.html
--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
InterLDAP - http://interldap.org
FederID - http://www.federid.org/
Open Source identities management and federation
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]