GWT Buttons have the method click (), which fires off all the click handlers as if the button had been clicked. I thought action () would be the equivalent for SMART GWT buttons, but all it does for me is throw an exception.
What is the accepted way to tell a Button (and, for that matter, a ButtonItem) to fire off its click handlers?
(Why do I ask? Because in GWT I have an EnterButton class that fires off the button whenever one of the widgets it is monitoring has an Enter typed in it, and I'd like to make a class that does the same for Smart GWT.)
TIA,
Greg
What is the accepted way to tell a Button (and, for that matter, a ButtonItem) to fire off its click handlers?
(Why do I ask? Because in GWT I have an EnterButton class that fires off the button whenever one of the widgets it is monitoring has an Enter typed in it, and I'd like to make a class that does the same for Smart GWT.)
TIA,
Greg
Comment