This discussion is archived
1 Reply Latest reply: Nov 10, 2012 10:38 AM by AlejandroProfet RSS

I need to hide a popup with custom buttons

veenapandit Newbie
Currently Being Moderated
When they click the button I want t he popup to cancel. THe button invokes a background process. How do I achieve this?
The button has the download listener on it.
  • 1. Re: I need to hide a popup with custom buttons
    AlejandroProfet Journeyer
    Currently Being Moderated

    You can bind the popup to the managed bean who invokes the process:
    RichPopup popup;
    public RichPopup getPopup() {
      return popup;
    public void setPopup(RichPopup popup) {
      this.popup = popup;
    And then put this code in the action listener:
    public void invokeProcess(ActionEvent actionEvent) {
    Hope this helps.



  • Correct Answers - 10 points
  • Helpful Answers - 5 points