<r:modalPanel autosized="true" id="detailModal">
<h:outputLabel value="Close X" id="hidelink"/>
<r:componentControl id="hidelinkControl" for="detailModal" attachTo="hidelink" operation="hide" event="onclick" />
Hello, this is my modal window. Some information is here.
You can add r:componentControl to any JSF component, including commandButton, commandLink, etc.
tnx for reply, i already resolved this stuff...
Great news. Can you post your solution so other developers may learn? Thanks.
My problem was not in the richfaces.hideModalPanel... i changed my rerender code in my js Function that calls Richfaces.hideModalPanel, and that resolved.
I researched a solution, and a jQuery Hide, can hide modal panels too with a little effort, but i dont tried.