<mp:modalPanel ....> ... <f:facet name="controls"> <h:graphicImage value="/images/ico_close.gif" onclick="Richfaces.hideModalPanel('workingPanel');" /> </f:facet> ... </mp:modalPanel>
similar task: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4060361#4060361
I am just curious. Why you use mp:modalPanel, but not rich:modalPanel?
Both code snippets have different names for panel. So, I cannot be sure about such banal problem as typo.
Thanks for the reply.
Yes I accidentally entered mismatched names when I typed in the snippet, but (unfortunately) not in my actual code--but good catch.