[Seaside] #children problems
josephblatter62 at yahoo.com
Wed Oct 18 20:42:09 UTC 2006
I'll try your suggestion, thanks.
--- Avi Bryant <avi.bryant at gmail.com> escribió:
> On Oct 18, 2006, at 12:45 PM, Joseph Blatter wrote:
> > I'd need my controls to be components because I
> > to attach a custom css style to each control. I've
> > tested your suggestion but I've seen the renderer
> > the style from the childrens
> > (WARenderer>>buildDocRoot), making impossible to
> > my custom styles ever called.
> > So it's still possible to get the #style called
> > a control not a children of the page?
> I'd recommend against doing anything dynamic with
> CSS. In fact, I'd
> recommend against using #style at all. Instead, set
> up a static
> stylesheet somewhere that has a CSS class for each
> possibility, and
> dynamically assign the right class to your controls.
> If you really
> need to do something like compute a width, use a
> style attribute
> (html div style: 'width: 100px'; ...).
> Does that help?
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.espanol.yahoo.com/
More information about the Seaside