Untitled

                Never    
HTML
       
<h:form id="Form">                
        <p:dialog responsive="true" header="Empty"
                  widgetVar="Empty" id="Empty"
                        rendered="#{Bean.numbers eq null or fn:length(Bean.numbers) eq 0}"
                        visible="#{Bean.numbers eq null or fn:length(Bean.numbers) eq 0}"
                        appendToBody="true">
             <p:commandLink id="goToPage2"
                           process="@this"
                           update="@this,:panel1"
                           value="Go To Page 2"
                           type="button"
                           onstart="PF('statusDialog').show();"
                           oncomplete="PF('statusDialog').hide()"           
                           action="#{Bean.goToPage2 }" />

         </p:dialog>
     </:form>

Raw Text