0 Replies Latest reply on Jun 11, 2008 10:56 AM by ronanker

    tabPanel and a4j:htmlCommandLink not working (again)

    ronanker

      Hi all,

      I'm using Richfaces 3.2.1.RC5 with JSP and JSF 1.2

      I have a a4j:htmlCommandLink inside a rich:tab (inside a4j:form) that does not call the backing bean.
      In fact, if the a4j:htmlCommandLink is in the default selected tab the link is working but if the same link is in a second tab, the link is not working:
      The server is called. The 5th JSF phase is called but not the backing bean.

      Notice that I use a Backing bean in request scope with the a4j:keepalive tag and I keep the selected tab id in that bean with rich:tabPanel selectedTab attribute

      Looking in the richface forum, I found
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119558
      that leads to
      http://jira.jboss.com/jira/browse/RF-1047

      So I tried to put my bean in session scope and it worked.
      I also try to remove the selectedTab attribute and it also works.

      Unfortunatly, I need both selectedTab and bean in request+keepalive scope.
      I know that a bean with keepalive is not available during the restore view phase. Is that the problem ?
      Is this related to the RF-1047 jira ?

      Thanks for all comments or informations.