This week's book giveaway is in the Server-Side JavaScript and NodeJS forum.
We're giving away four copies of Modern JavaScript for the Impatient and have Cay Horstmann on-line!
See this thread for details.
Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

how to pass parameters as hidden, when doing popup window

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I'm trying to display the pop up window with the some table data. I tried but not able to get the things. ?How to make a popup by passing a hidden parameter and validate that parameter with some other bean and populate the validated data into the pop up window.. for this is there any scrap example to do this..i need help in this. Please as early as possible look into this issue.

Best Regards
 
Ranch Hand
Posts: 114
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
First, is that hidden parameter a user entered value or something that's already in your backing bean?
It's easier if it is already there; you can try to access your popup backing bean from teh current page bean and initialize the required table or properties even before your page is displayed. The popup can be a simple javascript window.open on onclick event.
If the popup table depends on what the user enters in the parent window, then you may have to first submit the parent page so the value will be posted to the parent backing bean and then follow the above procedure.
You can access one backing bean from another; for more information, check out the Myfaces Wiki page

Hope this helps.
 
There were millions of the little blood suckers. But thanks to this tiny ad, I wasn't bitten once.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic