• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Pop ups in jsr 168 portlet

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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()
 
Ranch Hand
Posts: 206
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What Portal server are you using? I am using Oracle Portal 10.1.4 ? JSR -168. I was told it won't work but i am trying to test! If I get any I will let you know!
Good luck
Aaron Raja
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

-Cameron Mckenzie
 
Deepak Varghese
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

window.open("http://10.10.88.180:10000/LOVSearchWeb/Search.jsp?strDispCols="+escape(strDispCols)+"&strParam="+strParam+"&vPreSelect="+escape(vPreSelect)+"&sTableName=ADB_PUBLICATION_LOV","SearchPage","menubar=0,statusbar=1,resizable=0,width=650,height=500,scrollbars=1");

is there any possible way i can maintain the state of parent portal page???
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any one help me in solving the problem.......

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)

I am using websphere portal server 5.1

 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"jagdeesha indian",
Like you were told before here please check your private messages for an important administrative matter.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps you could send the information to another portlet on the page that is hidden. After the hidden portlet receives the information, you can do whatever you need to do with it, then pop up the resulting page through JavaScript from PortletB not from PortletA.


PortletA --> wire --> PortletB ---> action ---> jsp ---> JavaScript popup

 
ice is for people that are not already cool. Chill with this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic