This content has been marked as final.
Show 8 replies
-
1. Re: what is happening to a4j:support?
sergeysmirnov Mar 10, 2007 8:34 PM (in response to agori)How the web.xml looks like?
-
2. Re: what is happening to a4j:support?
agori Mar 11, 2007 6:33 AM (in response to agori)this is my web.xml
<?xml version="1.0" encoding="UTF-8"?> <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <listener> <listener-class>com.sun.faces.config.ConfigureListener</listener-class> </listener> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class> </listener> <listener> <listener-class>studioweb.archery.external.Initializer</listener-class> </listener> <filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> </filter-mapping> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>facelets.LIBRARIES</param-name> <param-value> /WEB-INF/studioweb.taglib.xml </param-value> </context-param> <context-param> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>server</param-value> </context-param> <context-param> <param-name>com.sun.faces.validateXml</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>com.sun.faces.verifyObjects</param-name> <param-value>true</param-value> </context-param> <!-- Extensions Filter --> <filter> <filter-name>extensionsFilter</filter-name> <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class> </filter> <filter-mapping> <filter-name>extensionsFilter</filter-name> <url-pattern>/faces/*</url-pattern> </filter-mapping> <!-- Faces Servlet --> <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>/faces/*</url-pattern> </servlet-mapping> <session-config> <session-timeout>30</session-timeout> </session-config> <welcome-file-list> <welcome-file> /index.html </welcome-file> </welcome-file-list> </web-app>
-
3. Re: what is happening to a4j:support?
sergeysmirnov Mar 13, 2007 1:19 PM (in response to agori)Do you use FireFox with FireBug extension ?
-
4. Re: what is happening to a4j:support?
agori Mar 13, 2007 3:25 PM (in response to agori)Finally I have discovered that the issue come from prependIf="false".
If I don't use this feature of jsf 1.2, a4j:support work properly. -
5. Re: what is happening to a4j:support?
sergeysmirnov Mar 13, 2007 3:36 PM (in response to agori)Could you check reRender=":repeater" ?
-
6. Re: what is happening to a4j:support?
achildress May 2, 2008 2:41 PM (in response to agori)I have found that using prependId="false" effectively renders ajax support on the page disabled. This is a sad situation, but true.
-
7. Re: what is happening to a4j:support?
sergeysmirnov May 2, 2008 2:47 PM (in response to agori)"achildress" wrote:
I have found that using prependId="false" effectively renders ajax support on the page disabled. This is a sad situation, but true.
Not sure understand the comment. prependId="false" is a default value. So, you comment sounds like support never works. -
8. Re: what is happening to a4j:support?
achildress May 6, 2008 2:49 PM (in response to agori)prependId is not false by default, it is true by default