Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: So what is a good approach to learning WebObjects?



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.

References: 
 >Re: So what is a good approach to learning WebObjects? (From: Arturo PĂ©rez <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.