Output
0
false

Button

This component will add a button to the status bar.

  • It must be added within <ui:define name="statusBar">...</ui:define>
  • It accepts an optional listener as well as an optional JavaScript onclick handler to allow for either use
  • It allows a tooltip and an icon attribute
<jp:sbButton icon="jeeslAdd" orientation="right" listener="#{sbButtonBean.click()}" toggled="#{sbButtonBean.toggled}" update="@form :pText"/>
<jp:sbButton icon="jeeslAdd" orientation="right" disabled="true" listener="#{sbButtonBean.click()}"/>

<jp:sbButton icon="jeeslComment" orientation="right" listener="#{sbButtonBean.click()}" toggled="#{sbButtonBean.toggled}" update="@form :pText"/>
<jp:sbButton icon="jeeslComment" orientation="right" disabled="true" listener="#{sbButtonBean.click()}"/>

<jp:sbButton icon="jeeslMegaphone" orientation="right" listener="#{sbButtonBean.click()}" toggled="#{sbButtonBean.toggled}" update="@form :pText"/>
<jp:sbButton icon="jeeslMegaphone" orientation="right" disabled="true" listener="#{sbButtonBean.click()}"/>