File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes Liferay Portlet with JSF Portlet bride-Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Liferay Portlet with JSF Portlet bride-Problem" Watch "Liferay Portlet with JSF Portlet bride-Problem" New topic
Author

Liferay Portlet with JSF Portlet bride-Problem

Dipanjan Das
Greenhorn

Joined: Sep 15, 2007
Posts: 3
Dear All,




I have developed a Portal application using JSF and take the help of JSF-Portlet Bridge to work JSF inside Portlet environment. I have two Portlets named as A and B .Portlet A having two pages named as Page1 and page2 .Page1 is the welcome page for Portlet A. Portlet B has only one page named as Page1.When I logging into Portlet application these two Portlets are displayed in browser. As Page1 is the default page of Portlet A so it is getting displayed inside the Portlet A .And Page1 of Portlet B is displayed inside the Portlet B. Now when I navigate from Page1 to Page2 of A the whole page is getting refreshed and able to navigate Page2 of A and Page1 of B is refreshed (only Render phase has been invoked). In Page2 of A there is a hyperlink .By clicking this link interportlet communication (IPC) takes place and data has been transfer from Page2 of A to Page1 of B. After this IPC Page2 of A is displayed inside of A. After this when I click submit button of Page1(B) this page is getting submitted and at time of rending the browser ,Page1 of Portlet A is getting displayed instead of Page2 of A.I observer that this abnormal cases occur very frequently .In normal case Page2 of A is displayed . And Portlet B behaves as expected. Here is the problem I faced since after the IPC Page2 of A and Page1 of B are displayed .And whenever Page1 of B is submitted it is getting submitted but in the Render Phase portal container should restore the viewID of page 2 of A, as this is the viewID of Portlet A before submitting the Page1 of B. Since nothing has been submitted from A, so there is only Render Phase occurred inside the A .But container creates new viewID for Page1 of A.

Could you please help .

Server –LifeRay (5.1),GlassFish V2


JSF-Portlet bridge –JSR286


Thanks in advance.


Dipanjan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Liferay Portlet with JSF Portlet bride-Problem