Re: [Q] .api format?
Re: [Q] .api format?
- Subject: Re: [Q] .api format?
- From: Alan Ward <email@hidden>
- Date: Thu, 3 Jul 2003 09:35:45 -0700
I think Denis misread your question... while it is true that the
bindings live in the
wod file (as Denis stated), it is also correct (as Andrew said) that
the validation
rules live in the api file. Having said that... I'm not sure how you
express
an either/or validation rule. What I have done in the past is to make
them both
optional and then throw in the component itself if neither is bound. I
know that's
not as nice but it served my purpose (and maybe will also serve yours).
Alan
On Thursday, July 3, 2003, at 08:53 AM, email@hidden
wrote:
Andrew,
On Wednesday, July 2, 2003, at 09:31 pm, Andrew Lindesay wrote:
Hello;
Can anybody point me at the format for the ".api" files -- I want to
make a validation rule that either one binding or the other needs to
be bound on one of my components.
The bindings are kept in the ".wod" files, not the ".api".
The format lools like a property list but Property List Editor is not
able to open it. It should be quite easy to parse it though, provided
that it was created by WebObjects Builder:
<Control name>: <Class name> {
___TAB___<binding> = <value>;
...
}
...
Cheers,
-- Denis.
cheers.
___
Andrew Lindesay
http://www.lindesay.co.nz/
+64 21 47 0929
_______________________________________________
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.
_______________________________________________
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.