• 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: Oddity with disabled Submit button
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Oddity with disabled Submit button (From: email@hidden)

  • Prev by Date: Re: Anyone Have Experience Using AWT in a WO App?
  • Next by Date: When is a newline not a newline?
  • Previous by thread: Re: Oddity with disabled Submit button
  • Next by thread: Re: WOLongResponsePage -- An Alternative
  • Index(es):
    • Date
    • Thread