Newbie: Non-direct to Java Application
Newbie: Non-direct to Java Application
- Subject: Newbie: Non-direct to Java Application
- From: Martin Spenceley <email@hidden>
- Date: Thu, 13 Mar 2003 09:49:37 +0000
Hi there,
I think I am encountering a software problem with the Interface Builder and EOModeller. It appears the NSTables
which are associated with EODisplayGroups do not remember the column names they were created with.
e.g. If I delete the extra table columns in the Interface Builders NSTableViewItem (which is associated with an
EODisplayGroup), then I recreate some columns in NSTableViewItem, it appears I am unable to re-associated them by using the NSTableColumn Info->EOTableColumnAssociation window. No matter what I try, I cannot get the 'values' to show the underlying db table data which I can attach the NSTableColumn to. All other original NSTableColumns still can see their values data except the columns I recreated.
Is there any way to override the Interface Builder and define the missing NSTableColumn associations in my own InterfaceController class. If so, how? Any examples anywhere?
This problem leads me to a more complicated issue:
I have a multi-related schema of the form:
Country -> Town -> Street -> House
e.g. Country is related to town ( in a one to many relationship) etc....
In my interface, I want to select a Country which will show a list of towns, then I want to select the town giving me a list
of streets and then select a street giving me a house.
Using the EOModeller the database schema has been setup to relate each table. If I now drag the House in the
relationships associated to Country onto my window (in the interface builder), I would expect four tables to be created automatically for me, each representiing the tables above. Instead I get two tables (one for the House and Street ).
Okay, that did not work. So I thought I could manually create the extra tables.
Back to EOModeller and I create the relationship from Town (in Country table). In the interface builder I get two
tables. Country and Town. That's good.
Then I drag a new NSTable in the interface builder and create a new EODisplayGroup (for Street) .
I relate the Streets EODisplayGroup back to the Towns EODisplayGroup ( via a parent Streets (Towns) relationship).
I then relate the new NSTable to the Streets EODisplayGroup. Unfortunately there is no Column information I can use in the interface builder to display the appropriate information.
I know this sort of works since the Streets table displays a 'selected' empty line whenever I select a Town (which has streets information associated with it).
Is it me or is the Java implementation lacking some serious examples?
Regards,
Martin
_______________________________________________
WebObjects-dev mailing list
email@hidden
http://www.omnigroup.com/mailman/listinfo/webobjects-dev
_______________________________________________
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.