留言板
Exception when trying to navigate to another view inside JSF portlet.
Jakub Szczygielski,修改在10 年前。
Exception when trying to navigate to another view inside JSF portlet.
New Member 帖子: 6 加入日期: 14-3-19 最近的帖子
Hello evrybody,
I am developing a JSF portlet with Liferay 6.2, here is my configuration:
JSF, ver. 2.1
cdi-portlet-bridge-shared, ver. 6.2.0.1
liferay-faces-bridge-impl, ver. 3.2.4-ga5
liferay-faces-portal, ver. 3.2.4-ga5
primefaces 4.0
I am trying to navigate to another *.xhtml view using following code:
<p:commandButton id="submitButton1" value="Test" action=" backup" ajax="false"/>
when i press button i get following exception: javax.faces.FacesException: Conversation Context not active when method called on conversation Transient conversation
In other post i read that i should not have any beans.xml in my WEB-INF/lib, I checked it and there is none.
Have you any solutions/workarounds, ever met similiar problem?
I would really aprreciate any hints.
Cheers,
Kuba
I am developing a JSF portlet with Liferay 6.2, here is my configuration:
JSF, ver. 2.1
cdi-portlet-bridge-shared, ver. 6.2.0.1
liferay-faces-bridge-impl, ver. 3.2.4-ga5
liferay-faces-portal, ver. 3.2.4-ga5
primefaces 4.0
I am trying to navigate to another *.xhtml view using following code:
<p:commandButton id="submitButton1" value="Test" action=" backup" ajax="false"/>
when i press button i get following exception: javax.faces.FacesException: Conversation Context not active when method called on conversation Transient conversation
In other post i read that i should not have any beans.xml in my WEB-INF/lib, I checked it and there is none.
Have you any solutions/workarounds, ever met similiar problem?
I would really aprreciate any hints.
Cheers,
Kuba
Juan Gonzalez,修改在10 年前。
RE: Exception when trying to navigate to another view inside JSF portlet.
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Hi Jakub,
what is your weld version (you can check in pom.xm)?
BTW, you should use latest cdi-portlet-bridge-shared, which is 6.2.0.2
what is your weld version (you can check in pom.xm)?
BTW, you should use latest cdi-portlet-bridge-shared, which is 6.2.0.2
Jakub Szczygielski,修改在10 年前。
RE: Exception when trying to navigate to another view inside JSF portlet.
New Member 帖子: 6 加入日期: 14-3-19 最近的帖子
Juan thank you for your answer I am asing weld, which is bundled with my JBoss and its version is weld-core-1.1.5.AS71.Final.jar, please let me know to what version should i upgrade it.
Juan Gonzalez,修改在10 年前。
RE: Exception when trying to navigate to another view inside JSF portlet.
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Please, read this article in Wiki:
https://www.liferay.com/es/community/wiki/-/wiki/Main/Upgrading+Weld+in+JBoss+AS
https://www.liferay.com/es/community/wiki/-/wiki/Main/Upgrading+Weld+in+JBoss+AS
Jakub Szczygielski,修改在10 年前。
RE: Exception when trying to navigate to another view inside JSF portlet.
New Member 帖子: 6 加入日期: 14-3-19 最近的帖子
Everything is working now, thank you very much for such quick and good support.
BTW, any reason why weld is not upgraded in jboss bundled with liferay ?
BTW, any reason why weld is not upgraded in jboss bundled with liferay ?
Juan Gonzalez,修改在10 年前。
RE: Exception when trying to navigate to another view inside JSF portlet.
Liferay Legend 帖子: 3089 加入日期: 08-10-28 最近的帖子
Weld is only used in Liferay Faces, not in Liferay, so there is no need to upgrade when installing/compiling Liferay in JBoss automatically.
Better not to "touch" server libraries unless is strictly needed.
Great is working!
Better not to "touch" server libraries unless is strictly needed.
Great is working!