[Seaside] unexpected xhtml output with WARenderCanvas
Joseph Blatter
josephblatter62 at yahoo.com
Fri Oct 20 18:33:43 UTC 2006
Does that mean I must modify my code because of IE
lacks/poor support of CSS2? I'm using CSS2 properties,
(like input[type="text"]).
I encourage my users to not use propietary buggy
technologies like IE simply because I'm not an
employee of Microsoft and I cannot be responsible for
their bugs or anti-standards policy.
IMHO I cannot agree with the sentence "the output is
correct". If anyone sends a meesage that maps its
output to xhtml, let's say ...classId: 'aString' would
expect mapped to id='aString' and not to id='aString
somethingElse'.
Any tips?
regards
--- Boris Popov <boris at deepcovelabs.com> escribió:
> See WAFormTag>>with: where you'll find this bit,
>
> self class: self type
>
> Quoting Lukas from thread called "Default classes
> for form input tags",
>
> "The reason I added that, was because IE does not
> support conditions
> (input[type="text"] or input["button"]) in CSS
> selectors. If you have
> the type as a class you can easily do the same in a
> cross platform way
> (input.text or input.button), though it requires
> that your CSS
> designer does not use selectors like .text but
> something more specific
> like div.text if you have a conflict."
>
> In other words the output is correct, but Seaside
> adds an extra class to form tags to help out CSS
> designers out there.
>
> 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.
>
> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org
> [mailto:seaside-bounces at lists.squeakfoundation.org]
> On Behalf Of Joseph Blatter
> Sent: Wednesday, October 18, 2006 1:53 PM
> To: seaside at lists.squeakfoundation.org
> Subject: [Seaside] unexpected xhtml output with
> WARenderCanvas
>
> when trying to set a style using the #rendererClass
> =
> WARenderCanvas and a very simple subclass of
> WAComponent which implements:
>
> WAExampleComponent>>renderContentOn: aRenderer
>
> aRenderer textInput
> class: 'nothing';
> text: 'hello'.
>
> after setting the entry point, and toggle with the
> halos, the code generated is:
>
> <input class="nothing text" value="hello"
> type="text"
> />
>
> whereas the correct output would be
>
> <input class="nothing" value="hello" type="text" />
>
> i'm missing something? i'm using Seaside
> 2.7a1-pmm.93
>
> regards
>
>
>
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y
> antispam ¡gratis!
> Regístrate ya - http://correo.espanol.yahoo.com/
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
>
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
>
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
More information about the Seaside
mailing list