D2W Newbie
D2W Newbie
- Subject: D2W Newbie
- From: Jevon Hills <email@hidden>
- Date: Wed, 1 Oct 2003 18:17:31 -0600
I've just started delving into D2W and I'm getting the hang of the
basic ok. The problem I'm having i believe is with my EOModel. Before
I go further if there is anything below that is unclear, or I have not
explained well please let me know and I'll attempt to clarify.
I had posted some question regarding this model a couple weeks ago and
received some great help. As result we have changed our database in
this area to ease up on WO.
I have an issue that I'm struggling with.
first my Model:
========================= ========================
-BusinessAssociate - -Venue -
========================= ========================
-businessAssociateID PK -<--------------- -businessAssociateID PK-
-company - -venueTypeID -
-Address - ========================
-CityID -
-etc. -
=========================
We will never create a businessAssociate (BA from here on). My dba is
considering it an abstract table. We will only create Venues which
have a toOne relationship to BA. As we go forward we will at other
tables like operator, employee, vendor,... these will all have toOne
relationship to BA and they will all us businessAssociateID as their PK.
The issue I'm having is how do I create a new Venue in D2W. I'm not
sure how to cusomize the edit page to start with. I thing i'm on the
right track with the following:
If I select new Venue it Brings up the venue Edit page with to items on
it. Both are editToOneFault objects (Hope I'm using the right
terminology). Basicly I have to edit buttons to click. If I click on
'ba' it brings up the editRelationship window where I can create a new
BA. Inside ba I have an editToOneFault for city. When I click this I
can select my city and then return. I can save my ba and return to
Edit Venue, but when I try to save Venue it tells me that my city cant
be null.
I'm assuming that I haven't got my model right, but I don't know what I
should have. at this point I have some flexibility to change fields
and relationships in the database, but not carte blanche.
I look forward to any suggestions.
Jevon K. Hills
Developer - Zymeta Media Promotion Systems
_______________________________________________
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.