Oops didn't mean to send yet
On Fri, Dec 5, 2008 at 8:27 AM, Andrew Robinson
<[EMAIL PROTECTED]> wrote:
> Just a quick comment, if skinning is to be made more general, I would
> love to see some more attention on the skinning properties. I find
> them quite confusing and inflexible. Confusing because they look like
> CSS selectors, but are not and inflexible as they have none of the CSS
> functionality (like cascading).
>
> For example:
af|panelGroupLayout af|breadCrumbs {
-tr-show-last-item:false;
}
This looks like it should work, but it will not as there is no
inheritance with skin properties. Only:
af|breadCrumbs {
-tr-show-last-item:false;
}
Will work. I think that either skin properties should be moved into a
separate non-css file or a different approach altogether should be
taken. For example, how could one not show the last item in
breadcrumbs only under a certain component? All other frameworks use
component attributes for this, but Trinidad puts it in these
non-intuitive skinning keys.
Just something I think should be thought through before any common
approach is implemented.
-Andrew