wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes  Alternative of Pop up and 168 portlet ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark " Alternative of Pop up and 168 portlet ?" Watch " Alternative of Pop up and 168 portlet ?" New topic
Author

Alternative of Pop up and 168 portlet ?

Aaron Raja
Ranch Hand

Joined: Jun 07, 2007
Posts: 206
I am developing Portlet which need to have popup calender ( We are moving our web app from non-portal to portal based on JSR-168. one of the requirement we got is look and feel need to have same so end user won't feel any change from old and new application.)
Old application got Pop up Calender? What is the work around for me to have something close by or any AJAX stuff or example you guys can suggest me.
Thanks
Aaron Raja
[ October 28, 2007: Message edited by: Aaron Raja ]

Thanks, AR
SCWCD 5, SCJP 1.4, OCA (PL/SQL)
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968

I'd throw a <DIV> tag in the new portlet, and do an AJAX call to the JSP or Servlet that generates the calendar. That way the calendar will pop up quickly on the same screen probably right under the point where a user clicks on 'show calendar' or something.

I'm envisioning this as an application like Expedia where you pick your to and from dates, thus the need for the calendar?

Everyone hates pop-ups. I do concede there are times where they might be needed, but they do cause problems.

With JSR168, just remember that the JSP or Servlet has to be in the portlet application (aka war file) for it to be invokable by the portlet.

Good luck!

-Cameron McKenzie
Pras Tiwari
Ranch Hand

Joined: Nov 07, 2005
Posts: 186
Hi..
You can use your old pop-up code for Displaying Calendar, its irrespective of whether your application is Portlet Based or Servlet Based.

Cheers,
---Pras---


********Deserve Before You Desire********
Aaron Raja
Ranch Hand

Joined: Jun 07, 2007
Posts: 206
Thanks Cameron and Prasant!

Cameron I did ordered your Book hope it will help me to survive the project!
Thanks
Aaron Raja
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Alternative of Pop up and 168 portlet ?
 
Similar Threads
Help to find out opensource JSR-168 Calender Portlet.
Is there any PortletContaner API ?
Portal server Bea vs IBM
Calling a JSP/Servlet from a portlet
passing value using Namespace from JSP to Portlet's processAction method?