File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes how to pass parameters as hidden, when doing popup window Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "how to pass parameters as hidden, when doing popup window" Watch "how to pass parameters as hidden, when doing popup window" New topic
Author

how to pass parameters as hidden, when doing popup window

viswanath balam
Greenhorn

Joined: Jun 25, 2007
Posts: 15
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


visu
A. Dusi
Ranch Hand

Joined: Sep 27, 2004
Posts: 114
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel
 
subject: how to pass parameters as hidden, when doing popup window
 
Similar Threads
opening popup window conditionally
style for popups in the portlet
Javascript Guru Needed
viswa
Pop-Up Window and getParameter()