GeeCON Prague 2014*
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: 16
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: 16095
    
  21

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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Open PopUp in JSF/Portlet application using commandlink