1 Reply Latest reply on Feb 13, 2008 2:08 PM by Wei Han

    listShuttle - cannot select items in source list

    Wei Han Newbie

      I had trouble to get listShuttle work. My source list contains some entity beans, the listShuttle does show up but can't select anything. The only button enabled is "Copy All" but it doesn't work either.

      Then I tried a simple listShuttle which has strings in the source list, the result is same.

      Here is the simple code

      
      <div class="oppsearch"
       xmlns="http://www.w3.org/1999/xhtml"
       xmlns:s="http://jboss.com/products/seam/taglib"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich"
       template="layout/template.xhtml">
       <rich:simpleTogglePanel switchType="client" label="Assign meters to LoadGroup" opened="false">
       <rich:separator/>
       <a4j:form>
       <a4j:outputPanel id="lg_shuttle_panel1">
       <rich:listShuttle id="lg_shuttle1"
       sourceValue="#{loadGroupAction.sourceStrs}"
       targetValue="#{loadGroupAction.targetStrs}"
       var="str"
       listHeight="300"
       listWidth="300"
       sourceSelection="#{loadGroupAction.sourceSelection}"
       targetSelection="#{loadGroupAction.targetSelection}"
       sourceCaptionLabel="Source List"
       targetCaptionLabel="Target List">
       <h:column>
       <h:outputText value="#{str}"/>
       </h:column>
       </rich:listShuttle>
       </a4j:outputPanel>
       </a4j:form>
       </rich:simpleTogglePanel>
      </div>
      


      I am using Richfaces 3.1.3GA, the browser is IE.