@ Override public void handleRequest ( final Request request ) { if ( isDisabled ( ) ) { // Protect against client-side tampering of disabled/read-only fields. return ; } if ( isPresent ( request ) ) { List < MenuItemSelectable > selectedItems = new ArrayList <> ( ) ; // Unfortunately, we need to recurse through all the menu/sub-menus findSelections ( request , this , selectedItems ) ; setSelectedMenuItems ( selectedItems ) ; } }
Override handleRequest in order to perform processing specific to WMenu .