-
1. Re: Integartion of Richfaces4.2.3.Final with Seam2.3.3.Final as GateIn portlet throws runtime exception
maran_su Feb 20, 2013 9:22 AM (in response to maran_su)Hi ,
any update on this post
-
2. Re: Integartion of Richfaces4.2.3.Final with Seam2.3.3.Final as GateIn portlet throws runtime exception
kenfinni Feb 20, 2013 10:38 AM (in response to maran_su)Maran,
Unfortunately Portlet Bridge does not support Seam in versions after 3.0, so there is no guarantee as to whether it will work or not.
It looks like your error is due to 2 versions of JSF API being on your classpath, and looking at the effective pom you attached I see:
<dependency>
<groupId>javax.faces</groupId>
<artifactId>javax.faces-api</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.0</version>
</dependency>
When deploying on AS7, unless you tell it otherwise, it will add its versions of JSF to your classpath so you don't need to include them in your archive.
Ken
-
3. Re: Integartion of Richfaces4.2.3.Final with Seam2.3.3.Final as GateIn portlet throws runtime exception
maran_su Feb 20, 2013 9:21 PM (in response to kenfinni)Ken,
i am not able to edit the effective pom , i am not finding any where this dependecies in my pom.xml files(like ear,ejb or web) files apart from my effective pom available in my root how can i remove it.
one more thing I downloaded from Jboss Tools GateIn quickStart JSF2-RF4-helloworld-portlet, this project integrates jsf with richfaces ,this works fine
i gone through the pom.xml this also contains
<dependency>
<groupId>javax.faces</groupId>
<artifactId>javax.faces-api</artifactId>
<version>2.1</version>
</dependency>
<dependency>
<groupId>com.sun.faces</groupId>
<artifactId>jsf-api</artifactId>
<version>2.1.0</version>
</dependency>
but my requirment is
i need JSF2-RF4-Seam-portlet as ear package so i am trying to integrate registration example available in Seam2.3.0.Final with Richfaces4 which i got from Jboss tools quickstart.
any help...
-
4. Re: Integartion of Richfaces4.2.3.Final with Seam2.3.3.Final as GateIn portlet throws runtime exception
kenfinni Feb 20, 2013 10:03 PM (in response to maran_su)Maran,
Maybe that dependency isn't causing a problem then.
As I said in my previous comment, Seam is not supported with Portlet Bridge in portlets. It's not something that has been tried to my knowledge, and I'd be very surprised if it doesn't have a lot of problems.
Ken