Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passing parameter to a popup window in JSF

 
Nitin Tonk
Greenhorn
Posts: 14
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you paste the code how you doing this.
 
Nitin Tonk
Greenhorn
Posts: 14
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic