View Source

h3. Submit Notification

The Submit Notification component will popup a panel displaying a message to inform the user that there is a process undergoing and the background view will be disabled until this process is complete. It can be triggered either by a commandButton or a menuButton.

This component is styled for the devices that this project supports to most look and feel like the native view on the devices/desktop browsers. As for all mobi components, use <mobi:deviceStylesheet to have proper css loaded for each device.


h3. Usage

h4. Basic Use

{code}
<mobi:commandButton id="subNotEx1" value="submitBlockPopup" submitNotification="sn1"
actionListener="#{input.testSubmitNotification}"/>
<mobi:submitNotification id="sn1">
<h:outputText value="WORKING..."/>
</mobi:submitNotification>

{code}
can be used with or without panelConfirmation as well
{code}
<mobi:commandButton id="subNotEx1" value="submitBlockPopup"
submitNotification="sn1"
panelConfirmation="pn1"
actionListener="#{input.testSubmitNotification}"/>
<mobi:submitNotification id="sn1">
<h:outputText value="WORKING..."/>
</mobi:submitNotification>
<mobi:panelConfirmation id="pn1" title="AcceptOrCancel"
message="this will confirmation panel will trigger working submitNotification panel"/>

{code}


h3. Component Documentation
[submitNotification|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/submitNotification.html]
[commandButton|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/commandButton.html]
[panelConfirmation|http://res.icesoft.org/docs/icemobile/v1_latest/jsf/tld/mobi/panelConfirmation.html]