2 Replies Latest reply on Jan 23, 2008 6:20 AM by Ricardo Alba

    Issue with rich:dragIndicator

    Ricardo Alba Newbie

      Hello

      I'm getting problems with <rich:dndParam when value contain's accents. Any Idea ?
      It work's ok in Firefox but in Internet Explorer is not working datascroller and other ajax request.

      Sample code:
      Last entry in testString is Camión

      
      
      public class SimuladorAction {
       private String testString[] = new String[]{"E1","E2","E3","E4","E5","E6","Camión"};
       public String[] getTestString() {
       return testString;
       }
      
       public void setTestString(String[] testString) {
       this.testString = testString;
       }
      }
      
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html 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:rich="http://richfaces.ajax4jsf.org/rich"
       xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
       xmlns:lockdy="http://www.lockdy.com/jsf"
       xmlns:lc="http://www.lockdy.com/jsf/core"
       xmlns:c="http://java.sun.com/jstl/core">
       <ui:composition template="/templates/common.xhtml">
       <ui:define name="body">
       <rich:dragIndicator id="indicator"></rich:dragIndicator>
       <a4j:form>
       <rich:dataTable value="#{simuladorAction.testString}" var="brw"
       rows="5" onRowMouseOver="this.style.backgroundColor='#F1F1F1'"
       onRowMouseOut="this.style.backgroundColor='#{a4jSkin.tableBackgroundColor}'"
       id="tabTest" width="100%">
       <rich:column>
       <h:outputText value="#{brw}" />
       <rich:dragSupport dragIndicator=":indicator" dragType="curso"
       dragValue="#{brw}">
       <rich:dndParam name="label" value="#{brw}" />
       </rich:dragSupport>
       </rich:column>
       </rich:dataTable>
       <rich:datascroller for="tabTest" ajaxSingle="false" id="dsTabTest" />
       </a4j:form>
       </ui:define>
       </ui:composition>
      </html>
      
      
      


      - Tomcat6.0.14
      - jsf-1.2_07
      - jsf-facelets-1.1.14
      - richfaces 3.1.3
      - Internet Explorer 7.0.5730.11

      Thank's