3 Replies Latest reply on Aug 28, 2008 6:01 AM by Ilya Shaikovsky

    A4J is not defined

    Pawel Barowski Newbie

      Hi Everyone !

      At the beginning I want to say that I'm a newbie to ajax4jsf framework.
      During the last days I tried to develop a JSF Portlet in the Bea Weblogic Platform 10.0 using the ajax4jsf framework.

      The source -content - code of the portlet looks like this (it was taken from here http://livedemo.exadel.com/a4j-simpleRepeator/):

      <%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

      <f:view>
      <h:form>
      <h:panelGrid columns="2">

      <h:outputText value="Type the Text:" />
      <h:inputText value="#{bean.text}">
      <a4j:support event="onkeyup" reRender="repeater" />
      </h:inputText>

      <h:outputText value="Text in the AJAX Response:" />
      <h:outputText id="repeater" value="#{bean.text}" />

      </h:panelGrid>
      </h:form>


      </f:view>

      All important files (web.xml, faces-config.xml, bean.class) are present and correct configured. But when I publish the portlet on the BEA Serwer and type some text into the input text area i get the following error:
      A4J is not defined.
      It seems like there are some javascript files missing.

      Thanks in advise for any help