RE: Calling a Link target from server-side code

2016-04-29 Thread Davide Vecchi
That is it, thank you. I had used it several times in the past but for some reason this time I went blank... It works great. -Original Message- From: Charlouze [mailto:m...@charlouze.com] Sent: Thursday, April 28, 2016 17:57 To: Tapestry users Subject: Re: Calling a Link target from

Re: Calling a Link target from server-side code

2016-04-28 Thread Charlouze
Hey ! You can trigger event with the ComponentResources service : *componentResources.triggerEvent(String eventType, Object[] contextValues, ComponentEventCallback callback);* I hope it'll help you. Charles Le jeu. 28 avr. 2016 à 17:29, Davide Vecchi a écrit : > Hi everybody, > > This is the

Calling a Link target from server-side code

2016-04-28 Thread Davide Vecchi
Hi everybody, This is the scenario: I am in a component, and I have a string that contains an event name, f.ex. String eventName = "myEvent"; (but in reality it's not a constant). So I also have a server-side event handler method for that event (in another component or in a pa