• 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: Postponed validation possible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Postponed validation possible?


  • Subject: Re: Postponed validation possible?
  • From: Riccardo De Menna <email@hidden>
  • Date: Thu, 12 Nov 2009 09:45:29 -0800

> Oh, and the push changes thing appears to be controlled by a property. It appears that if you want to turn it on you would put
>
> er.extensions.ERXValidationShouldPushChangesToObject=true
>
> In your properties file.

It doesn't seem to work for me. Even though I turn it on, a model based exception due to non null field that has been left empty doesn't get pushed.
I'm not sure to grasp all the flow of it, but for what I see the push setting acts when an old NSValidation.ValidationException gets converted through the ERXValidation class.
Backstepping the validation the main point where this could happen but doesn't (in my particular case) looks like ERD2WPage. The code checks for "e instanceof ERXValidationException" and since it's already the case, no call to ERXValidation is made and so no "pushing" is honored.

I can obviously call it myself... but is there a more appropriate way? Anjo?

rdm _______________________________________________
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: Postponed validation possible?
      • From: Anjo Krank <email@hidden>
References: 
 >Postponed validation possible? (From: Riccardo De Menna <email@hidden>)
 >Re: Postponed validation possible? (From: Lachlan Deck <email@hidden>)
 >Re: Postponed validation possible? (From: Anjo Krank <email@hidden>)
 >Re: Postponed validation possible? (From: Lachlan Deck <email@hidden>)
 >Re: Postponed validation possible? (From: Anjo Krank <email@hidden>)
 >Re: Postponed validation possible? (From: Lachlan Deck <email@hidden>)
 >Re: Postponed validation possible? (From: Anjo Krank <email@hidden>)

  • Prev by Date: Re: RESTful EOAdaptor for key-value stores
  • Next by Date: Re: Gianduia and WO
  • Previous by thread: Re: Postponed validation possible?
  • Next by thread: Re: Postponed validation possible?
  • Index(es):
    • Date
    • Thread