You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Georg Füchsle <gi...@googlemail.com> on 2011/08/26 15:18:19 UTC
Is it impossible to use tomahawk and richfaces in the same app?
Hallo Users,
is it impossible to use tomahawk and richfaces in the same app?
My situation:
I develop a webapp that uses jsf1.2, facelets, tomahawk and ajax4jsf
that runs on WebSphere6 and JBoss6.
Now I got a request to deploy to WebSphere7.
I realised, that ajax4jsf-1.1.1.jar mustn't be deployed to a WAS7-app.
(I tried to deploy my app without ajax4jsf.jar and without the
ajax4jsf references in the web.xml - and it could be started well...)
Because I had trouble to start WebSphere with the richfaces libraries,
it tried it on JBoss.
Using the richfaces jars instead of the ajax4jsf.jar, I could start my
app on JBoss. But as soon as I navigated to a site using <t:saveState
it crashed.
I googled and found two articles that make me assume that it is really
impossible to use tomahawk t:saveState and richfaces in the same app:
http://community.jboss.org/thread/9694?tstart=0
https://issues.jboss.org/browse/RF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
What is the latest news?
1. Can I use t:saveState and richfaces a4j: in the same app? And how to to it?
if no:
2. I really cannot get rid of tomahawk in my app. How can I add some
ajax functionality to my tomahawk app, in a way that keeps it
deployable to new AppServers?
Thanks in advance,
gio
Re: Is it impossible to use tomahawk and richfaces in the same app?
Posted by Mark Struberg <st...@yahoo.de>.
Just a small addition to all which was said here: I (back then) used myfaces-2.0.0-beta in a JSF-1 environment without any problems (with an old RichFaces-3.2 or so). The situation should now have gotten even better. We also use tomahawk, so it really should work.
LieGrue,
strub
--- On Fri, 8/26/11, Kito Mann <ki...@virtua.com> wrote:
> From: Kito Mann <ki...@virtua.com>
> Subject: Re: Is it impossible to use tomahawk and richfaces in the same app?
> To: "MyFaces Discussion" <us...@myfaces.apache.org>
> Date: Friday, August 26, 2011, 5:47 PM
> Hello Georg,
>
> This shouldn't be a problem -- RichFaces + Tomahawk is a
> common combination.
> (As a matter of fact, Tomahawk works with just about
> anything).
>
> It looks like you're using an ancient version of RichFaces,
> though, because
> ajax4jsf.jar is not required in newer versions (I think 3.2
> or higher). You
> should consider upgrading RichFaces and Tomahawk, even if
> you can't upgrade
> to JSF 2 right now.
> ---
> Kito D. Mann | twitter: kito99 | Author, JSF in Action
> Virtua, Inc. | http://www.virtua.com | JSF/Java EE
> training and consulting
> http://www.JSFCentral.com - JavaServer Faces FAQ, news,
> and info | twitter:
> jsfcentral
> +1 203-404-4848 x3
>
> * Listen to the latest headlines in the JSF and Java EE
> newscast:
> http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
> * Keep up with the aftermath of the Oracle/Sun merger:
> http://www.mergerspeak.com
>
>
>
> On Fri, Aug 26, 2011 at 9:18 AM, Georg Füchsle <gi...@googlemail.com>wrote:
>
> > Hallo Users,
> >
> > is it impossible to use tomahawk and richfaces in the
> same app?
> >
> >
> > My situation:
> > I develop a webapp that uses jsf1.2, facelets,
> tomahawk and ajax4jsf
> > that runs on WebSphere6 and JBoss6.
> >
> > Now I got a request to deploy to WebSphere7.
> > I realised, that ajax4jsf-1.1.1.jar mustn't be
> deployed to a WAS7-app.
> > (I tried to deploy my app without ajax4jsf.jar and
> without the
> > ajax4jsf references in the web.xml - and it could be
> started well...)
> >
> >
> > Because I had trouble to start WebSphere with the
> richfaces libraries,
> > it tried it on JBoss.
> >
> > Using the richfaces jars instead of the ajax4jsf.jar,
> I could start my
> > app on JBoss. But as soon as I navigated to a site
> using <t:saveState
> > it crashed.
> > I googled and found two articles that make me assume
> that it is really
> > impossible to use tomahawk t:saveState and richfaces
> in the same app:
> >
> >
> > http://community.jboss.org/thread/9694?tstart=0
> >
> > https://issues.jboss.org/browse/RF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
> >
> >
> > What is the latest news?
> >
> > 1. Can I use t:saveState and richfaces a4j: in the
> same app? And how to to
> > it?
> > if no:
> > 2. I really cannot get rid of tomahawk in my app. How
> can I add some
> > ajax functionality to my tomahawk app, in a way that
> keeps it
> > deployable to new AppServers?
> >
> > Thanks in advance,
> >
> > gio
> >
>
Re: Is it impossible to use tomahawk and richfaces in the same app?
Posted by Kito Mann <ki...@virtua.com>.
Hello Georg,
This shouldn't be a problem -- RichFaces + Tomahawk is a common combination.
(As a matter of fact, Tomahawk works with just about anything).
It looks like you're using an ancient version of RichFaces, though, because
ajax4jsf.jar is not required in newer versions (I think 3.2 or higher). You
should consider upgrading RichFaces and Tomahawk, even if you can't upgrade
to JSF 2 right now.
---
Kito D. Mann | twitter: kito99 | Author, JSF in Action
Virtua, Inc. | http://www.virtua.com | JSF/Java EE training and consulting
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info | twitter:
jsfcentral
+1 203-404-4848 x3
* Listen to the latest headlines in the JSF and Java EE newscast:
http://blogs.jsfcentral.com/roller/editorsdesk/category/JSF+and+Java+EE+Newscast
* Keep up with the aftermath of the Oracle/Sun merger:
http://www.mergerspeak.com
On Fri, Aug 26, 2011 at 9:18 AM, Georg Füchsle <gi...@googlemail.com>wrote:
> Hallo Users,
>
> is it impossible to use tomahawk and richfaces in the same app?
>
>
> My situation:
> I develop a webapp that uses jsf1.2, facelets, tomahawk and ajax4jsf
> that runs on WebSphere6 and JBoss6.
>
> Now I got a request to deploy to WebSphere7.
> I realised, that ajax4jsf-1.1.1.jar mustn't be deployed to a WAS7-app.
> (I tried to deploy my app without ajax4jsf.jar and without the
> ajax4jsf references in the web.xml - and it could be started well...)
>
>
> Because I had trouble to start WebSphere with the richfaces libraries,
> it tried it on JBoss.
>
> Using the richfaces jars instead of the ajax4jsf.jar, I could start my
> app on JBoss. But as soon as I navigated to a site using <t:saveState
> it crashed.
> I googled and found two articles that make me assume that it is really
> impossible to use tomahawk t:saveState and richfaces in the same app:
>
>
> http://community.jboss.org/thread/9694?tstart=0
>
> https://issues.jboss.org/browse/RF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
>
>
> What is the latest news?
>
> 1. Can I use t:saveState and richfaces a4j: in the same app? And how to to
> it?
> if no:
> 2. I really cannot get rid of tomahawk in my app. How can I add some
> ajax functionality to my tomahawk app, in a way that keeps it
> deployable to new AppServers?
>
> Thanks in advance,
>
> gio
>
Re: Is it impossible to use tomahawk and richfaces in the same app?
Posted by Çağatay Çivici <ca...@gmail.com>.
It will be worth it!
On Aug 26, 2011, at 5:09 PM, Georg Füchsle wrote:
> Hallo Werner,
> I am not shure what work I have to expect migrating to JSF2.
> But thanks, so I will think about this solution, too.
> gio
>
> 2011/8/26 Werner Punz <we...@gmail.com>:
>> Am 26.08.11 15:18, schrieb Georg Füchsle:
>>
>>> 2. I really cannot get rid of tomahawk in my app. How can I add some
>>> ajax functionality to my tomahawk app, in a way that keeps it
>>> deployable to new AppServers?
>>>
>> Mhh can you move up to jsf 2.1? Then yo would get ajax out of the box.
>>
>> Werner
>>
>>
>>
Çağatay Çivici
Principal Consultant
PrimeFaces Lead | JSF EG Member
Prime Teknoloji
Bilkent Cyberpark, A-303d
06800 Ankara/Turkey
Tel: +90 312 265 05 07
http://www.prime.com.tr
Re: Is it impossible to use tomahawk and richfaces in the same app?
Posted by Georg Füchsle <gi...@googlemail.com>.
Hallo Werner,
I am not shure what work I have to expect migrating to JSF2.
But thanks, so I will think about this solution, too.
gio
2011/8/26 Werner Punz <we...@gmail.com>:
> Am 26.08.11 15:18, schrieb Georg Füchsle:
>
>> 2. I really cannot get rid of tomahawk in my app. How can I add some
>> ajax functionality to my tomahawk app, in a way that keeps it
>> deployable to new AppServers?
>>
> Mhh can you move up to jsf 2.1? Then yo would get ajax out of the box.
>
> Werner
>
>
>
Re: Is it impossible to use tomahawk and richfaces in the same app?
Posted by Werner Punz <we...@gmail.com>.
Am 26.08.11 15:18, schrieb Georg Füchsle:
> 2. I really cannot get rid of tomahawk in my app. How can I add some
> ajax functionality to my tomahawk app, in a way that keeps it
> deployable to new AppServers?
>
Mhh can you move up to jsf 2.1? Then yo would get ajax out of the box.
Werner
Re: Is it impossible to use tomahawk and richfaces in the same app?
Posted by Mike Kienenberger <mk...@gmail.com>.
We are using richfaces 3.3.3 Final and Tomahawk 1.2.9 without any problems.
However, while we originally used a number of t:saveState statements,
I'm not really sure how many we're using now.
I wouldn't think you could use ajax4jsf-1.1.1.jar because that would
have conflicts with richfaces.
A quick survey shows that we don't use t:saveState much anymore as
most of what we do is now session-scoped, but there are a couple of
pages still using it, and they haven't given us any problems.
On Fri, Aug 26, 2011 at 9:18 AM, Georg Füchsle <gi...@googlemail.com> wrote:
> Hallo Users,
>
> is it impossible to use tomahawk and richfaces in the same app?
>
>
> My situation:
> I develop a webapp that uses jsf1.2, facelets, tomahawk and ajax4jsf
> that runs on WebSphere6 and JBoss6.
>
> Now I got a request to deploy to WebSphere7.
> I realised, that ajax4jsf-1.1.1.jar mustn't be deployed to a WAS7-app.
> (I tried to deploy my app without ajax4jsf.jar and without the
> ajax4jsf references in the web.xml - and it could be started well...)
>
>
> Because I had trouble to start WebSphere with the richfaces libraries,
> it tried it on JBoss.
>
> Using the richfaces jars instead of the ajax4jsf.jar, I could start my
> app on JBoss. But as soon as I navigated to a site using <t:saveState
> it crashed.
> I googled and found two articles that make me assume that it is really
> impossible to use tomahawk t:saveState and richfaces in the same app:
>
>
> http://community.jboss.org/thread/9694?tstart=0
> https://issues.jboss.org/browse/RF-1519?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
>
>
> What is the latest news?
>
> 1. Can I use t:saveState and richfaces a4j: in the same app? And how to to it?
> if no:
> 2. I really cannot get rid of tomahawk in my app. How can I add some
> ajax functionality to my tomahawk app, in a way that keeps it
> deployable to new AppServers?
>
> Thanks in advance,
>
> gio
>