Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Skinning - change image of select boolean checkbox

937204Aug 8 2012 — edited Aug 12 2012
Hi guys. Can anyone help me ?- I am try to skin my ADF app, and one of the steps that I plan is to change image of select boolean checkbox using skin. Is this possible ? I am use JDev 11.1.1.6 (and can't upgrade it up to 11.1.2.x due our runtimes is 11.1.1.6) and Skin editor 11.1.2 with project in 11.1.1.5 format

My trinidad-skins.xml file s:
<?xml version="1.0" encoding="windows-1251"?>
<skins xmlns="http://myfaces.apache.org/trinidad/skin">
  <skin>
    <id>AMPSkin.desktop</id>
    <family>AMPSkin</family>
    <extends>fusionFx-v1.1.desktop</extends>
    <render-kit-id>org.apache.myfaces.trinidad.desktop</render-kit-id>
    <style-sheet-name>skins/AMPSkin/AMPSkin.css</style-sheet-name>
    <bundle-name>resources.skinBundle</bundle-name>
  </skin>
</skins>
I am try to add inside the AMPSking.css file next strings (images are copied into project) :
af|selectBooleanCheckbox.powerButtonCheckbox af|selectBooleanCheckbox::unselected-icon
{
  content: url("images/af_selectBooleanCheckbox/icoPowerOffGrey16d.png"); 
}
af|selectBooleanCheckbox.powerButtonCheckbox af|selectBooleanCheckbox::selected-icon
{
  content: url("images/af_selectBooleanCheckbox/icoPowerOn16r.png"); 
}
- but nothing happens - checkbox image does not change. I am have not marked issues at .css file status window, and in properties window of selectors nothing are marked as incorrect. Image files are also presented at file system - both are .png files 16x16 pixels, with size around 3K each.

Thanks for any help ...

Edited by: obereziuk on 08.08.2012 9:52
This post has been answered by Arunkumar Ramamoorthy-Oracle on Aug 9 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2012
Added on Aug 8 2012
4 comments
1,082 views