Re: Oddity with disabled Submit button
Re: Oddity with disabled Submit button
- Subject: Re: Oddity with disabled Submit button
- From: Arturo PĂ©rez <email@hidden>
- Date: Thu, 9 Oct 2003 14:43:01 -0400
On Thursday, October 9, 2003, at 12:03 PM, email@hidden
wrote:
[demime could not interpret encoding binary - treating as plain text]
I'm surprised that setting disabled even succesfully greys out the
button. For a WOHyperlink, setting disabled to true simply makes the
hyperlink disappear entirely. Really, HTML does not provide any
facilities for automatically 'disabling' a button like this. [Unless
there's something in CSS I don't know about---but even if there is, I'm
confident that the built in WO elements are not using any CSS].
Well according to
http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.12
one can have disabled controls. The behavior in Safari is to render
it gray but it can still submit. A Webkit-based Omniweb ditto. IE, on
the
other hand, renders it gray and does not submit. The HTML/HTTP spec
being what
it is I can't tell if it's a bug in Webkit or not.
My initial (and current again) inclination is to just wrap the button
in a
WOConditional. But I thought, naively (I hate the Web), that setting it
disabled would be better.
Thanks for your feedback.
-------
WebObjects in Philadelphia. You want a cheesesteak with that?
Visit http://webobjects.meetup.com
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.