-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for JSF 2.1/2.0 on Java EE 6 Container #929
Comments
Could you post the error you are getting? If it is a sample application is the code on GitHub so we can see it? BootsFaces should support jsf versions as specified in the docs |
I am trying to use the https://github.com/TheCoder4eu/BootsFacesWeb.git code to deploy in JBoss EAP 6.2 GA. (which is Java EE 6 compatible). the build is successful, when I try to deploy its goes fine, when i try to access the page which has <b:image JSF tag in it, i am getting the following error. I know that the code base which is getting referred is from JSF 2.2, since the docs are referring that it will be compatible with JSF 2.0/2.1/2.2. Wanted to know if there are any alternatives Log: |
i thought the BootsFacesWeb showcase imported its own Faces library dependencies in the pom.xml? depending on which profile you choose... also i just realised this bug is posted in the BootsFaces-OSP instead of BootsFacesWeb https://github.com/TheCoder4eu/BootsFacesWeb project? |
BootsFaceWeb Project uses BootsFaces-OSP binaries for it to be executed, I can replicate the same using the Helloworld example with <b:image tag in it which has the JSF 2.1/2.0 dependency. The POM file i have modified with JSF 2.1 with that i ran into the above issue. <dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.bootsfaces</groupId>
<artifactId>bootsfaces</artifactId>
<version>1.2.1-SNAPSHOT</version>
</dependency> Need to know if BootsFaces-OSP supports JSF 2.1/2.0. |
I've just looked it up: in theory, the method that's reported missing should be available since JSF 2.0. |
@chongma I think the issue shouldn't be moved to the BootsFacesWeb project. If it's a bug, it's not caused by the showcase but by the core library. As least that's what my gut feeling tells me. |
@saravanan-kandaswamy I believe you've already seen it, but just for the sake of completeness: did you eliminate the jsf-impl.jar and the jsf-api.jar from the pom.xml? Both libraries are provided by JBoss, so it's not a good idea to include a second copy with the class path. |
I havent removed those Jars from POM.xml. I have just reduced the version from 2.2 to 2.0. With that i have built the BootfacesWeb project and deployed. JBoss EAP 6.2 supports only JSF 2.0. Hence I am running into this error. The real question is Bootfaces supports JSF 2.0/2.1? |
@TheCoder4eu Do we still support JSF 2.0? And what about JSF 2.1? |
i would say that if JSF 2.0 or 2.1 do not contain the function |
It seems we've lost compatiblity to JSF 2.0 and 2.1 already in August 2015. So I suggest giving up this compatibility officially in order to benefit from the new features of JSF 2.2. |
…w JSF 2.2 is the oldest supported version of JSF)
Hi,
I am trying to use the Bootsfaces for my sample JSF application which is using JSF 2.1. When i try to use the b:image, i ran into runtime error. As per the documentation.
BootsFaces is targeted at Java EE 6/7 and requires a Java 1.6 or later VM.
JSF 2.0, 2.1 and 2.2 are supported.
BootsFaces supports Oracle Mojarra 2.2+ and Apache MyFaces 2.2+
Could you please tell me is Bootsfaces is compatible to be used for JSF 2.1/JSF 2.0 for Java EE 6 ?
If yes what will be known set of limitations.
Thanks in Advance.
Saravanan K
The text was updated successfully, but these errors were encountered: