• 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: random off by 1 EOF errors?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: random off by 1 EOF errors?


  • Subject: Re: random off by 1 EOF errors?
  • From: Andrew Lindesay <email@hidden>
  • Date: Sat, 12 Mar 2005 11:31:28 +1300

Hello;

1) get a list of applicants
2) display all their attributes in a repetition, allowing one to
update certain values per row, and click submit to update them

You sometimes need to be a bit careful in the "takeValuesFromRequest(...)" phase of the request-response cycle about "changing what you're looking at". For example, if you take up a value early on in the "takeValuesFromRequest (...)" phase and it changes if latter elements are rendered or not then they may unexpectedly not get their values taken up.


One approach get around this issue is to cache certain values which are susceptible to this effect in the component controller aside from the model-layer. Another is to cache the actual values taken up and hand-marshall them into the model-layer.

I hope this is of some help.

cheers.

___
Andrew Lindesay
www.lindesay.co.nz
+64-21-47-0929

_______________________________________________
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: random off by 1 EOF errors?
      • From: Joe Little <email@hidden>
  • Prev by Date: Private Branding-multiple css
  • Next by Date: Re: random off by 1 EOF errors?
  • Previous by thread: Re: random off by 1 EOF errors?
  • Next by thread: Re: random off by 1 EOF errors?
  • Index(es):
    • Date
    • Thread