• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Next Hurdle.....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Next Hurdle.....


  • Subject: Re: Next Hurdle.....
  • From: Paul Lynch <email@hidden>
  • Date: Mon, 3 Apr 2006 22:23:31 +0100


On 3 Apr 2006, at 22:03, Jeffrey Pearson wrote:

So I created my EO Model and saved it in my xcode project directory.

I have added the model to my project by adding existing file and selecting it. It is now in my Web Components Group. I actually had it in the root of my project folder but it wasn't showing up. Once I moved the file into my Web Components group, WOBuilder recognized and added it to my keys. It shows up as publishersDisplayGroup.

EOModel needs to be in your Resources group - for a modern Xcode, that means it belongs to the Application Server target.


If your table (not eomodel) shows in WOBuilder as publishersDisplayGroup, that means you have added it to a WO component, which means that you don't understand the description you tried to give in the previous quoted paragraph - you missed the crucial couple of steps.

So now I added a WOString to my page to display the number of rows in the database. I bound it to publishersDisplayGroup.displayedObjects.@count. It comes back as the number zero. I also tried binding it to publishersDisplayGroup.allObjects.@count. It STILL comes back as the number zero. I know for a fact there are 94 rows in that table. If I go back to EOModeller, it DOES show the rows. I know I am probably binding to the wrong thing. What do I bind it to?

When you drop a table on a component, it pops up a configuration panel. You can also bring this panel up by double clicking on the check mark in the WO Builder browser. Make sure that "fetch on load" is checked in this panel, and that your database is running.


I am working from the WebObjects for Windows Developers book still...chapter 3 with the movie database example. Is there a better book I should be using?

The best beginner WebObjects books are the WROX press one (the first half of it, anyway), and the Joshua Marker one - go see Amazon. When you get a bit more experience, you'll want the book (maybe books, by then) by Chuck Hill.


Paul

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Next Hurdle..... (From: Jeffrey Pearson <email@hidden>)
 >Re: Next Hurdle..... (From: Ken Anderson <email@hidden>)
 >Re: Next Hurdle..... (From: Jeffrey Pearson <email@hidden>)

  • Prev by Date: Re: Next Hurdle.....
  • Next by Date: Re: Next Hurdle.....
  • Previous by thread: Re: Next Hurdle.....
  • Next by thread: Re: Next Hurdle.....
  • Index(es):
    • Date
    • Thread