myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: [sandbox] new component idea: rounded corners
Date Fri, 15 Jun 2007 04:28:47 GMT
I'd like to keep this as sandbox and not involve the Trinidad code if
possible. Any chance at getting this code over into the shared? Also,
I need to know in the Java code, not in the CSS script (for the PNG
work-around and not having to use IE behaviors)

On 6/14/07, Leonardo Uribe <lu4242@gmail.com> wrote:
> Yes, the Trinidad Agent code detects IE and do other things.
> I'm not an expert, but actually I'm working in
> use trinidad css capabilities to non trinidad components.
>
> There are some points to consider first:
>
> 1. If you want to do a component for trinidad, you can take full advantage
> of trinidad capabilities,
> but you have to write this component with the rules of trinidad (for create
> components that inherit form
> UIXComponentBase and renderers that extends from XhtmlRenderer or
> CoreRenderer, use FacesBean
> to get attributes from components, and other stuff). The problem is when you
> want to mix this component
> with basic html components (Ex: <h:outputText/>). Instead, you have to use
> the trinidad counterpart components (<tr:outputText/>).
>
> You can put your custom css code in a custom skin file like this:
>
> @agent ie
> {
>   /* Here put css code for ie */
>   af|panelBox::header
>   {
>     text-overflow: ellipsis;
>   }
>
>   /*......*/
> }
>
> 2. If you want to do a component for tomahawk sandbox, then I found a
> workaroud to add trinidad
> capabilities and use it with non trinidad components. It's a work in
> progress, but I think you can use
>  this with minimal efford. I'm not probe its agent capabilities, but I
> believe that this should work (I want
> to probe this too).
>
> Leonardo Uribe
>
>
>

Mime
View raw message