• 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
Want to iterate over items in EditingContext for validation before save
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Want to iterate over items in EditingContext for validation before save


  • Subject: Want to iterate over items in EditingContext for validation before save
  • From: WebObjects <email@hidden>
  • Date: Tue, 02 May 2006 17:48:32 -0700
  • Thread-topic: Want to iterate over items in EditingContext for validation before save

I've found an error in my coding style - too late in this project though.  I
use EOUtilities.createAndInsertInstance in a constructor for a page, and as
a result 'refresh' and 'back' have become my enemies.

How can I iterated over the unsaved objects in an EditingContext (ec), test
their validity (ie. if ItemAt(0).getSomeValue() == null, etc) and delete
them from the ec prior to .saveChanges()  ?

Many thanks for ec insight!

-Bill


 _______________________________________________
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: Want to iterate over items in EditingContext for validation before save
      • From: Kieran Kelleher <email@hidden>
    • Re: Want to iterate over items in EditingContext for validation before save
      • From: Art Isbell <email@hidden>
  • Prev by Date: Re: To WWDC, or not to WWDC...
  • Next by Date: beginner question - on publishing web service using web object
  • Previous by thread: Re: Bug in WOContext.directActionURLForActionNamed() when using query dictionary
  • Next by thread: Re: Want to iterate over items in EditingContext for validation before save
  • Index(es):
    • Date
    • Thread