Re: Saving Mutiple Objects In WORepitition - SOLVED
Re: Saving Mutiple Objects In WORepitition - SOLVED
- Subject: Re: Saving Mutiple Objects In WORepitition - SOLVED
- From: "Jonathan Fleming" <email@hidden>
- Date: Thu, 13 Jan 2005 02:43:56 +0000
I forgot to post this solution back to the list, it might be worth it to
someone...
James' sugestion worked just fine... on my inputs I did have a literal
string on the name binding, but when I took this off, my save of mutiple
enterprise objects worked perfectly. And if you do need/want to use the name
binding in such a fashion as I was inadvertently trying to, all you need to
do is create a dynamic binding making sure each index has a unique id for
the name binding.
Jonathan :^)
From: James Cicenia <email@hidden>
To: "Jonathan Fleming" <email@hidden>
CC: email@hidden
Subject: Re: Saving Mutiple Objects In WORepitition
Date: Mon, 10 Jan 2005 13:32:19 -0600
Sometimes weird results happen if you use html labels for your inputs and
they are all the same name.
It bit me before.
- James
On Jan 10, 2005, at 1:15 PM, Jonathan Fleming wrote:
Hi Guys,
Happy New Year to you all...
I've got a pretty simple problem that I'm sure will be solved very
quickly.
I have a list of EOEnterpriseObjects in a WORepetition from a custom
class created by EOModel, however, I want to save all the items in the
list at once which are all in the default editing context but when I
click save all the items in the list are populated with the contents of
the record at index 0 and this is what is saved loosing all the
individual details of each item.
How do I get round this?
Regards
Jonathan :^)
_______________________________________________
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
_______________________________________________
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