Re: WOPopup will not give value to DB
Re: WOPopup will not give value to DB
- Subject: Re: WOPopup will not give value to DB
- From: Chuck Hill <email@hidden>
- Date: Mon, 7 May 2007 09:01:45 -0700
I can see two possibilities:
1. You are using a dictionary as an EO attribute. If this is a
mutable dictionary, that can cause problems for EOF.
2. You are violating an EOF Commandment and that is confusing EOF.
Have you checked to see that there is no exception from saveChanges
that your code is hiding?
Chuck
On May 7, 2007, at 6:29 AM, Ute Hoffmann wrote:
hallo,
I'm must be doing wrong something very basic - or what I try to
archive is not possible.
Bindings:
PopUpButton5: WOPopUpButton {
list = farbList; = List of Dictionarys
displayString = aNotizFarbInfo; = String:
concenation of two valueForKeys (currentFarbWert.farbe +
currentFarbWert.secoundvalue)
item = currentFarbWert; = aDictionary
selection = newItem.notizfarbe; = DB-Binding. The DB value is to
be set with currentFarbWert.farbe, a string
value = currentFarbWert.farbe;
}
Ok, the popup displays correctly. When I look at the souce Html I
see that the value-Tag is set correctly to currentFarbWert.farbe .
When I select something and push "save" the selection does not
reach the database.
Yes, the pupop is inside of a form tag
Yes, newItem is saved, as the edit-Page contains other values of
newItem and they are set correctly and I logged out that the saving
was gone through.
Any idea why I do not get the selection of the WOPopup into the
Object newItem and thus not into the database?
Thanks for a hint
Ute
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems. http://www.global-village.net/products/practical_webobjects
_______________________________________________
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