0 Replies Latest reply: Jan 25, 2012 9:23 AM by Jaikrat Singh RSS

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

Jaikrat Singh Newbie

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