• 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: WOPopUpButton Defaults
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOPopUpButton Defaults


  • Subject: Re: WOPopUpButton Defaults
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 17 Jul 2009 15:36:54 -0700


On Jul 17, 2009, at 3:32 PM, Joe Kramer wrote:

Hi Chuck,

Bummer. Basically the pop up button doesn't set just the value for one object, it sets the value for each object in an array. So if someone adds an object to this array

I'd add the logic at that point.


Chuck


and leaves the pop up button on the default value, the setter still needs to get called to set the value for the new object(s) in the array. I think I can hack my way through a work around for this, but I was hoping there was an easy way. :( Oh well... thanks for your help.

Joe Kramer

CyberApps, Inc.

On Fri, Jul 17, 2009 at 4:19 PM, Chuck Hill <chill@global- village.net> wrote:
Hi Joe,




On Jul 17, 2009, at 3:10 PM, Joe Kramer wrote:

Hi everyone,

I have a WOPopUpButton that displays a default value automatically and its selection binding is bound to a private variable with getters and setters. I'm wondering if there is any easy way to force a call to the setter method even if the pop up is left on the default value?

Thanks,

Joe Kramer

CyberApps, Inc.


No. :-) WO is designed to not call this unless there has been a change. How are you showing the default value? The noSelectionString corresponds to a null for the selection binding. If you want something else, set the selection value before showing the page.



Chuck


-- Chuck Hill Senior Consultant / VP Development

Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east

http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.ars



-- Chuck Hill Senior Consultant / VP Development

Learn WO at WOWODC'09 East in Montréal this August!
http://www.wocommunity.org/wowodc09/east

http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.ars

_______________________________________________
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: WOPopUpButton Defaults
      • From: Joe Kramer <email@hidden>
References: 
 >WOPopUpButton Defaults (From: Joe Kramer <email@hidden>)
 >Re: WOPopUpButton Defaults (From: Chuck Hill <email@hidden>)
 >Re: WOPopUpButton Defaults (From: Joe Kramer <email@hidden>)

  • Prev by Date: Re: WOPopUpButton Defaults
  • Next by Date: Re: WOPopUpButton Defaults
  • Previous by thread: Re: WOPopUpButton Defaults
  • Next by thread: Re: WOPopUpButton Defaults
  • Index(es):
    • Date
    • Thread