1 Reply Latest reply on Feb 13, 2012 5:23 AM by Aritz Maeztu

    Problem showing a modal panel in RichFaces 4

    Aritz Maeztu Newbie

      Hello everybody,


      I have a problem with the componentControl element, I have a faces page which has a toolbar and a dropdownMenu is displayed here. My idea is when clicking a menuItem from there, a modal panel has to appear in the screen. My implementation of dropDown menu is this one (it's located inside the toolbar).





                          <rich:dropDownMenu rendered="#{logedBean._LoggedIn=='true'}">

                              <f:facet name="label">


                                      <h:outputText value="#{msg.DATOS_GENERALES}" />



                              <rich:menuItem label="#{msg.DATOS_USUARIO}">

                                  <rich:componentControl target="panel" operation="show"

                                      event="click" />


                              <rich:menuItem label="#{msg.PROPIEDADESSESION}"


                                  <rich:componentControl target="propiedadesSesion"

                                      operation="show" event="click" />


                              <rich:menuSeparator />

                              <rich:menuItem label="#{msg.LOGOUT}" action="#{logedBean.logout}" />




      Problem is that my target panels "panel" and propiedadesSesion are displayed during few seconds and after dissapear. It seems the page it's refreshing, but don't know why, cause there are not reRender operations. Any idea what the problem can be?


      Thanks in advance!