You are viewing an old version (v. 2) of this page.
The latest version is v. 11, last edited on May 20, 2013 (view differences | )
<< View previous version | view page history | view next version >>


The MenuButton will allow the user to create a list of objects with a value, label, panelConfirmation and submitNotification which will trigger an ActionEvent when the option is selected.(Action and ActionListeners is supported)

This component is styled for the devices that this project supports to most look and feel like the native

on the devices or desktop browsers. (use <mobi:deviceStylesheet to have proper css loaded for each device)

If an Action or ActionListener is required and form submission is not required or desired, then place a singleSubmit="true" attribute on the button and only the button will be submitted to the server, firing the Action/ActionListener's method, with the resulting update. Otherwise, the button will submit the entire form (normal function). This component also has

 <mobi:ajax />


Basic Use (no singleSubmit, mobi:ajax, panelConfirmation or submitNotification)

      <mobi:menuButton id="mnu1"
                  buttonLabel="Action Menu"

Using single submit

       <mobi:commandButton id="importantOne"
           buttonType="important" value="importantSStrue"


buttonType valid types are "important", "back", "attention" and "default"

disabled button will not submit

singleSubmit if true, button will submit only itself, counting on the domdiff algorithm to supply only regions requiring updating on the current view page. "false" means to submit entire form.

Action as per JSF specs
ActionListener as per JSF specs
Param support as per JSF specs is only available through use of mobi:ajax (for now).

TagLib Documentation
This section covers attributes involved in the typical use-cases for this component. For reference, the complete taglib documentation for this component is available here.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.