0 Replies Latest reply on Dec 9, 2010 12:09 PM by Pedro A Garcia Medina

    _clearJSFFormParameters is not defined

    Pedro A Garcia Medina Newbie

      Good morning.

      I have just started using JSF and richfaces. I've made a simple test using jboss 5.1.0.GA, JSF1.2, richfaces3.3.1. When i go to the page (shown below) a javascript error named _clearJSFFormParameters is not defined is launched. The generated code has not that function defined. Can someone, please, help me to know what is going on?.

      Thanks!

       

      The jsp:

      ...

        <a4j:form id="formForDT">           
          <rich:dataTable value="#{dataBean.dataList}" var="currentName" title="lola" >                
            <rich:column>
              <f:facet name="header">
                <h:outputText value="Opciones"/>
              </f:facet>                                                               
              <a4j:commandLink id="showMap" action="#{dataBean.mostrarMapaS}" immediate="true" value="dele" reRender="selectedItemId">                   
                <a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender" />
                <f:setPropertyActionListener value="#{currentName.id}" target="#{dataBean.selectedId}" />
              </a4j:commandLink>                                   
            </rich:column>              
            <rich:column>
              <f:facet name="header">

      ... some other columns ...
          </rich:dataTable>                       
          <h:outputText id="selectedItemId" value="id = #{dataBean.selectedId}" />          
        </a4j:form>