• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WODisplayGroup - how to insert default values?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WODisplayGroup - how to insert default values?


  • Subject: Re: WODisplayGroup - how to insert default values?
  • From: Wolfram Stebel <email@hidden>
  • Date: Thu, 21 Apr 2005 14:24:27 +0200

Am 21.04.2005 11:03 Uhr schrieb "Clive Roberts" unter
<email@hidden>:

> The component calls "charitymemberDisplayGroup.insert();" to insert new
> values into the display group. and calls saveChanges() to persist
> objects.
> The component WOTextFields have settings
> "charitymemberDisplayGroup.selectedObject..."
>
> QUESTION:  how should I set the value of the "type"?
> I have tried e.g. ...  .takeStoredValueForKey("CM", "type"); on the
> display group's selectedObject(), but when I save I get an exception
> saying the value for type must not be null!
> What am I missing?

i would say, the selectedObject () can be different to the fresh inserted
object.
therefor insert () returns a reference to the new object.
lets say x = ...insert (); x.takeValue.....
could fix it.

Wolfram


 _______________________________________________
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

  • Follow-Ups:
    • Re: WODisplayGroup - how to insert default values?: SOLVEDish
      • From: "Clive Roberts" <email@hidden>
References: 
 >WODisplayGroup - how to insert default values? (From: Clive Roberts <email@hidden>)

  • Prev by Date: FOP/XSL and region-start
  • Next by Date: Re: [ANN] ExistsInRelationshipQualifier: WHERE EXISTS (SELECT 1FROM A WHERE ...)
  • Previous by thread: WODisplayGroup - how to insert default values?
  • Next by thread: Re: WODisplayGroup - how to insert default values?: SOLVEDish
  • Index(es):
    • Date
    • Thread