This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Popup problem in JBoss Portal Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Popup problem in JBoss Portal" Watch "Popup problem in JBoss Portal" New topic
Author

Popup problem in JBoss Portal

J Lalit
Greenhorn

Joined: May 19, 2008
Posts: 15
Hi,

I want to generate a pop up from a JSR 168 portlet deployed in JBoss Portal.I tried it using
1 pen("<portlet:renderURL><portlet aram name="jspp" value="AddContact.jsp"></portlet aram></portlet:renderURL>","addContactWindow","status=no,toolbar=no,menubar=no,scrollbars=yes,height=300,width=300");

2.open("http://localhost:8080/portal jsp/AddContact.jsp","addContactWindow","status=no,toolbar=no,menubar=no,height=300,width=300");

But none is working.First one is showing entire POrtal in Popup & if i put whole path thenit is also showing Entire POrtal.

Its very urgent,any help will be highly appriciated.

TIA


Thanks & Regards
J Lalit.
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4967

The best way to avoid this problem is not to use pop-ups.

Pop-ups are a serious problem in the portal. But they are also highly frowned upon. Most browsers block pop-ups, so your support desk will now be inundated with people asking why their portal page doesn't work. And pop-ups annoy users greatly.

Pop-ups are typically a lazy solution to a simple problem. Think about the problem, and you'll come up with a simply solution that avoids using a pop-up.

-Cameron McKenzie


Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Popup problem in JBoss Portal
 
Similar Threads
Return ONLY the contnet of a portlet
Link to Pop up window in Form
OPENING A MAXIMISED WINDOW THROUGH JAVA SCRIPT
Window Sizing
how to add a scroll bar on alert box to display extremely long message