Problem facing in a portal developed using Struts Portlet
posted 8 years ago
The Problem I am facing in my portal is as follows:-
In my portal, I have deployed two war files say WAR A and WAR B. All the portlets in WAR Aare created using Portlet Framework, Where as the only Portlet present in another war file is created using PortletStruts framework. Lets name this portlet as X. X have only view and help modes to render.
On the main page i.e when do view method is called initially for all portlest, X portlet displays only four links. Each link on clicking calls a different action class, written in Struts.
Now I have defined one tab on the top of the portal say Y in themes as:- <wps:URLGeneration contenet=�PAGE XXX� keepnaviagtionstate=false>My Main Page</wps:URLGeneration>.
On clicking My Main Page tab, Page XXX displayed. Page XXX is made of all the portlets present in the both war files. This takes me to the main page once again.
Now the problem is, While I am clicking �My Main Page� any where while rendering the portelet of war A, It is taking me back to the Main Page in normal view. Where as on clicking �My Main Page� from any page of Portlet X of WAR B, It is taking me to the main page but the Portlet X is not coming back to the Initial State. Means same content is displayed for the portlet X, which is there on it before clicking �My Main Page� tab.