aspose file tools*
The moose likes JBoss/WildFly and the fly likes Which version of JBOSS supports JSF 2.0? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Which version of JBOSS supports JSF 2.0?" Watch "Which version of JBOSS supports JSF 2.0?" New topic
Author

Which version of JBOSS supports JSF 2.0?

tanu Singh
Greenhorn

Joined: Apr 21, 2009
Posts: 1
Does anyone know which version of JSF 2.0 is supported by JBOSS? Or which is the current version of JSF is supported by JBOSS?

Thanks in advance...
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5845
    
    7

Currently, none. JSF 2.0 is still in draft stage (the final draft was posted on April 3). I checked 4.2.3, 5.0.0 and 5.1.0.Beta1 and all use JSF 1.2MR2. I suspect that JSF 2.0 will be part of Java EE 6, so you might not see it included until JBoss AS 6.

Having said that, you can always try replacing JSF 1.2 with 2.0 and see how it goes. Or you can include the JSF 2.0 JARs in your web app and use a loader repository to provide class isolation.


JBoss In Action
Dennis Zandvliet
Ranch Hand

Joined: Jun 19, 2008
Posts: 60
I'm a bit lost

On the jboss site i found this article for upgrading jsf to jsf 2

How to Upgrade

The following is a total hack and is completely unsupported. But if you want to upgrade JBoss AS to JSF2 and then have lots of fun with the new JSF2 features, here is what you need to do:

1. If you are running JBoss AS 5.2 or greater, you are done. JSF2 is already there.


But as for as I know there is no JBoss AS 5.2 or greater? Or is JBoss AS 5.2 a different product then 5.1.0.GA? If so, is it free and where can you download it?

Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10290
    
168

Dennis Zandvliet wrote:

But as for as I know there is no JBoss AS 5.2 or greater? Or is JBoss AS 5.2 a different product then 5.1.0.GA? If so, is it free and where can you download it?



JBoss AS 5.2 is not yet released. The article there refers to the Branch_5_x http://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_x/ which is under development and will be used for releasing AS 5.2


[My Blog] [JavaRanch Journal]
Dennis Zandvliet
Ranch Hand

Joined: Jun 19, 2008
Posts: 60
Ok thanks it's clear now.
John Willeams White
Greenhorn

Joined: Dec 02, 2007
Posts: 7
Jaikiran Pai wrote:
Dennis Zandvliet wrote:

But as for as I know there is no JBoss AS 5.2 or greater? Or is JBoss AS 5.2 a different product then 5.1.0.GA? If so, is it free and where can you download it?



JBoss AS 5.2 is not yet released. The article there refers to the Branch_5_x http://anonsvn.jboss.org/repos/jbossas/branches/Branch_5_x/ which is under development and will be used for releasing AS 5.2


I guess you probably don't like users asking when things are ready, but since JSF 2.0 is such an amazing improvement, I'm just taking my chances and ask anyway ;) Any idea when we can approximately expect JBoss AS 5.2 to be there?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10290
    
168

John Willeams White wrote:

I guess you probably don't like users asking when things are ready, but since JSF 2.0 is such an amazing improvement, I'm just taking my chances and ask anyway ;) Any idea when we can approximately expect JBoss AS 5.2 to be there?


Here it is JBoss AS 5.2 release plan - JBoss Dev list discussion
Dennis Zandvliet
Ranch Hand

Joined: Jun 19, 2008
Posts: 60
I think that i will go back to jsf 1.2 because jsf 2.0 and all the other complementing technologies are not mature yet . At the moment i only want to spent my time on learning jsf and not to much time on getting things to work, spending hours on google to fix some strange exceptions because some class is missing etc.

I'm reading and doing the exercises of this book 'Beginning JSF 2 APIs and JBoss® Seam'. Until chapter 6 'Providing a Common Layout for Your Pages' everything is working fine. But now i started with chapter 7 Building Interactive Pages with Ajax, and than this book suggest that you go back jsf 1.2, install richfaces 3 and faces. I didn't feel like doing that so i installed the beta version of the richfaces 4.0 demo and made a skeleton project of it.

The first thing I bump upon last night was that this example code was not working:



I first got an error message in my browser because the h:head tag was missing,
after that the wasn't rerendered. I figured out, after checking the usage of the tag in the richfaces demo that it seems that the 'reRender' attribute have been changed??? to 'render'. Anyway after changing the attribute to 'render' the example worked fine.
John Willeams White
Greenhorn

Joined: Dec 02, 2007
Posts: 7
Jaikiran Pai wrote:
John Willeams White wrote:

I guess you probably don't like users asking when things are ready, but since JSF 2.0 is such an amazing improvement, I'm just taking my chances and ask anyway ;) Any idea when we can approximately expect JBoss AS 5.2 to be there?


Here it is JBoss AS 5.2 release plan - JBoss Dev list discussion


Wow, that soon for the first beta? You guys work as fast as robots Thanks a lot!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Which version of JBOSS supports JSF 2.0?