Skip to content

Instantly share code, notes, and snippets.

@esaounkine
Created April 29, 2011 08:05
Show Gist options
  • Save esaounkine/948016 to your computer and use it in GitHub Desktop.
Save esaounkine/948016 to your computer and use it in GitHub Desktop.
add showPopupBehavior to an ADF Rich Faces table column - ADF
<af:panelGroupLayout halign="center" layout="horizontal">
<af:panelFormLayout rows="1">
<af:commandButton text="#{msg.ADD}" id="add"
actionListener="#{CorpinfoBean.onAddAction}"
disabled="#{not empty CorpinfoBean.dirtyRows}"/>
<af:commandButton text="#{msg.DELETE}" id="delete">
<af:showPopupBehavior popupId="confirmDelete"
triggerType="action" align="afterStart"/>
</af:commandButton>
<af:commandButton text="#{msg.COMMIT}" id="commit"
actionListener="#{CorpinfoBean.onCommitAction}"/>
<af:popup id="confirmDelete">
<af:dialog title="#{msg.CONFIRM_DELETE_POPUP_TITLE}"
dialogListener="#{CorpinfoBean.dialogListener}">
<af:activeOutputText value="#{msg.CONFIRM_DELETE_POPUP_MESSAGE}"/>
</af:dialog>
</af:popup>
</af:panelFormLayout>
</af:panelGroupLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment