0 Replies Latest reply on Jan 25, 2012 9:23 AM by jaikrat.singh

    How to add minimize and maximize button in rich:popuppanel windows.

    jaikrat.singh

      like below, how can we add minimize and maximize button at the upper right corner of the page in richface popup panel.

      Using the below code we can add the 'X' at the upper rite corner and on click of this popup window gets closed.

       

      <f:facet name="controls">
                
      <h:outputLink value="#"
                     
      onclick="#{rich:component('simplePopup2')}.hide(); return false;">
                            X
                
      </h:outputLink>
        
      </f:facet>

       

      Please suggest.

      Thanks Jaikrat Singh