I might be asking too much :
Is it possible to use the @EventListener with the target being a
programatically created widget ?

The widget is the dojo tree widget.
I built a tapestry component out of it , which creates the tree in a
programatic way.
At the creation of the tree i provide a widgetId.

I want in my page to have something like this :

@EventListener(targets="theProvidedWidgetId" ,events="afterAddChild")
public void doSomething() {
}

The event afterAddCHild is an existent event in the widget tree.

I have already tried it.
What i'm not sure is if it should normally work or not since the widgetId
doesn't exist in the html template.

Thanks !
Alex

Reply via email to