3 Replies Latest reply on Sep 30, 2014 5:24 AM by Michal Petrov

    rich:popupPanel is not working with wildfly AS?

    Aboo salimon Newbie

      Hello ,

       

      i have migrated RF from 3 to 4 and jbossAs from 7 to wildfly but rich:popupPanel in RF 4.3 version is not working with wildfly ? can anyone help me on this .

        • 1. Re: rich:popupPanel is not working with wildfly AS?
          Michal Petrov Master

          You'll have to specify what "not working" means. Can you share some code?

          • 2. Re: rich:popupPanel is not working with wildfly AS?
            Aboo salimon Newbie

            My xhtml files below:

            1. This is main page here i am including homeResults.xhtml and popUpDlg.xhtml

            <h:form>

            <h:panelGroup id="showloyaltyhome">

              <ui:include

              src="../../homeResults.xhtml"></ui:include>

              </h:panelGroup>

            </h:form>

            <ui:include

              src="../../pages/loyalty/include/popUpDlg.xhtml"></ui:include>

             

             

            2.  homeResults.xhtml contains command button

            <h:commandButton value="Edit"

               oncomplete="Richfaces.showModalPanel('popUpDlg');"

               immediate="true"

              title="Edit" image="/images/edit_icon.png"

              styleClass="categoryInner_EditIcon">

             

              <f:setPropertyActionListener

              target="#{managedBean.bindBandMaster}"

              value="#{bandMaster}" />

              <f:setPropertyActionListener

              target="#{managedBean.bindMaster}"

              value="#{master}" />

              </h:commandButton>

             

            3. popUpDlg.xhtml(after clicking command button this page is not dispalying)

             

            <rich:popupPanel id="popUpDlg" minHeight="60"

              minWidth="500"  height="60" width="500" zIndex="2000" moveable="true" resizeable="false"  autosized="true">

            .......

            ......

            ......

              </rich:popupPanel>

             

             

            Richfaces: 4.3.3

            Spring : 4.0.0

            Jsf: 2.2.4

            • 3. Re: rich:popupPanel is not working with wildfly AS?
              Michal Petrov Master

              The RichFaces.showModalPanel function is not implemented in 4.3.x (you should see an error in the console), simply use #{rich:component('popUpDlg')}.show()