File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes Problem while opening a new window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Problem while opening a new window" Watch "Problem while opening a new window" New topic
Author

Problem while opening a new window

Sayantan Majumdar
Greenhorn

Joined: Sep 28, 2008
Posts: 16
Hi,

I want to open a new winow in onClick even of a button. I am using an window.open call. But the problem is, I want to access some pageFlow controller variable fromthe new window JSP. But I am unable to do that. Could you please suggest some way out?

The code I am using is
Parent JSP:
<netui:anchor onClick="window.open(<some URL>, 'wnd', sfeatrue)">
"Click Here"
</netui:anchor>

From the new window I want to access some page flow variables.... Could you please suggest a way out?
Thanks in advance..


Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56192
    
  13

It would probably help considerably if you defined what "page flow variables" are. This is not a standard term. Do you mean scoped variables?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Sayantan Majumdar
Greenhorn

Joined: Sep 28, 2008
Posts: 16
Actually I am using that in a portlet. And the pageFlow variables are variables defined in the page flow controller (JPF) of the portlet. Normally these variables are being used as {pageFlow.<variable name>} in the JSP pages.
Vinoth Thirunavukarasu
Ranch Hand

Joined: Dec 18, 2008
Posts: 164

Hi,


Are you asking abt pop up window.
use it.
new window

To close the pop up window.
See this example

Java Best Practices
Linux Best Practices
Amortization Calculator

 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Problem while opening a new window
 
Similar Threads
Hyperlink not calling the method
not able to redirect to html file from a jsp
how to get popup windows
submit form of child window and show the new screen in parent window.
Opening a JSP from javascript