• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: associate subcomponent to parent componet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >associate subcomponent to parent componet (From: Kranthi Sagar <email@hidden>)

  • Prev by Date: Re: WebObjects 5.2.3 & XCode 1.2
  • Next by Date: Re: Single Sign-on to Multiple Apps Pattern?
  • Previous by thread: Re: associate subcomponent to parent componet
  • Next by thread: Who's logged in?
  • Index(es):
    • Date
    • Thread