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: Alice Oaks <email@hidden>
- Date: Sun, 16 Nov 2003 09:47:10 -0500
On 11/16/03 12:34 AM, "Arturo Pirez" <email@hidden> 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?
Hmm... Well, the details would depend on whether I was getting the data from
the database, already had it in an array, etc. But I think the answer
you're looking for is that I would call a get method on an object that
contained the data, passing in the pet's name or the id associated with it
(depending on the data available), and assign the result to the value
variable of a display object.
Am I on the right track? :)
Alice
_______________________________________________
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.