Re: action binding with conditionals
Re: action binding with conditionals
- Subject: Re: action binding with conditionals
- From: Art Isbell <email@hidden>
- Date: Tue, 8 Apr 2003 09:26:14 -1000
On Tuesday, April 8, 2003, at 06:14 AM, Richard L. Peskin wrote:
I think my confusion is that a
WOComponent (e.g. Submit button) is an object and the action is bound
to that object. The "event" (pressing the button) is handled by the
user's browser (doing the usual form data submission, etc.). It looks
like this button press sends a message to the Submit button object,
which in turn will deal with bound actions depending on conditionals.
Does this sound correct?
For me, it's easier to consider what happens during WO's component
template parsing. If the evaluation of a conditional results in the
button that was clicked not being parsed in the template, then the
action associated with the button won't be invoked. While one might be
able to make sense out of this behavior by thinking of it in
object-oriented terms, I'm not confident that this view would always
lead to the correct interpretation. It's unfortunate that WO's rather
low-level operations should be understood well, but considering what
NeXT's WO designers were able to accomplish using the rather archaic
Web architecture, it's rather amazing that things work as well as they
do.
Aloha,
Art
_______________________________________________
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.