@ UiChild ( limit = 1 , tagname = "buttonActivePersist" ) public void addActivePersist ( final JQMButton button ) { if ( button == null ) return ; addActive ( button ) ; button . getElement ( ) . addClassName ( "ui-state-persist" ) ; }
Restore the button s active state each time the page is shown while it exists in the DOM .