| 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
|
|
|
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
|
 |
 |
|
|
subject: Problem while opening a new window
|
|
|