Hi there,
I am using a modelPanel to add data to my application.
<rich:modalPanel onhide="#{obBacking.hide}" >
The problem is i want to do some clean up when the user closes the modal. For which i have included the onhide property. I have defined a method in my backing bean as follows.
public void hide(){
System.out.println("EVENT hide CALLED" );
}
But this method never seems to be called.
I would appreciate any help in this case.
Thanks
onhide - is client side event handler. So you may call some JS but not a server action using such way.
call this action from the control which closes the MP.