Hi
I want to add a listener coded in java to a button. I tried following syntax:

|||<||PushButton| |buttonData||=||"Click Me!"||>|
|||<||buttonPressListeners||>|
|<utils:MyListener/>|
|||</||buttonPressListeners||>|
|||</||PushButton||>|

but got an exception.
It seems to me that only scripts can be added as listeners in BXML. Is this right or am I doing something wrong in the above code ?

Regards
Anton

Reply via email to