aspose file tools*
The moose likes JSF and the fly likes Pass values from pop up window to parent window using jsf Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Pass values from pop up window to parent window using jsf" Watch "Pass values from pop up window to parent window using jsf" New topic
Author

Pass values from pop up window to parent window using jsf

Sainath Nair
Greenhorn

Joined: Oct 28, 2009
Posts: 3
I have a popup window which display a list of values in a tabular form. I have no problem to do the popup or display the table.

The table has two columns; one is the "product code" and the other is the " product description".

My code works fine using HTML tags.. Now I need to get it work using JSF.

When a row is dblClicked , I am supposed to pass the "code" of the highlighted row back to an input textfield in the parent window. And I am struggling with it.

Would anybody kindly help?
Mallika gowd
Greenhorn

Joined: Sep 28, 2009
Posts: 26
Santhosh,

Please post your code so that any one will try to correct or will give alternate suggestions for you.
Sainath Nair
Greenhorn

Joined: Oct 28, 2009
Posts: 3
Mallika gowd wrote:Santhosh,

Please post your code so that any one will try to correct or will give alternate suggestions for you.


Thanks for the reply.

I will post the script code here

Do I require a backing bean for this??
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16061
    
  21

I added Code tags to make the script more readable. For the sake of our eyeballs, please use Code tags when you want to show code or other formatted info such as XML!


Customer surveys are for companies who didn't pay proper attention to begin with.
Sainath Nair
Greenhorn

Joined: Oct 28, 2009
Posts: 3
Tim Holloway wrote:I added Code tags to make the script more readable. For the sake of our eyeballs, please use Code tags when you want to show code or other formatted info such as XML!


Thank you dude!! ....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Pass values from pop up window to parent window using jsf