onclick of the model panel you are trying to close the modelPanel.try with oncomplete.
If you are trying to close the popup and you need to call the backend means try like this,
<h:panelGroup layout="block" >
styleClass="hidelink" id="hidelinks1" />
<rich:componentControl for="feedbackSuccessUp" attachTo="hidelinks1"
operation="hide" event="onclick" />
instead of <h:graphicsImage try with h:commandbutton also.
It will also work perfectly..
1 of 1 people found this helpful
I've never used the "controls" facet of a richfaces modalpanel. But I'd suggest analysing the rendered <a4j:commandLink> with Firebug or the chrome developertools to check if such a link is inside a form in the first place. Due to the moving around in the DOM (per default to the body) this control could be outside a form even if you specify an own form as the modalpanels content.
I forgot to put it inside form. it is working now.