You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by my...@abilsoft.com on 2008/03/07 21:39:43 UTC
Re: s:roundedDiv not fully rendered in IE6 and IE7
One other enhancement that would be great to have is the
ability to have the background filled with a gradient as
opposed to a solid color.....
---------Original Message---------
> The following are the two things that came to my mind as far
as
> enhancements:
>
> 1. The ability to link the color, backgroundColor, etc. to
CSS
> style classes or values. The way it is now, the overall
design
> of a site that uses this component and CSS is spread between
> the two - not optimal for the designer or maintenance.
This is why I want to leverage Trinidad's skins. CSS is
interpreted on
the client, but the images are generated on the server. The
image URLs
have the info in the query string though, so it would be
possible to
alter them on the client, but then JS would be required and
these
properties would have to be stored somewhere (some random CSS
style
class applied to a dummy element or stripped from the IMG
tags). A
much more elegant solution would be to use Trinidad skin
properties to
set the colors so that they are not in the view but the skin
CSS.
Re: s:roundedDiv not fully rendered in IE6 and IE7
Posted by my...@abilsoft.com.
Yes, indeed, I am talking about the foreground. Sorry, I got
confused as in my case the forgroundColor of the s:roundedDiv
is in effect, providing the backround to my other content.
Sorry for the confusion.
---------Original Message---------
Are you tlaking about the foreground color? The background
color is
the outer color of the corners, the foreground is the color of
inside
of the corners and the center.
On 3/7/08, myfaces@abilsoft.com <my...@abilsoft.com> wrote:
> I'd like to be able to specify the backgroundColor (persay),
> but have it actually be a generated gradient pattern instead
of
> a solid color. This would just provide a flexible way of
> providing some 'effect' to the area you are enclosing in the
> roundedDiv.
>
> ---------Original Message---------
>
> I am not sure why that would be of any value. If you do not
set
> a
> background color, it uses a transparent color.
>
> On 3/7/08, myfaces@abilsoft.com <my...@abilsoft.com> wrote:
> > One other enhancement that would be great to have is the
> > ability to have the background filled with a gradient as
> > opposed to a solid color.....
> >
> >
> > ---------Original Message---------
> >
> > > The following are the two things that came to my mind as
far
> > as
> > > enhancements:
> > >
> > > 1. The ability to link the color, backgroundColor, etc. to
> > CSS
> > > style classes or values. The way it is now, the overall
> > design
> > > of a site that uses this component and CSS is spread
between
> > > the two - not optimal for the designer or maintenance.
> >
> > This is why I want to leverage Trinidad's skins. CSS is
> > interpreted on
> > the client, but the images are generated on the server. The
> > image URLs
> > have the info in the query string though, so it would be
> > possible to
> > alter them on the client, but then JS would be required and
> > these
> > properties would have to be stored somewhere (some random
CSS
> > style
> > class applied to a dummy element or stripped from the IMG
> > tags). A
> > much more elegant solution would be to use Trinidad skin
> > properties to
> > set the colors so that they are not in the view but the skin
> > CSS.
> >
> >
> >
>
>
>
Re: s:roundedDiv not fully rendered in IE6 and IE7
Posted by Andrew Robinson <an...@gmail.com>.
Are you tlaking about the foreground color? The background color is
the outer color of the corners, the foreground is the color of inside
of the corners and the center.
On 3/7/08, myfaces@abilsoft.com <my...@abilsoft.com> wrote:
> I'd like to be able to specify the backgroundColor (persay),
> but have it actually be a generated gradient pattern instead of
> a solid color. This would just provide a flexible way of
> providing some 'effect' to the area you are enclosing in the
> roundedDiv.
>
> ---------Original Message---------
>
> I am not sure why that would be of any value. If you do not set
> a
> background color, it uses a transparent color.
>
> On 3/7/08, myfaces@abilsoft.com <my...@abilsoft.com> wrote:
> > One other enhancement that would be great to have is the
> > ability to have the background filled with a gradient as
> > opposed to a solid color.....
> >
> >
> > ---------Original Message---------
> >
> > > The following are the two things that came to my mind as far
> > as
> > > enhancements:
> > >
> > > 1. The ability to link the color, backgroundColor, etc. to
> > CSS
> > > style classes or values. The way it is now, the overall
> > design
> > > of a site that uses this component and CSS is spread between
> > > the two - not optimal for the designer or maintenance.
> >
> > This is why I want to leverage Trinidad's skins. CSS is
> > interpreted on
> > the client, but the images are generated on the server. The
> > image URLs
> > have the info in the query string though, so it would be
> > possible to
> > alter them on the client, but then JS would be required and
> > these
> > properties would have to be stored somewhere (some random CSS
> > style
> > class applied to a dummy element or stripped from the IMG
> > tags). A
> > much more elegant solution would be to use Trinidad skin
> > properties to
> > set the colors so that they are not in the view but the skin
> > CSS.
> >
> >
> >
>
>
>
Re: s:roundedDiv not fully rendered in IE6 and IE7
Posted by my...@abilsoft.com.
I'd like to be able to specify the backgroundColor (persay),
but have it actually be a generated gradient pattern instead of
a solid color. This would just provide a flexible way of
providing some 'effect' to the area you are enclosing in the
roundedDiv.
---------Original Message---------
I am not sure why that would be of any value. If you do not set
a
background color, it uses a transparent color.
On 3/7/08, myfaces@abilsoft.com <my...@abilsoft.com> wrote:
> One other enhancement that would be great to have is the
> ability to have the background filled with a gradient as
> opposed to a solid color.....
>
>
> ---------Original Message---------
>
> > The following are the two things that came to my mind as far
> as
> > enhancements:
> >
> > 1. The ability to link the color, backgroundColor, etc. to
> CSS
> > style classes or values. The way it is now, the overall
> design
> > of a site that uses this component and CSS is spread between
> > the two - not optimal for the designer or maintenance.
>
> This is why I want to leverage Trinidad's skins. CSS is
> interpreted on
> the client, but the images are generated on the server. The
> image URLs
> have the info in the query string though, so it would be
> possible to
> alter them on the client, but then JS would be required and
> these
> properties would have to be stored somewhere (some random CSS
> style
> class applied to a dummy element or stripped from the IMG
> tags). A
> much more elegant solution would be to use Trinidad skin
> properties to
> set the colors so that they are not in the view but the skin
> CSS.
>
>
>
Re: s:roundedDiv not fully rendered in IE6 and IE7
Posted by Andrew Robinson <an...@gmail.com>.
I am not sure why that would be of any value. If you do not set a
background color, it uses a transparent color.
On 3/7/08, myfaces@abilsoft.com <my...@abilsoft.com> wrote:
> One other enhancement that would be great to have is the
> ability to have the background filled with a gradient as
> opposed to a solid color.....
>
>
> ---------Original Message---------
>
> > The following are the two things that came to my mind as far
> as
> > enhancements:
> >
> > 1. The ability to link the color, backgroundColor, etc. to
> CSS
> > style classes or values. The way it is now, the overall
> design
> > of a site that uses this component and CSS is spread between
> > the two - not optimal for the designer or maintenance.
>
> This is why I want to leverage Trinidad's skins. CSS is
> interpreted on
> the client, but the images are generated on the server. The
> image URLs
> have the info in the query string though, so it would be
> possible to
> alter them on the client, but then JS would be required and
> these
> properties would have to be stored somewhere (some random CSS
> style
> class applied to a dummy element or stripped from the IMG
> tags). A
> much more elegant solution would be to use Trinidad skin
> properties to
> set the colors so that they are not in the view but the skin
> CSS.
>
>
>