myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Petoi <marius.pe...@codebeat.ro>
Subject [Trinidad][Skinning][API] Include property in CSS API
Date Fri, 02 Apr 2010 07:28:03 GMT
Hello,

Maybe you followed the discussions on this topic from
http://markmail.org/search/?q=skinning#query:skinning%20order%3Adate-backward+page:1+mid:4nt2ykmdnnmcyvp4+state:results

We need to decide between two alternatives for the syntax of the
"-tr-include-property". The two alternatives are:

1. -tr-include-property: property(selector="af|foo",propertyName="color",
localPropertyName="background-color")

2. background-color : -tr-property-ref("af|foo", "color")

The advantage of the first API is that it is quite similar to the
"-tr-include-style", while for the second one that the local property name
can't be mistaken with the included property.

What do you think? Which is the best alternative?

Regards,
Marius

Mime
View raw message