On Thursday 30 August 2007 08:50, Andreas Reuleaux wrote:
> The widgets do have a style-Attribute after all and this used
> to work in formlib. - However this has no effect when rendering:

Forget formlib and the other older form stuff. ;-) z3c.form does not use that 
at all.

Note that we usually solve the problem you are heaving by specifying the input 
element's id as the CSS selector:

input#form-widgets-firstName {
  width: 105px;
}

> [EMAIL PROTECTED](~/z3eggs/z3c.form-1.6.0-py2.4.egg/z3c/form/browser)$ diff
> -u text_input.pt.ORIG text_input.pt --- text_input.pt.ORIG  2007-08-30
> 01:05:52.000000000 +0200
> +++ text_input.pt       2007-08-30 13:59:30.000000000 +0200
> @@ -26,4 +26,5 @@
>                         accesskey view/accesskey;
>                         onselect view/onselect;
>                         size view/size;
> -                       maxlength view/maxlength" />
> +                       maxlength view/maxlength;
> +                       style view/style" />
> [EMAIL PROTECTED](~/z3eggs/z3c.form-1.6.0-py2.4.egg/z3c/form/browser)$
>
> Is there any particular reason why this style attribute was left out or is
> this just a bug? - The same for textarea_input.pt

Bug. It is now fixed in the trunk for all widgets.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to