Moin, my 2 cents on it.
^foo in the wod is the same as parent().valueForBinding("foo") in java
parent.foo in the wod is the same as parent.valueForKey("foo") in java
The first line requires a parent with foo bound. The second line
requires a variable or method named foo.
The carat is not a shortcut for parent. ?foo = "123" appends a value to a wohyperlink. Uli Am 27.12.2007 um 08:20 schrieb Christopher Roach:
Hi Archibal, The carat syntax you're seeing is just a shorthand for saying take the value from the parent component. As for the documentation, I agree with you that it is very hard for a WO newbie to get up and running. I too just recently got started working with WO (as my new job uses WebObjects for all of its development) and I ran into lots of trouble trying to find some introductory material that doesn't use the deprecated tools and that also tries to use some of the new tech found in 5.4. To remedy this I'm working on some introductory material myself, which I will be posting to this mailing list as soon as I've finished. So, keep an eye out and hopefully my tutorials will help you out a bit. ChristopherOn Dec 26, 2007 3:01 PM, Archibal Singleton <[EMAIL PROTECTED]> wrote:Hello, I've searched through all the WO Apple docs (spotlight on Leopard truly rocks!) to find a good explanation of the use of the caret "^" character in bindings in custom WOComponent .wod files and couldn't find any (except in a a couple of EO docs). It's mentioned in passing in the "WOComponent HTML File Format" reference but not in the "WOComponent Bundle Format" reference. In the HTML file format file they also mention prefixing key binding with a ? in the .wod file but I could not find a detailed explanation for this either.The only place I could find documentation about the use of the "^" wasin some of the WO books. Did I really missed it or such a basic piece of information is actually missing from the docs?Anyway the docs are so incredibly lacking and misleading (they even nolonger seem to include the simplest Hello World tutorial...) that if it was not for the WO community, I really don't see how a new comer could even start to grasp and further more embrace WO. Such a shame :-( So I thought I mention how grateful and thankful I'm to this great WO community for all the work they putting in making WO useable. Thank you guys. = tmk = _______________________________________________ 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/vthakr%40gmail.com This email sent to [EMAIL PROTECTED]-- Christopher Roach [EMAIL PROTECTED] _______________________________________________ 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/ulrich.koester%40assense.com This email sent to [EMAIL PROTECTED]
_______________________________________________ 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]
