0 Replies Latest reply on Dec 15, 2007 8:23 AM by Adi Katz

    Nested tab panels errors when using switchType=ajax

    Adi Katz Novice

      I have a tabPanel which is a child of another tab panel ( netsted tab panels...)
      When switch type is "server" everything works fine.
      When changing the switch to "ajax" only the top level tabs work.
      The children produce the following error, when clicked

      java.lang.NullPointerException
      org.ajax4jsf.context.AjaxContextImpl.convertId(AjaxContextImpl.java:587)
      org.ajax4jsf.context.AjaxContextImpl.addComponentToAjaxRender(AjaxContextImpl.java:574)
      org.ajax4jsf.renderkit.AjaxRendererUtils.addRegionByName(AjaxRendererUtils.java:942)
      org.richfaces.component.UISwitchablePanel.broadcast(UISwitchablePanel.java:124)
      org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
      org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
      org.ajax4jsf.component.AjaxViewRoot.processUpdates(AjaxViewRoot.java:309)
      com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:101)
      com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
      com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)