Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

Problem while opening a new window

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..


 
Sheriff
Posts: 67671
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 164
Android Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
Garden Master Course kickstarter
https://coderanch.com/t/754577/Garden-Master-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic