This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes Open PopUp in JSF/Portlet application using commandlink Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Open PopUp in JSF/Portlet application using commandlink" Watch "Open PopUp in JSF/Portlet application using commandlink" New topic
Author

Open PopUp in JSF/Portlet application using commandlink

Rami Nassar
Greenhorn

Joined: Feb 23, 2011
Posts: 21
I am working in JSF/Portlet application and I am facing a problem when I try to open popup using command link. I try to set the "target" value to "popupWindow" and "_blank" but its not work because I try to get the path by navigation

there is a solution but its not work probably, I try to get the real file path in popup but it thrw NullPointerException when its try to get Portlet Objects.

plzzzzzzzzzzzzzzzzz help me, I need it to complete my hard task


Rami Nassar
J2EE Developer
Ideal Soft Emirates L.L.C
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17029
    
  26

Welcome to the JavaRanch, Rami!

Personally, I really hate pop-up windows. My browser is set to open them as tabs, so they don't even pop up, anyway.

However, your real problem is that portlets are designed to run as panes within a portal window. In order to access portlet resources in a new window, that new window would have to open with the full portal, not just the portlet.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Open PopUp in JSF/Portlet application using commandlink
 
It's not a secret anymore!