On 2011-07-21, at 12:26 PM, Lachlan Deck wrote:

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

A very long time ago, it was in the printed WO docs from Apple if you remember 
that far back.  :-)

I have never used it with inline bindings, maybe ^$title?

> 
> 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 protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to