Re: How to filter the WOPopupButton?
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.