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

how to open JSP page in new window in IBM RAD in portal application

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends.

I am new to portlets. I am using IBM Rational Application Developer (RAD) for development of portal application. I want to open a jSP page in a new window. The problem with me is the default is coming when ever i am trying..

Please tell me how I can I do that...
 
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
Is the session shared between the two windows? If each window starts a new OS process, then the browser cookies won't be shared, and the user will have to re-authenticate, thus, the portal will provide the default landing page to the client.

Don't do pop-up windows though. That's one of the worst things you can do on a website. It demeans you as a web developer, and it annoys your clients. Plus, most browsers will block the pop-up, triggering a flood of help-desk calls from people wondering why your crummy application doesn't work. Your help desk people will quit because they get tired of taking the same stupid calls from people that don't understand what a pop-up blocker is. Then, you get fired, your reputation is ruined, and you have to start a new career as a street beggar. It's not a good path to go down.

-Cameron McKenzie
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Cameron,
As I understand using the pop-ups in application is not good idea, but sometimes it's impossible to avoid doing it. For example in my portlet user should have possibility to review all terms definitions he selected. Correct me if it's not true, you couldn't simply file->print from the portlet.
So my question is the same as abani behera ask.
Ina
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have the same question. Cameron, I have seen you reply before that Popups are bad bad bad. However, in a intranet setting, with known users and browsers, what would be the best UI for this situation:

My users are presented with a search box in a portlet. They select from the dropdown and in the same portlet (using DIV tags) I display the results. The results could be a list of one or a list of 25. there's lots of data for each record and my search results only return about 7 of those columns. The users want to see details for a particular record but they dont' want to lose their search results. So a popup window, with the details for that record, seems like a really good idea for the User. The user can close the popup and click another record if they need to browse several records from the results list without losing that original list.

Do you have a better suggestion? In our Portal, this portlet might be one of several on the page. If the search results return 25 results, then where is the real estate for me to display the details if I don't use the popup?

And if you agree that the popup would be best for this circumstance, can you provide some guidance on how to get it working. I haven't been successful.

Thanks for you thoughtful advice!

Susan
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Popup is not a right solution in case of any portal inplementation cause maintaining state of the portlet in a popup is not possible. Best way to implement your functionality would be to use the portlet to portlet communication feature wherein you can have another portlet which would display the details of the records.
[ November 26, 2007: Message edited by: Sanjay Kannan ]
 
Ina Bumstein
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Sanjay,
Thanks for reply, may be you could provide any example?
Ina
 
Sanjay Kannan
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which portal server are you using. If its IBM WebSphere Portal then use this link to go thru the p2p communication
https://www6.software.ibm.com/developerworks/education/websphere/0509_saddal/0509_saddal.html

There is one more nice implementation
http://www.doc.ic.ac.uk/~mo197/portlets/portlet_messaging/crosscontext.php
 
Ina Bumstein
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Sanjay,
I tied to understand the methods described in the second link.. but unfortunately I couldn't understand the technique.
I am using IBM WebSphere Portal and jsr 168 jsf portlets. May be you could explain how to do the communication in simplified way?
Thanks.
Ina
 
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic