This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Can i use popups in jsr 168 portlets.I am trying to open a jsp running in an application server as pop up from a portlet application.Pop up is working fine fine and i am able to set values from popup to parent portlet jsp.But wen i submit the portlet jsp i am losing track of the current state.What can be done for that?I am able to get parameters using request.getParameter()
When you do figure it out, start trying to figure out how to turn your clients pop-up blocker off.
It's 2007, almost 2008. Nobody should be designing a site that throws pop-ups at the client. And if you do, you better have VERY sophisticated users, or else your help desk will be handling call after call from clients who don't know how to turn their pop-up blocker off.
Use an AJAX call to the JSP, and wrap that up in a portlet that leverages AJAX.
Sorry to get preachy, but pop-up windows are a waste of everyone's time.
Joined: Oct 26, 2007
Thanks for the immediate response.Yeah its not ideal to use pop ups.But ours is an intranet application and limited number of users will be accessing the page.The issue is not because the pop up blocker is turned on.I am able to get the pop up with values displayed and i am setting it back in portal jsp.But wen i submit the portal jsp the state gets expired.i am not able to get values from portal jsp using request.getParamter().
I am using websphere portal server 6.0
I have installed the pop up application in websphere application server on the top of whcih i have installed the portal server.
i am calling the pop up from the porltet jsp as shown below
consider there are two porlet A and portlet B, both are in different projects
I need to pop a portlet B when i click on link in portlet A
there is IPC between portlet A and Portlet B which passed two value (one is LIST , another one is String)