incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Koci <Martin.K...@aura.cz>
Subject Re: Emphasize important fields with skin
Date Thu, 07 Sep 2006 14:14:25 GMT
Great, it works!

Thank you very much,

Martin

Simon Lessard píše v Čt 07. 09. 2006 v 09:13 -0400:
> Hmmm try the following then, it might work:
> 
> <tr:inputText ... styleClass="styleImportant" />
> 
> And in the skin:
> 
> .styleImportant af|inputText::content {
>   color: #325fa4;
>   font-weight: bold;
> }
> 
> On 9/7/06, Martin Koci <Martin.Koci@aura.cz> wrote:
> >
> > Hello Simon,
> >
> > unfortunately that solution will not work with IE.
> >
> > In my case I have
> > <tr:inputText ...   styleClass="styleImportant" />
> >
> > where 'styleImportant" is placed in skin file as:
> > .styleImportant {
> >         color: #325fa4;
> >         font-weight: bold;
> > }
> >
> > With Firefox it works because html input inherits (in sence of CSS) font
> > size and color. But IE doesn't support CSS inherit for this.
> >
> > Maybe I'm looking for a way how to place 'importantStyle' to html input
> > element rendered with tr:inputText renderer - now it is rendered as
> > style class on enclosing span.
> >
> >
> > Thanks
> >
> > Martin
> >
> >
> >
> >
> >
> >
> >
> >
> > Simon Lessard píše v Po 04. 09. 2006 v 13:09 -0400:
> > > Hello Martin,
> > >
> > > You can use a styleClass and place it in the skin's CSS, then it would
> > > switch with it.
> > >
> > >
> > > Regards,
> > >
> > > ~ Simon
> > >
> > >
> > > On 9/3/06, Martin Koci <Martin.Koci@aura.cz> wrote:
> > > >
> > > > Hello,
> > > >
> > > > I'm looking for solution how to emphasize some fields on form with
> > > > consistent way with skins.
> > > >
> > > > My case is simple - users want see some important fields in different
> > > > font size or with different font color. This is simply doable with
> > > > inlineStyle or style, but value remains same even user selects other
> > > > skin.
> > > >
> > > > Many thanks,
> > > >
> > > > Martin
> > > >
> > > >
> > > >
> > > >
> >
> >


Mime
View raw message