[Modelj-user] Perform_Save_Existing
Status: Beta
Brought to you by:
tom_tessier
|
From: Eric D. <ed...@me...> - 2003-05-27 04:09:35
|
Hi guys,
First I'd like to say I like your product's design and appreciate its simplicity, and use of good design
patterns.
My problem is this, I noticed in your code in your struts action classes, I have generated performSave
methods. If this entity 'A' is involved in a relationship with 'B', the generated code will always create a
new 'B' row in the database, regardless if one exists or not.
Now I took a look at your guys BaseAction class and saw the contant for "PERFORM_SAVE_EXISTING". This is
actually exactly what I want, but for some reason either,
1) I have missed some flag in the sample.xml, or
2) your code does not generate this method.
How do I get this method to be generated? If it does not support this functionality I suppose I have to write
it myself =).
Thanks so much,
Eric Dunn
|