-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
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
2 | No.2 Revision |
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