Steph wrote:
Each time a piece of information is rendered several times in a page.
Say for example in a contact list. Each contact is displayed by a
component including 'remove', 'update', 'details' links.
I already know what you will say ... "move the handler from the page
to the component" ;-)
If I understand what you want, there is two things :
- for a same event type and multiple links, you should use the context
parameter with the id of the element targetted by the action.
- to disting between your different events from a same component,
perhaps you are looking for the eventLink
http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/EventLink.html
Hope it may help,
--
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]