0 Replies Latest reply on May 8, 2008 5:05 PM by Dongyao Zhao

    Dropsupport can accept mang droptypes, which can cause the d

    Dongyao Zhao Novice

      I want to accepts 2 drop types. it works well, but there is probelm by dropListener. only one drop type can cause the listener. The other can not.
      this is a richfaces bug? i work with richfaces 3.2.0.SR1 and tomcat 5.5

      
       <rich:dropSupport acceptedTypes="[#{child.acceptedTypes[0]}, #{child.acceptedTypes[1]}]"
       oncomplete="openTaskWizard()" ondropend="drp = '#{child.label}'; type= '#{child.portType}'"
       dropValue="#{child}"
       reRender="asimonitorId, ipmonitorId"
       dropListener="#{createTaskDialogBean.processDropOnPort}"/>

      only the second can cause the listener.