Thanks for all your suggestions everyone, they are all very
interesting and helpful.
I went for the quick and dirty separation of object creation/
insertion and then adding it to the relationship when I save. I don't
like this because it takes me away from using the awesome
WonderEntity eo
And if you're using wonder... ERXGenericRecord's isNewObject()... :)
Ramsey
On Dec 8, 2008, at 5:07 PM, David Nahodil wrote:
Heya,
If you have an isNew() method on your EOs to check if they are new
in their editing context you could try filtering using that too.
Something like this (or th
Heya,
If you have an isNew() method on your EOs to check if they are new in
their editing context you could try filtering using that too.
Something like this (or the WOnder equivalent):
new EOKeyValueQualifier(
"isNew",
EOQualifier.QualifierOperatorNotEqual,
Boolean.TRU
On Dec 8, 2008, at 1:35 PM, David Holt wrote:
Hi all,
Is there a way for me to add an object to a to many relationship
(list of objects) without leaving the page or representing the
newObject both in the list and in the edit interface?
For example:
Meeting edit page
Attendees:
You could try not adding it to the relationship until they hit save.
Alternatively wire the edit interface up to a dictionary and build the
whole object when they hit the save button. that way you don't have to
faff around tidying up if they bail out instead.
Simon
On 8 Dec 2008, at 21:35,
Hi all,
Is there a way for me to add an object to a to many relationship
(list of objects) without leaving the page or representing the
newObject both in the list and in the edit interface?
For example:
Meeting edit page
Attendees:
John
Mary
Edward