Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: current
    • Fix Version/s: milestone 1
    • Component/s: www
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      43

      Description

      Hi,

      I am using jboss portal 2.4.1 In that I am trying to incorporate the ajax4jsf by
      using richfaces3.1.3GA all the 3 zip files okay.

      Now Here is my web.xml entries :-

      ..some other context parameters then this

      <!-- Ajax Code Start-->

      <display-name>a4jEchoText</display-name>
      <context-param>
      <param-name>org.richfaces.SKIN</param-name>
      <param-value>blueSky</param-value>
      </context-param>

      <context-param>
      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
      <param-value>server</param-value>
      </context-param>

      <filter>
      <display-name>RichFaces Filter</display-name>
      <filter-name>richfaces</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>
      </filter>

      <filter-mapping>
      <filter-name>richfaces</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      <dispatcher>REQUEST</dispatcher>
      <dispatcher>FORWARD</dispatcher>
      <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>

      <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
      </servlet>

      <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
      </servlet-mapping>

      <!-- Ajax Code End-->
      .. something more

      then this is my page :-

      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <html>
      <head>
      <title>WebService Caller</title>
      </head>
      <body>
      <f:view>
      <h:form id="RichFacesForm">
      <rich:panel header="Simple Echo">
      <h:inputText id="Model" size="50" value="#

      {bean.text}

      ">
      <a4j:support event="onkeyup" reRender="rep" />
      </h:inputText>
      <h:selectOneMenu id="rep">
      <f:selectItems value="#

      {bean.Values}

      "/>
      </h:selectOneMenu>
      </rich:panel>
      </h:form>
      </f:view>
      </body>
      </html>

      I have a autocomplete suggestionbox from the richfaces that will fetch the data
      from the database as you write the characters in the input box on the keyup
      event this ajax must be fired and should get the data.But when I press the key I
      recieve this 'A4J is Undefined' for me.

      Please suggest as its preventing me from the completion of my project.

      Thanks in Advance.

      Prashant

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            ajax4jsf-issues
            Reporter:
            prashantvermaiiitb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: