Re: Problem with a form SOLVED(sort of)
Re: Problem with a form SOLVED(sort of)
- Subject: Re: Problem with a form SOLVED(sort of)
- From: Paul Lynch <email@hidden>
- Date: Fri, 29 Jun 2007 19:14:38 +0100
You could always leave it in with a note that it is a case study for
the inquisitive into the pros and cons of reengineering? Sort of a
modern version of QED.
Paul
On 29 Jun 2007, at 19:07, Janine Sisk wrote:
On Jun 29, 2007, at 10:53 AM, Chuck Hill wrote:
Ah ha! So it is a bug in the tutorial. Oh Janine.... :-)
Congratulations, that's the first non-typo problem report. Well,
actually it probably is a typo, but in a bad place. ;) I guess
it's time to get a a new version released.
So my question is; is there a simple solution to this problem,
and if
not, why bother with the MIME type field at all?
I don't think any solution is particularly simple. Anything that
you do at this level is going to be hack. Janine and I have been
discussing various ways of handling this nicely, but that is for a
latter step in the turtorial. I guess we need to discuss the "not
simple and too much work" case again.
Well, I could just drop the mime type field altogether; it's not
actually used for anything right now as far as I recall. I left it
in because I was hoping we'd come up with a way of detecting the
mime type during the validation process, so I could give a better
error message if the user tries to upload something that's not an
image, and by the time we decided that was too much trouble it was
also too much trouble to go through and take mime type out.
So it can go either way - I can remove the field, or we can figure
out how to make proper use of it.
Yes! Bravo Janine!
Thanks! Of course Chuck gets a big chunk of the credit too, he
helped a lot with making sure I wasn't teaching anyone bad habits.
_______________________________________________
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