• 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
Re: How to filter the WOPopupButton?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to filter the WOPopupButton?


  • Subject: Re: How to filter the WOPopupButton?
  • From: Kevin Windham <email@hidden>
  • Date: Sat, 24 Jan 2004 18:45:39 -0600

I've used Javascript for that sort of thing before. It depends on whether your values are static or dynamic, and how important it is to not allow the page to reload.

In my case, I have WO generate the .js file on the server when the values need to change. Then the page with the menus loads the .js file from the server. It's worked very well for me.

It was kind of a pain to write the code for it, since I had several linked menus, but I haven't touched it since I wrote it, and it still works fine.

HTH,
Kevin

On Jan 24, 2004, at 4:12 PM, Gordon Belray wrote:

add a new binding "onChange" to the WOPopUpButton and bind it to "this.form.submit()". This will submit the form and you will be able to populate the second popup based on the selection from A.

hope this helps,
Gordon

On Saturday, January 24, 2004, at 04:21 PM, john XUE wrote:

Is there any way to get notification that a
WOPopupButton has been changed by the user? I have two
WOPopupButtons,say A and B,I want to filter the
contents of button B based on the selection in button
A,but don't want the user have to hit a submit button
for doing this.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: How to filter the WOPopupButton? (From: Gordon Belray <email@hidden>)

  • Prev by Date: RE: Strange EOF exception
  • Next by Date: Re: WebObjects after XCode?
  • Previous by thread: Re: How to filter the WOPopupButton?
  • Next by thread: Re: How to filter the WOPopupButton?
  • Index(es):
    • Date
    • Thread