Even then class="button" shouldn't harm anything, so why remove it?
Either way you decide, the magic is in
WAFormInputTag>>with: aBlock
self type isNil ifFalse: [
self attributes at: 'type' ifAbsentPut: [ self type ].
self class: self type ].
super with: aBlock.
Just remove "self class: self type" and you're good to go,
Cheers!
-Boris
--
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4[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.
> -----Original Message-----
> From:
[hidden email] [mailto:seaside-
>
[hidden email]] On Behalf Of Thomas Fischer
> Sent: Thursday, April 05, 2007 8:09 AM
> To:
[hidden email]
> Subject: Re: [Seaside] WARenderCanvas>>button has allways a class
> attribute
>
>
> Hi,
>
> Boris Popov-2 wrote:
> > Any specific reason? It helps styling different inputs in browsers
> > that don't fully support 'type=' css selectors.
>
> We have overload WAButtontag>>tag with
> tag
> ^ 'button'
> so that seaside produce a <button> and not a <input type="button">
>
> salute
> Thomas
>
>
> --
> View this message in context:
http://www.nabble.com/Re%3A-> WARenderCanvas%3E%3Ebutton-has-allways-a-class-attribute-
> tf3531948.html#a9857647
> Sent from the Squeak - Seaside mailing list archive at Nabble.com.
>
> _______________________________________________
> Seaside mailing list
>
[hidden email]
>
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside_______________________________________________
Seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside