Re: random off by 1 EOF errors?
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