-
1. Re: Using Mojarra 2.1.7 in JBoss As 7.1 Final
ssilvert Feb 28, 2012 9:00 AM (in response to maderhan)Not easily, but 2.1.7 will be included in AS 7.1.1, which should be out fairly soon.
Stan
-
2. Re: Using Mojarra 2.1.7 in JBoss As 7.1 Final
maderhan Feb 28, 2012 9:07 AM (in response to ssilvert)Ok, thank you Stan.
What about the future plan about changing JSF impl's to others than the packaged release?
Should that be possible easily in future?
Hans-Dieter
-
3. Re: Using Mojarra 2.1.7 in JBoss As 7.1 Final
ssilvert Feb 28, 2012 11:36 AM (in response to maderhan)Hans-Dieter Mader wrote:
Ok, thank you Stan.
What about the future plan about changing JSF impl's to others than the packaged release?
Should that be possible easily in future?
Hans-Dieter
This can be done in a limited way with WAR_BUNDLES_JSF_IMPL. This doesn't solve all use cases but it does cover a lot of them, especially for applications that require an old version of JSF.
I don't know if/when we will be able to implement "truly-pluggable" JSF like we had in AS6. It's just not a high enough priority right now.
BTW, there is actually a way to hack AS7 to upgrade to JSF 2.1.7 immediately. You just go to modules/com/sun/jsf-impl/main and replace the bits for jsf-impl-2.1.5-jbossorg-1.jar. I haven't actually tried it, but it will probably work.
Stan
-
4. Re: Using Mojarra 2.1.7 in JBoss As 7.1 Final
maderhan Feb 29, 2012 2:49 AM (in response to ssilvert)Hi Stan,
the reaplacement of jsf-impl (modules/com/sun/jsf-impl/main) worked fine for the as 7.1 CR1 release (we did it with mojarra 2.1.6)!!
Now (release 7.1 final) I replaced the modules/com/sun/jsf-impl/main/jsf-impl-2.1.5-jbossorg-1.jar with javax.faces-2.1.7.jar and modified the module.xml.
No Success, after deployment I got a number of exceptions.
Then I modified the javax.faces-2.1.7.jar file by removing the javax package out of the jar.
This seems to be the short term solution for me .
I do know that's more trial and error but it works...
Regards
Hans-Dieter
-
5. Re: Using Mojarra 2.1.7 in JBoss As 7.1 Final
ssilvert Feb 29, 2012 8:29 AM (in response to maderhan)That makes sense. Mojarra changed their packaging so api and impl are in the same jar. Good info for others who can't wait for AS 7.1.1.
Stan