5 Replies Latest reply on Oct 16, 2012 5:37 AM by jeromej

    a4j:commandLink doesn't work in rich:popupPanel

    jeromej

      Hi,

       

      RF4.2.2.Final, PB 3.1.0.Beta1, JSF2.1.8, gatein3.2.4 (exo 3.5.3)

       

      Do you've problem when you use a4j:commandLink in a rich:popupPanel ?

      The action button make nothing ...

       

      When i use h:commandLink and a double click on action button i've a stack trace :

       

      Caused by: javax.portlet.faces.BridgeException: javax.faces.FacesException: Empty id attribute is not allowed

      at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.throwBridgeException(Jsf20ControllerImpl.java:661)

      at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderPortletBody(Jsf20ControllerImpl.java:253)

      at org.jboss.portletbridge.PortletBridgeImpl.doFacesRequest(PortletBridgeImpl.java:268)

      at javax.portlet.faces.GenericFacesPortlet.doFacesDispatch(GenericFacesPortlet.java:516)

      ... 246 more

      Caused by: javax.faces.FacesException: Empty id attribute is not allowed

      at com.sun.faces.context.ExceptionHandlerImpl.handle(ExceptionHandlerImpl.java:142)

      at org.jboss.portletbridge.context.exception.PortletExceptionHandler.handle(PortletExceptionHandler.java:95)

      at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:119)

      at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)

      at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderFaces(Jsf20ControllerImpl.java:380)

      at org.jboss.portletbridge.bridge.controller.Jsf20ControllerImpl.renderPortletBody(Jsf20ControllerImpl.java:251)

      ... 248 more

      Caused by: java.lang.IllegalArgumentException: Empty id attribute is not allowed

       

      any idea ?

       

      <rich:popupPanel id="modalPanelAbandon" width="450" height="" resizeable="false" moveable="false" autosized="true">

      <h:commandLink
          immediate="true"
        action="#{cc.actionCU.abandonner}" render="form">
      </h:commandLink>