[Seaside] WADateInput drops the id on the floor (fix included)

Boris Popov boris at deepcovelabs.com
Fri Jul 7 20:37:50 UTC 2006


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

boris at deepcovelabs.com

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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3370 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20060707/81976310/smime.bin


More information about the Seaside mailing list