4 Replies Latest reply on Apr 11, 2007 5:21 AM by Daoud AbdelMonem Faleh

    facelets+ajax4jsf error with firefox

    Daoud AbdelMonem Faleh Newbie

      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"
       <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">
       <h:inputText size="50" value="#{person.name}">
       <a4j:support event="onkeyup" reRender="rep"/>
       <h:outputText value="#{person.name}" id="rep" />

      the page work on IE6 with no pb however on firefox 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 ?

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

      Best Regards,
      Daoud AbdelMonem Faleh.