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: "Ruenagel, Frank" <email@hidden>
- Date: Mon, 7 May 2007 16:44:24 +0200
- Thread-topic: WOPopup will not give value to DB
perhaps a conditional around the popup, which
results to "false" and prevents data to be sent?
In his book chuck describes similar pitfalls and describes
howto debug such issues: page 187 ff.
HTH
frank
> -----Original Message-----
> From: webobjects-dev-bounces+webobjects=email@hidden
> [mailto:webobjects-dev-bounces+webobjects=symposion.de@lists.a
> pple.com]O
> n Behalf Of Ute Hoffmann
> Sent: Monday, May 07, 2007 3:30 PM
> To: email@hidden
> Subject: WOPopup will not give value to DB
>
>
> 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:
email@hidden
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