Re: Re: Using AjaxInPlaceEditor in WORepetition
Re: Re: Using AjaxInPlaceEditor in WORepetition
- Subject: Re: Re: Using AjaxInPlaceEditor in WORepetition
- From: email@hidden
- Date: Mon, 08 Aug 2011 11:58:58 +0200 (CEST)
Hi Chuck,
>
> here in attached three pics.
> pic0 is a little table personnel which contains relationship key Project and personneUlr as iID and tempsutil I call txImplication in my code.
>
In EOF terms we would call that a Many to Many (M2M) join table. With an extra attribute that makes things more complex, but still manageable.
> pic1 is pprec I call it project entity
>
EOPprec should have a to many relationship to EOPersonnel, ==>I agree with you but PowerAMC did another thing I an not sure what to call this. "assigned people"?
==>Yes assigned people. I created my table and relation from PowerAMC. It's this software which create the sql code I used to generate my database.
The eoPersonnelUlr relationship looks wrong. Or it is poorly named. Is this "owner" or manager?
==>manager
> pic2 is personneUlr I call it person Entity
EOPersonnelUlr should also have a to many relationship to EOPersonnel, I an not sure what to call this. "projects"?
==> yes projects
Then you create a new EOPersonnel, attach it to EOPprec and EOPersonnelUlr (addObjectToBothSidesOfRelationshipWithKey). This object is then what gets edited in your grid, not session.getTxImplication().
Before editing the new EOPersonnel in grid. I must his data. Before saving his data I must have them. So I create variables to have data I would like to save in EOPersonnel
I hope you understand me
Ray _______________________________________________
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