Re: So what is a good approach to learning WebObjects?
Re: So what is a good approach to learning WebObjects?
- Subject: Re: So what is a good approach to learning WebObjects?
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 17 Nov 2003 00:12:30 -0800
On Nov 15, 2003, at 9:34 PM, Arturo Pirez wrote:
Here's a contrived example. I have a bunch of pets with associated
owners.
I create a popup list to display the pets' names. When a pet's name
is selected and
I hit submit I want to display the owner's address. How would you go
about
doing that?
A similar example, but one which I used a lot in training since it
brings together a number of ideas that are essential to full
understanding of how WebObjects works (perhaps most importantly, the
way bindings are established, and that they can be made to *methods* as
well as variables):
Suppose you have an array of objects, and you want to allow the user to
make an arbitrary selection from that list using checkboxes. Given
that WOCheckbox has a single binding for the value checked, how would
you do that?
A detailed answer is given here:
<http://www.stepwise.com/Articles/Technical/WOF_Checkboxes.html>
The example code is now somewhat out of date, so I've put a WO5.22
version here:
<http://homepage.mac.com/mmalc/WOExamples/CheckBoxes5.zip>
mmalc
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.