Re: associate subcomponent to parent componet
Re: associate subcomponent to parent componet
- Subject: Re: associate subcomponent to parent componet
- From: Art Isbell <email@hidden>
- Date: Tue, 15 Jun 2004 11:43:49 -1000
On Jun 15, 2004, at 5:27 AM, Kranthi Sagar wrote:
Is there any way by which I can associate a subcomponent to a method
in the parent component. I mean I have a submit button in my
subcomponent. Now can I associate the action in the parent component
to this button.
See WOComponent's performParentAction(). This can be invoked from an
action method in your subcomponent that is bound to the submit button.
The parent action name (a String) can be bound to a subcomponent key
that is declared in its API so that this subcomponent can be imbedded
in any component that defines an appropriate parent action, regardless
of the action's name.
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.