Re: Help with Universal Form...
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