I am trying to get the ToggleButton to show up. Currently only the text I specified for each button is rendering. Nothing is complaining, and within the UiHandler it sees the ToggleButton's methods fine.
First I just added the button, but then also tried adding an upFace, but still nothing.
<g:ToggleButton ui:field="myToggleButton" text="Button">
</g:ToggleButton>
And corresponding UiField and UiHandler
@UiField
ToggleButton myToggleButton;
@UiHandler("myToggleButton")
void onPress(ClickEvent e){
if(myToggleButton.getValue() == true){
doSomething();
}
}