Re: Direct Actions in Components
Re: Direct Actions in Components
- Subject: Re: Direct Actions in Components
- From: Arturo Perez <email@hidden>
- Date: Thu, 15 Apr 2004 13:59:17 -0400
I can add a normal 'action' to the .java file associated with a specific
component, no problem obviously. What I was wondering was if there was
any way to add a DirectAction to the component .java file, for DAs that
will only ever be used by that component... I don't think that there is
(and how would WO know where to look for my DA) but I thought I would
ask as it seems silly to either clutter up DirectAction.java or to
create a million DirectAction classes... But maybe that is the best way
to do it.
There is something I've done that you may work for you. I've used the
NSSelector() paradigm to call component actions of one component from
another. Clearly, these aren't bookmarkable or have the other
advantages of true DirectActions but they offer a bit more flexibility
in where one can use component actions.
-arturo
http://webobjects.meetup.com/
_______________________________________________
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.