Hey Omer,

I don't think it's such a big deal developing this one.  Witty guys just
need to find all of the strtings matching this one:

\$\{[A-Za-z0-9\_]+[\t \n]+class\=\"[A-Za-z0-9\_]+\"\}?

put them in some  map<>  ,

And then, in a bindWidget()  method  to assign  style  if   there is  that
name in a map.


Cheers!
Dushan

2010/11/21 Omer Katz <[email protected]>

> I am still working on it as of this moment but I am really looking for help
> due to lack of time.
> Care to help me develop it?
> Contact me.
>
>
>  2010/11/18 Dushan Savich <[email protected]>
>
>> Hi all,
>>
>> 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?
>>
>>
>> Dushan
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>>
>
>
> ------------------------------------------------------------------------------
> 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
>
>


-- 
Kind Regards,
Dushan Savich
[email protected]
http://stosha.com/
+381 64 329 33 55
Nehruova 95/51
11070 New Belgrade
Belgrade
Serbia
------------------------------------------------------------------------------
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