3 Replies Latest reply on Sep 11, 2008 2:32 PM by Nick Belaevski

    event.parameters in Modal Panel

    Raj K Newbie

      I want to pass a parameter in my ModalPanel from JavaScript.

      I am able to do that using:
      Richfaces.showModalPanel('ExitModalPanel',{param1:'Are you sure to clear?'});
      But how to make use of this param1 in my Modal Panel??

      I can only access this param1 in onshow="alert(event.parameters.param1)"

      But if I want to use this param1 in my body of the Modal Panel ...then how to do it...how to access this event.parameters.param1 in the body..??

      Using RichFaces 3.2.0.GA
      JSF 1.2