incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeanne Waldman <jeanne.wald...@oracle.com>
Subject Re: Tr:icon
Date Thu, 11 Jan 2007 21:56:47 GMT
Hi Stefan,

It's colon alias (:alias), not period alias (.alias).
That's why it is working for me and Matthias, and not for you.

- Jeanne


Matthias Wessendorf wrote:

> Hi Stefan,
>
> I tried this
>
> <tr:icon name="fup" />
>
> and in my custom skin.css file:
>
> .AFFupIcon:alias {
>  content: url(/images/calendar_icon.gif);
>  width:11px;
>  height: 15px;
> }
>
> works for me.
>
>
>
> On 1/11/07, Meyer, Stefan <S.Meyer@s2neueinformatik.de> wrote:
>
>> Unfortunately it did not work for me - no output is generated. Is 
>> there a naming convention that maps the value of the name attribute 
>> in tr:icon to the selector name in the css like this 
>> ".AF${capitalized(name)}Icon.alias" ?
>>
>> Once I get it to work I will add it to the wiki.
>>
>>
>>
>>
>>
>> -----Urspr√ľngliche Nachricht-----
>> Von: mwessendorf@gmail.com [mailto:mwessendorf@gmail.com] Im Auftrag 
>> von Matthias Wessendorf
>> Gesendet: Donnerstag, 11. Januar 2007 10:05
>> An: adffaces-user@incubator.apache.org
>> Betreff: Re: Tr:icon
>>
>> Stefan-
>>
>> can you put these infos to the skinning wiki of Trinidad?
>> Would be cool if users can learn from users ;)
>>
>> thx!
>> -M
>>
>> On 1/10/07, Jeanne Waldman <jeanne.waldman@oracle.com> wrote:
>> > Hello,
>> >
>> > If you want a skinnable icon where tr:icon name="arrow", for example,
>> > then you would create this definition in your skin file:
>> >
>> > .AFArrowIcon:alias {
>> >   content:url(/skins/purple/images/next.png); width:11px; height:
>> > 15px; }
>> >
>> > - Jeanne
>> >
>> > Meyer, Stefan wrote:
>> >
>> > >I want ro display skin specific images. Can I add new icons and
>> > >display them with tr:icon? How?
>> > >
>> > >
>> > >
>> >
>> >
>>
>>
>> -- 
>> Matthias Wessendorf
>> http://tinyurl.com/fmywh
>>
>> further stuff:
>> blog: http://jroller.com/page/mwessendorf
>> mail: mwessendorf-at-gmail-dot-com
>>
>
>


Mime
View raw message