This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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..
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.
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
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.
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 ]
Joined: Nov 10, 2007
Hello Sanjay, Thanks for reply, may be you could provide any example? Ina
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