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 page): public boolean onMyEvent() { // Do stuff } I use that string to create a Link object: Link link = componentResources.createEventLink(eventName); Then I use that Link object as the href for some client-side elements, which when clicked cause my server-side event handler to get called. This is all OK. However I would also like to call that event handler programmatically, from my server side code, not in response to a client-side user action. What is the proper way to go about that ?