• 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: Help with Universal Form...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Universal Form...


  • Subject: Re: Help with Universal Form...
  • From: Jean-François Veillette <email@hidden>
  • Date: Tue, 23 Aug 2005 09:29:45 -0400

instead of "hasBinding" you should call "canGetValueForBinding"
But wait, it's buggy, it return the same !
so you will have to add a method that does a real check :
/** Re-implementation of <code>canGetValueForBinding</code> so that it only return 'true' if the value is not null. */
public boolean canGetNotNullValueForBinding(String b) {
if(hasBinding(b)) {
Object o = valueForBinding(b);
return o != null;
}
return false;
}



- jfv

Le 05-08-23, à 00:01, LD a écrit :

if ( hasBinding( "action" ) ) {

http://www.freeiPods.com/?r=21419063

_______________________________________________
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


References: 
 >Help with Universal Form... (From: LD <email@hidden>)

  • Prev by Date: Re: EOModeler Problems
  • Next by Date: Re: How to create a context on-the-fly
  • Previous by thread: Help with Universal Form...
  • Next by thread: D2W problems with WO 5.3
  • Index(es):
    • Date
    • Thread