Hey Dushan,

2010/11/18 Dushan Savich <[email protected]>:
> It would be nice to be able to assign  an object's style inside the template
> itself.  I mean, it's kinda boring to do  write
>
> container->setStyleClass("something");
>
> and then to compile/re-run all the time for things  as minor as this ...
>
> It would be nice to be able to write something like this in the templates:
>
> ${someWidget class="something"}
>
> What do you guys think?

Absolutely. This has already been foreseen in the WTemplate API
(attributes) but the parser does not yet parse them so they are not
yet used.

Although we should think of other attributes, starting with "class"
seems useful in itself. I would welcome thus a feature request (and/or
patch :-) )

Regards,
koen

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to