Ah thanks Mike. Just did not know the key words available for use in
the validation tag constructs ....
so is the following 6 tags all there is for the validation parts of
the API xml syntax?
and
or
not
validation [attributes: message]
unbound [attributes: name]
unsettable [attributes: name]
Kieran
On Jan 5, 2008, at 8:08 AM, Mike Schrag wrote:
<validation message = "Either A or B must be bound">
<and>
<unbound name = "a"/>
<unbound name = "b"/>
</and>
</validation>
api validations are always confusing -- the key is realizing that
the validation message display when the logic inside is true, which
means it's actually the logical NOT of whatever the message is that
you display. For instance, in this case you want (a || b) which
translates into a validation rule of !(a || b) = !a && !b.
ms
On Jan 4, 2008, at 6:00 PM, Kieran Kelleher wrote:
Anyone got a better reference for the XML in the API file?
This one is barely useful
http://developer.apple.com/documentation/InternetWeb/Reference/
WO_BundleReference/Articles/WOComponentBundle.html
I need the syntax for "Either A must be bound OR B must be bound"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%
40mdimension.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%
40mac.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]