We are using Tapestry 4.02 in a portal environment. So using AJAX or javascript (even so it may not be barrier-free) is not so easy. I thought about something like writing my own service or subclassing DirectService, or something like that...
Any suggestions? -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Montag, 30. Juli 2007 08:54 An: users@tapestry.apache.org Betreff: RE: T4: Adding a listener to a link that has not been rendered in tapestry you could use the EventListener mechanism to intercept the clicks, see http://tapestry.apache.org/tapestry4.1/ajax/eventlistener.html If you know the link-id's in advance, it's particularly easy. If you don't have control over the "external" links, you'll have to come up with some javascript delegating the onclick events to a single element controlled by tapestry which you can then intercept. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Monday, July 30, 2007 8:03 AM > To: users@tapestry.apache.org > Subject: T4: Adding a listener to a link that has not been > rendered in tapestry > > I wrote a component which shows some html from an external > source. This html may contain some links. If one of this > links is clicked I need to call a listener to set some > parameters, but I don't know how to trigger the listener in this case. > > Please help. > > Kay Thielmann > Mitarbeiter / BC Government Themen > Business Unit Information > ______________________________________________ > MATERNA GmbH Information & Communications Voßkuhle 37 * 44141 > Dortmund * Deutschland > Tel.: +49 231 5599-8297> > [EMAIL PROTECTED] * www.materna.de Hauptsitz der > MATERNA GmbH: Voßkuhle 37, 44141 Dortmund > Geschäftsführer: Dr. Winfried Materna, Helmut an de Meulen, > Ralph Hartwig Amtsgericht Dortmund HRB 5839 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]