Re: Newbie: Non-direct to Java Application
Re: Newbie: Non-direct to Java Application
- Subject: Re: Newbie: Non-direct to Java Application
- From: Ricardo Strausz <email@hidden>
- Date: Fri, 14 Mar 2003 12:01:03 -0600
You need to learn how to connect things in IB; for your first problem,
you have to control-drag a connection from the new column to the
display group and then, in the info panel, select the property you want
to display there.
For the second; you most create a several tables in the following
order: first drag the relation C->>T, then T->>S, then disconnect the S
from the second T and reconnect it with the first T, then you can
delete the second T. Follow the same procedure with the realtion S->>H.
Suerte!
On jueves, marz 13, 2003, at 03:49 America/Mexico_City, Martin
Spenceley wrote:
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.
Dino
http://homepage.mac.com/strausz
_______________________________________________
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.