Re: Question about UI technique for adding a new object to a list

2008-12-09 Thread David Holt
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

Re: Question about UI technique for adding a new object to a list

2008-12-08 Thread Ramsey Lee Gurley
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

Re: Question about UI technique for adding a new object to a list

2008-12-08 Thread David Nahodil
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

Re: Question about UI technique for adding a new object to a list

2008-12-08 Thread Chuck Hill
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:

Re: Question about UI technique for adding a new object to a list

2008-12-08 Thread Simon McLean
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,

Question about UI technique for adding a new object to a list

2008-12-08 Thread David Holt
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