I have a page that contains a popup button and a text field. The popup button lists club names and the text field lists the club website.
I have a variable "aClub" bound to the selection of the popup and aClub.name is the displayString. I have aClub.website bound to the text field. I made an onchange binding and use a _javascript_ to call the changeClub method. This method simply returns the same page.
What I was hoping would happen is for the popup to display the name of the just selected club, and the textfield to display the just selected clubs website. However, what happens is the name is displayed, but I have no website displayed.
If I bind a different variable selectedClub to the selection, then I can get the website to display, but my popup club.name doesn't display.
So what I have now is kind of kludgey. I am setting two variables to the same thing before loading the page again.
nextPage.aClub = selectedClub;
nextPage.selectedClub = selectedClub;
Can someone tell me what I am missing here. I think I am just not grasping the Popup.
Thanks,
Kevin