|
That is the only filter that I've in the web.xml. do you know of any other
ajax type framework that I might could use?
"James Perkins" wrote in message
news:mailman.2214.1331590046.14575.web400@xxxxxxxxxxxx...
There are likely conflicts with Tomahawk and RichFaces, but I'm not too
sure what exactly they would be. From some of the documentation,
http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/SettingsForDifferentEnvironments.html#ApacheMyFaces
,
it does appear that you need to define the RichFaces filters first.
HTH,
--
James R. Perkins
On Mon, Mar 12, 2012 at 14:10, Hockchai Lim
<lim.hock-chai@xxxxxxxxxxxxxxx>wrote:
is anyone using richfaces3.1.6 with MyFaces1.1.9 and Tomahawk 1.1.11?I'm
trying to add AJax capability into our web app. After some research,lib
richfaces3.1.6 seems the thing that I 'll need for that. But I'm
encountering a problem with it. After I added richfaces jars into the
folder, my existing app starts to error out with Duplicate ID error.org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:432)
The stack looks like below:
javax.faces.FacesException: duplicate Id for a component leaderPA
at
atorg.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
atorg.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
atorg.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
atorg.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
atcom.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:146)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:147)
at
org.apache.myfaces.webapp.MyFacesServlet.service(MyFacesServlet.java:77)
at
....
Note: The only code changes I did is adding the following to web.xml, as
documented in richfaces3.1.6:
<context-param>
<param-name>org.richfaces.SKIN</param-name>
<param-value>blueSky</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>
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
--
This is the Web Enabling the AS400 / iSeries (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.