WADateInput drops the id on the floor (fix included)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

WADateInput drops the id on the floor (fix included)

Boris Popov, DeepCove Labs (SNN)
One more thing I noticed during my XHTML Strict quest is that WADateInput
doesn't pass its "id" to any of its sub-elements, so trying to create
combinations of labels and input elements within a fieldset results in a
label without the matching "for" input element. We could just pass the id
over to the first select list, couldn't we? I tried this here and it works
just fine. And it also validates.

WADateInput>>with: aBlock
 value isNil ifTrue: [value := Date today].
 canvas forgetCurrentBrush.
 (canvas select)
  id: self id;
  ...
  ...
  ...

Cheers!
 
-Boris

--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5

[hidden email]

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.


_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

smime.p7s (4K) Download Attachment