• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Liferay Portlet with JSF Portlet bride-Problem

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 will suppress my every urge. But not this shameless plug:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic