That doc is obsolete, I'm afraid.  At this time, we don't
support image-based buttons.

-- Adam


On 5/21/07, Petr Kotek <[EMAIL PROTECTED]> wrote:

Hi Adam,

I don't use ADF Faces. I have in mind dynamic generation of image-based
buttons.

In document Selectors for Skinning Trinidad Components
(http://myfaces.apache.org/trinidad/skin-selectors.html) there are:
-----------------------------------
Skinning supports two very different button implementations. By
default, standard browser buttons are used. However, the skinning also
supports dynamic generation of image-based buttons. In order to enable
image-based buttons, the following four button icon must be specified:

    * .AFButtonStartIcon:alias
    * .AFButtonEndIcon:alias
    * .AFButtonTopBackgroundIcon:alias
    * .AFButtonBottomBackgroundIcon:alias

When these four icons are specified, Trinidad combines the images
specified by these icons into a single button image. (Note: These icons
must be specified using either context-image or resource-image icons.
Text-based icons are not allowed.)
-----------------------------------
I understand Your  reply, that Trinidad don't support this feature?

Thanks,
Peter

Adam Winer wrote:
> Trinidad doesn't use server-side rendered buttons;
> this seems like a question about Oracle ADF Faces.
>
> -- Adam
>
>
> On 5/21/07, Petr Kotek <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> I have a problem with skin for server side renderd buttons.
>>
>> In CSS file  I have:
>> ----------------------------------------
>> .AFButtonStartIcon:alias {
>>   content: url(images/crcBtnStart.gif); width: 2px; height: 18px;
>> }
>>
>> .AFButtonEndIcon:alias {
>>   content: url(images/crcBtnEnd.gif); width: 2px; height: 18px;
>> }
>>
>> .AFButtonTopBackgroundIcon:alias {
>>   content: url(images/crcBtnTop.gif); width: 1px; height: 2px;
>> }
>>
>> .AFButtonBottomBackgroundIcon:alias {
>>   content: url(images/crcBtnBottom.gif); width: 1px; height: 2px;
>> }
>> ----------------------------------------
>>
>> GIF files are (in project) in dir "public_html/css/images", CSS file in
>> "public_html/css".
>> In WAR file are GIF files in "/css/images" directory.
>> Skin configuration is (I think) correct, because other settings from
CSS
>> file are functioning.
>>
>> But buttons are standard browser buttons and not graphical.
>> In doc. is note:
>> (Note: These icons must be specified using either context-image or
>> resource-image icons. Text-based icons are not allowed.)
>> but I don't know, what does it mean? Images must be declared somewhere
>> in config XMLs?
>>
>> I am using JDeveloper and internal OC4J app. server for testing.
>>
>> Thank's very much for Your help,
>> Peter
>>

Reply via email to