Skip to content

Instantly share code, notes, and snippets.

@osanchezh
Created July 16, 2013 01:21
Show Gist options
  • Save osanchezh/6005016 to your computer and use it in GitHub Desktop.
Save osanchezh/6005016 to your computer and use it in GitHub Desktop.
...
<p:commandLink onmouseover="showMessageDialog('form50:selectLocationButton', PoliticaDialog.jq);">
<h:outputText id="selectLocationButton" value="Show MessageDialog"/>
</p:commandLink>
<p:dialog modal="true" widgetVar="statusDialog" header="Process..." draggable="false"
closable="false">
<img src="#{request.contextPath}/images/ajaxloadingbar.gif"/>
</p:dialog>
...
<p:panel id="popup" style="border:0px">
<p:dialog position="left top" id="MessageDialog" widgetVar="MessageDialog"
header="Something to describe the conten">
<h:outputText value="Content of the Message...."/>
</p:dialog>
</p:panel>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment