• 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: Binding an Action across components?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Binding an Action across components?


  • Subject: Re: Binding an Action across components?
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 16 Jun 2006 12:34:33 -0700


On Jun 16, 2006, at 12:15 PM, James Cicenia wrote:

Hello -

I have created a common navigational element to peruse a DisplayGroup.
When one in a detail record the navigational component will show
cancel   save   next   prev.

I have bound the dg to this component and so next and prev work fine.

However for save, I don't want the save method to be used here, I would
like it to notify the nesting page component's save method.



WOBuilder can't show it to you, but you can do this:

action = context.page.saveMethod;

You could also make a method like

public TopLevelPage page()
{
    return (TopLevelPage) context().page();
}

and then WOBuilder will help you bind

action = page.saveMethod;

Chuck

--
Coming sometime... - an introduction to web applications using WebObjects and Xcode http://www.global-village.net/wointro


Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects




_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Binding an Action across components?
      • From: James Cicenia <email@hidden>
References: 
 >Binding an Action across components? (From: James Cicenia <email@hidden>)

  • Prev by Date: Binding an Action across components?
  • Next by Date: Java version 1.4.2_09 issues
  • Previous by thread: Binding an Action across components?
  • Next by thread: Re: Binding an Action across components?
  • Index(es):
    • Date
    • Thread