4 Replies Latest reply on Apr 11, 2007 5:21 AM by daoud

    facelets+ajax4jsf error with firefox 2.0.0.3

    daoud

      Trying to get facelets and ajax4jsf to work together throw this bit of code:

      <!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:c="http://java.sun.com/jstl/core"
       xmlns:a4j="https://ajax4jsf.dev.java.net/ajax">
      
       <f:loadBundle basename="resources" var="msg" />
       <ui:composition template="/templates/common.xhtml">
      
       <ui:define name="pageTitle">Ajax4jsf echo Test!</ui:define>
      
       <ui:define name="pageHeader">Ajax4jsf-Faclets Test</ui:define>
      
       <ui:define name="body">
       <f:view>
       <h:form>
       <h:inputText size="50" value="#{person.name}">
       <a4j:support event="onkeyup" reRender="rep"/>
       </h:inputText>
       <br/>
       <h:outputText value="#{person.name}" id="rep" />
       </h:form>
       </f:view>
       </ui:define>
       </ui:composition>
      </html>
      


      the page work on IE6 with no pb however on firefox 2.0.0.3 i get this error:

      XML Parsing Error: prefix not bound to a namespace
      Location: http://localhost:8080/AjaxFacletsTest/pages/echo.jsf
      Line Number 43, Column 12: ..
      <a4j:support event="onkeyup" reRender="rep"></a4j:support><input type="text" name="j_id7:j_id8" value="Test" size="50" />
      


      Is this a known bug? someone has experienced the same pb? Is there any solution/patch/workaround ?

      Versions:
      Tomcat 5.5.17: Exadel Studio Pro bundled, JSF1.2RI, facelets 1.1.11, ajax4jsf 1.1.0

      Best Regards,
      Daoud AbdelMonem Faleh.