• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Trouble with Popup Button form
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble with Popup Button form


  • Subject: Trouble with Popup Button form
  • From: Kevin Windham <email@hidden>
  • Date: Tue, 17 Apr 2007 17:57:47 -0500

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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Trouble with Popup Button form
      • From: Mark Morris <email@hidden>
  • Prev by Date: Re: [Announce] WOWODC 2007
  • Next by Date: Re: [Announce] WOWODC 2007
  • Previous by thread: Re: [Announce] WOWODC 2007
  • Next by thread: Re: Trouble with Popup Button form
  • Index(es):
    • Date
    • Thread