This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Problem facing in a portal developed using Struts Portlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Problem facing in a portal developed using Struts Portlet" Watch "Problem facing in a portal developed using Struts Portlet" New topic
Author

Problem facing in a portal developed using Struts Portlet

Mukes Gupt
Greenhorn

Joined: Feb 09, 2007
Posts: 1
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.
 
 
subject: Problem facing in a portal developed using Struts Portlet