I'm trying out the new Tapestry 4.1.1 @EventListener annotation and it
works great, except that if the event is on a component that is
conditionally rendered, it breaks with the following error:

FATAL exception raised: bad srcObj for srcFunc: onclick

This is understandable since dojo cannot connect the requested event
because the element does not exist.

Is there a way to deal with this? Or should event listeners not be
used with conditionally rendered components? Is there away to
conditionally enable/disable EventListeners?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to