Meaningless Drivel is fun!*
The moose likes JSF and the fly likes Passing parameter to a popup window in JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Passing parameter to a popup window in JSF" Watch "Passing parameter to a popup window in JSF" New topic
Author

Passing parameter to a popup window in JSF

Nitin Tonk
Greenhorn

Joined: Jun 24, 2008
Posts: 14

Hi,
I have a JSF page where i have a link, on clicking this link a new JSF popup window needs to be opened. What is required is that i want to pass a parameter value to this popup JSF window.
Can anyone help.
[ July 09, 2008: Message edited by: Nitin Tonk ]
Narendra Payidiparthi
Greenhorn

Joined: Sep 19, 2007
Posts: 10
You can append the request parametes after the URL right
Like
http:\\abc.com\servlet?param1=value¶m2=value

Is this your question.. I am not sure If I got you right,,
Nitin Tonk
Greenhorn

Joined: Jun 24, 2008
Posts: 14

This can be done in case i am calling a servlet.
But here i am displaying a JSF page in the popup,so could not pass parameters in query string
Narendra Payidiparthi
Greenhorn

Joined: Sep 19, 2007
Posts: 10
Can you paste the code how you doing this.
Nitin Tonk
Greenhorn

Joined: Jun 24, 2008
Posts: 14

Thanks Narendra for the help.
I got the solution.
Actually i am now passing the value as querystring and have made this property as a managed property in the backing bean.

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Passing parameter to a popup window in JSF
 
Similar Threads
passing values from jsf to popup
reload openr window after calling servlet
regarding refreshing the parent window
Passing a parameter to a popup window
Pop-up in struts