4 Replies Latest reply on Jun 23, 2008 6:27 AM by rmuruga

    RichModal Panel

    rmuruga

      Hi there!,
      Iam new to richfaces , when i call a modal panel from a4j:commandbutton, the form is getting posted and it automaticaly kicks the richfaces validators.

      Any suggestions will be appreciated

      Here are the codes that iam using :

      <a4j:commandButton id="creditApplicant" reRender="table"
      styleClass="defaultButton" style="#{formLnF.getButtonSettings(skinBean.skin)};margin:0px;"
      value="Continue" onclick="javascript:Richfaces.showModalPanel('panel');">
      </a4j:commandButton>

        • 1. Re: RichModal Panel
          ilya_shaikovsky

          add "return false;" after panel call.

          • 2. Re: RichModal Panel
            rmuruga

            Hi Thanks for the reply, it works fine now.

            Have one more doubt, When i call modal panel , i am trying to get some field values which i entered in the main page, i tried that by setting in plain java beans , but iam getting it ,

            please suggest me to do that.

            Thanks
            Muruga

            • 3. Re: RichModal Panel
              ilya_shaikovsky

              so seems that calling without request isn't a solution for you ;) You should pass parameters and reRender the panel before show.

              You may visit our demo:

              *Ajax Attributes contains info about possible ajax processing limitations(first question)
              *scrollableTable example contains modal panel with details population example.

              • 4. Re: RichModal Panel
                rmuruga

                Hi ,
                Where is the link for your demo. Please send it to me