I've gotten JSF 1.2 with Facelets work on WAS 6.1 before,
http://wiki.apache.org/myfaces/Websphere_Installation. Though I used
Mojarra 1.2. It was kind of a pain, but it was worth it IMO.
--
James R. Perkins


On Tue, Mar 13, 2012 at 10:49, Hockchai Lim
<lim.hock-chai@xxxxxxxxxxxxxxx>wrote:

sigh... the wonderful world of java. So many frameworks and so many
utilities. Unfortunately JSF 1.2 and 2.0 is not an option for me at the
moment. We are still running websphere 6.1, which only support jsf 1.1.x.
Upgrade to webpshere 7.0+ has been requested for quite some time already...
red-tape...


"Dean, Robert" wrote in message
news:mailman.2365.1331660177.14575.web400@xxxxxxxxxxxx...

Tapestry is a different framework and I can't imagine it would work with
JSF.

The best approach for using Ajax with JSF is to use JSF 2.x and one of the
component libraries. PrimeFaces is one that's been picking up a lot of
momentum over the last year. It uses jQuery heavily. IBM started one
based on Dojo Toolkit, but the project seems to be in limbo. The project
lead switched jobs @ IBM and it doesn't look like anyone else has picked up
the work.


-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Hockchai Lim
Sent: Tuesday, March 13, 2012 12:25 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] richfaces3.1.6GA causes duplicate ID error on
MyFaces1.1.9 andTomahawk1.1.11

It seems like apache tapestry supports ajax also. I'll give that a try and
see.

"Hockchai Lim" wrote in message
news:mailman.2306.1331646916.14575.web400@xxxxxxxxxxxx...

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,
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
lib folder, my existing app starts to error out with Duplicate ID error.

The stack looks like below:
javax.faces.FacesException: duplicate Id for a component leaderPA
at


org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:432)
at


org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:255)
at


org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at


org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
at


org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
at
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

com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.
java:1146)
....



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.

--
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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.