7 Replies Latest reply on Jun 11, 2008 10:03 AM by Thomas Kessler

    RichFaces 3.2.1: h:commandLInk not working.

    Thomas Kessler Newbie

      I have a rich:dataTable w/a rich:simpleTogglePanel that includes a h:commandLink. After upgrading to RichFaces 3.2.1 the h:commandLink stopped working. The method in the backing never gets called.

      Java 1.5.13
      JBoss 4.2.2
      JSF 1.2
      RichFaces 3.2.1

      Here is some code:

      <h:dataTable styleClass="blank" style="width: 300px; border-width: 2px 1px 1px 1px" value="#{ServiceList}" var="item">
      <h:column styleClass="blank">
      <rich:simpleTogglePanel opened="false" switchType="client" label="#{item.serviceName}">
      <a4j:include viewId="/admin/viewservicedetail.xhtml" rendered="#{item.render}" />
      </rich:simpleTogglePanel>
      </h:column>
      </h:dataTable>


      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
      <table class="service">
      <tr>
       <td class="noBold"><nobr>Active:</nobr></td>
       <td class="noBold"><nobr>#{item.active}</nobr></td>
       <td style="width: 100%; text-align: right"><h:commandLink value="Edit" action="#{BackingBean.editService}"><f:param name="serviceKey" value="#{item.serviceKey}" /></h:commandLink></td>
      </tr>
      <tr>
       <td class="noBold"><nobr>Type:</nobr></td>
       <td class="noBold"><nobr>#{item.type}</nobr></td>
       <td style="width: 100%"></td>
      </tr>
      <tr>
       <td class="noBold"><nobr>Network:</nobr></td>
       <td class="noBold"><nobr>#{item.network}</nobr></td>
       <td style="width: 100%"></td>
      </tr>
      <tr>
       <td class="noBold"><nobr>Number:</nobr></td>
       <td class="noBold"><nobr>#{item.number}</nobr></td>
       <td style="width: 100%"></td>
      </tr>
      </table>
      </ui:composition>


      Any help would be greatly appricieated.

      TK