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

Re: ^ binding syntax usage


  • Subject: Re: ^ binding syntax usage
  • From: "Cheong Hee (Gmail)" <email@hidden>
  • Date: Fri, 22 Jul 2011 17:50:10 +0800

Hi Lachlan

Deos this serve the purpose?

http://developer.apple.com/legacy/mac/library/#documentation/InternetWeb/Reference/WO_BundleReference/Articles/WOComponentHTML.html#//apple_ref/doc/uid/TP40005353-SW1

Cheers

Cheong Hee

----- Original Message ----- From: "Lachlan Deck" <email@hidden>
To: "webobjects-dev Development" <email@hidden>
Sent: Friday, July 22, 2011 3:26 AM
Subject: ^ binding syntax usage



Hi there,

anyone remember when the '^' was introduced for component bindings and where the official docs are for it?

I'm obviously a little rusty on its usage as I can't make it work.

e.g.,
MainWrapper.wo:
<...>
<head>
<wo:string value="$^title"/>
</head>

Main.wo:
<wo:MainWrapper title="Foo bar">
<...>
</wo:MainWrapper>

UnknownKeyException: [<com.webobjects.appserver.WOComponent name: MainWrapper subcomponents: null > takeValueForKey()]: attempt to assign value to unknown key: 'title'. This WOComponent does not have an instance variable of the name title or _title, nor a method of the name setTitle or _setTitle

public class MainWrapper.java extends ERXStatelessComponent {...}
public class Main.java extends ERXNonSynchronizingComponent {...}

What am I missing?

with regards,
-

Lachlan Deck

_______________________________________________
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

_______________________________________________ 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 syntax usage
      • From: Lachlan Deck <email@hidden>
    • Re: ^ binding syntax usage
      • From: Amy Worrall <email@hidden>
References: 
 >^ binding syntax usage (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Problem identifying DirectAction [Solved]
  • Next by Date: Re: ^ binding syntax usage
  • Previous by thread: Re: ^ binding syntax usage
  • Next by thread: Re: ^ binding syntax usage
  • Index(es):
    • Date
    • Thread