Revision history [back]

click to hide/show revision 1
initial version

asked 2014-04-30 15:21:13 +0800

aktejo gravatar image aktejo

a Self Listening to events

Dear

We know in zkoss 6++ SelectorComposer we can annotate a method to listen to any component. The syntax rule is @Listen( event-name = ids / classes / component tags )

what if a want to listen to the self component? I Tried @Listen("onMyEvent=self") and it doesn't work.

I Have fired this event using Events.echoEvent("onMyEvent",getSelf(),null);

please help. manythanks

a Self Listening to events

Dear

We know in zkoss 6++ SelectorComposer we can annotate a method to listen to any component. The syntax rule is @Listen( event-name = ids / classes / component tags )

what if a i want to listen to the self component? I Tried @Listen("onMyEvent=self") and it doesn't work.

I Have fired this event using Events.echoEvent("onMyEvent",getSelf(),null);

please help. manythanks

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More