Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem while opening a new window

 
Sayantan Majumdar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It would probably help considerably if you defined what "page flow variables" are. This is not a standard term. Do you mean scoped variables?
 
Sayantan Majumdar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,


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

To close the pop up window.
See this example
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic