|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
[Issue 44] New - A$J undefinedhttps://ajax4jsf.dev.java.net/issues/show_bug.cgi?id=44
Issue #|44 Summary|A$J undefined Component|ajax4jsf Version|current Platform|All OS/Version|All URL| Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|www Assigned to|sergeysmirnov Reported by|prashantvermaiiitb ------- Additional comments from prashantvermaiiitb@... Wed Feb 13 08:30:16 +0000 2008 ------- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@... For additional commands, e-mail: issues-help@... |
| Free Forum Powered by Nabble | Forum Help |