• 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
valueForBindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

valueForBindings


  • Subject: valueForBindings
  • From: Michael Warner <email@hidden>
  • Date: Fri, 20 Apr 2007 16:40:54 -0700

I would like advise on the best way (or just any way if you prefer) to set up the following functionality.

I have a page wrapper or template that contains a stateless , non- synchronizing component called ErrorMessage.
ErrorMessage has one instance String variable called 'message'.


I have a page called 'NewClient' that is a partial component contained in the page wrapper.
It too has a string var called 'message'. When a user leaves a required field empty in NewClient, I set the message string in NewClient to something
like "this field is required". Ideally, upon returning context ().page(), I would like the ErrorMessage component to display
the message field (i.e. "this field is required") from the NewClient page.


Is it possible to wire this up using valueForBinding, or am I missing something? If yes, how is this done, exactly?

Please ask for clarification if I have left anything out.

Thanks,

Mike


_______________________________________________ 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: valueForBindings
      • From: Kieran Kelleher <email@hidden>
  • Prev by Date: Re: Snapshot problems
  • Next by Date: Re: valueForBindings
  • Previous by thread: Re: Help: a boolean attribute always saves as null
  • Next by thread: Re: valueForBindings
  • Index(es):
    • Date
    • Thread