1 Reply Latest reply on Oct 24, 2008 5:13 AM by ilya_shaikovsky

    Disable Doubleclick in rich:listShuttle

    exxoo

      Hi,

      is it possible to deactivate the double-click function in a rich:listShuttle ?
      Or even better, is there a way to pass values of the objects over which the lists iterate to a Backing bean ? I tried something like that, but did not succeed, cause always the last value of the lists is passed:

      <rich:listShuttle var="item" id="shuttle converter="PolicyConverter"
      targetValue="#{policyToUsergroupShuttle.targetList}"
      sourceValue="#{policyToUsergroupShuttle.sourceList}"
      binding="#{adjPol.shuttle}" ondblclick="showModal()" ..........>
      
      <rich:column>
      
      <a4j:jsFunction oncomplete="Richfaces.showModalPanel('panel')"
      id="edit" name="showModal" requestDelay="0"
      actionListener="#{adjPol.copyButton}"
      reRender="panel_policyname, panel_groupname, panel_tablecomment, panel_typeList, panel_bedingung, panel_columncomment, panel_valuelist, condition_test, bedingung">
      
      <f:param name="usergroupId" value="#{policyToUsergroupShuttle.currentUsergroup.id}" />
      <f:param name="policyId" value="#{item.id}" />
      
      </a4j:jsFunction>
      
      </rich:column>
      


      Thx in advance