Unable to skin icon on af:panelSplitter

I wish to change the default icon on some af:panelSplitter components, but not all. I have created a skin that does many wonderful things, but this one thing eludes me. I'm running JDev 11.1.1.4 but have confirmed the problem in 11.1.1.6 and 11.1.2.0.0.
1. I can style the icon for all panelSplitters with styling like
af|panelSplitter::horizontal-collapse-icon
  content: url("images/af_panelSplitter/questionmark.png");
2. I can style individual panelSplitters by setting StyleClass to helpSplitterStyle and defining this class in my skin:
.helpSplitterStyle af|panelSplitter
  background-color: rgb(204,255,185);
3. I can style pseudo-classes in specific panelSplitters (like for instance the color of the divider ::horizontal-divider) with
.helpSplitterStyle.af|panelSplitter af|panelSplitter::horizontal-divider
  background-color: rgb(136,170,123);
1) proves that my icon can be found and the reference is correct. 2) proves that the style class is applied to my panelSplitter. 3) proves that I am using correct syntax for styling pseudo-elements within a specific style class. This leads me to belive that correct styling of the icon is
.helpSplitterStyle.af|panelSplitter af|panelSplitter::horizontal-collapse-icon
  content: url("images/af_panelSplitter/questionmark_orange.png");  
This, however, does not work. When I inspect the page in Firebug, my custom image is not referenced. I cannot find anything in the documentation to the effect that what I want is not possible.
I'd be very grateful to hear from anybody who has successfully styled individual panelSplitter icons using style classes, or can advise me how to proceed. Next best thing is if anybody can confirm this is a known bug, as I suspect…
Best regards
Sten Vesterli
Oracle ACE Director, Fusion Middleware
Blog: www.vesterli.com   Mail: [email protected]   Twitter: @stenvesterli
My latest book: Oracle ADF Enterprise Application Development - Made Simple

Thank you for the suggestion. We're into workarounds here, because we are styling the background instead of the icon. This means even if we can make this work, I cannot get a separate collapse and restore icon. Since both the collapse and restore icon is skinnable, it should be skinnable through a style class as well.
It's interesting that setting the background works for you, because it doesn't for me. The first styling correctly adds a background image to the panelSplitter with the style class, but the second line simply removes the icon. With the icon gone, the whole icon-container does not render (in Firefox), so I get an invisible splitter that I can only see when I place the mouse on it (because the horizontal-highlighter vertical bar does render). Because the "click-to-collapse" feature only works on the icon, I cannot collapse the panel because the styling has removed the icon altogether. I can only grab the horizontal-hightlighter and move the divider.
I was looking for a solution where panelSplitters without a style class display as default (with the triangle) and panelSplitters with my helpSplitterStyle class display my custom icon.
Cheers
Sten Vesterli

Similar Messages

  • How to specify different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position?

    Hello,
    I am trying to provide different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position. I have 2 af:panelSplitter with orientation="horizontal" - One with positionedFromEnd="true" one with positionedFromEnd="false". I want to specify the horizontal collapse and restore icon using Skinning. I want specify different icons based on positionedFromEnd. When I specify icons they are appearing for both splitters. I gave 2 different styleClass to these splitter but it is not taking them in account,
    JSPX Page -
    <af:panelSplitter orientation="horizontal" splitterPosition="196" positionedFromEnd="false" id="pnlSplitterLeft" collapsed="false" styleClass="panelSplitterLeftClass">
      <f:facet name="first">
      <!-- Content of First Facets -->
      </f:facet>
      <f:facet name="second">
      <af:panelSplitter orientation="horizontal" splitterPosition="196" positionedFromEnd="true" id="pnlSplitterRight" collapsed="false" styleClass="panelSplitterRighClass">
      <f:facet name="first">
      <!-- Content of First Facets -->
      </f:facet>
      <f:facet name="second">
      <!-- Content of First Facets -->
      </f:facet>
      </af:panelSplitter>
      </f:facet>
    </af:panelSplitter>
    CSS Skinn
    af|panelSplitter::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Open.gif");
    af|panelSplitter::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Close.gif");
    af|panelSplitter.panelSplitterLeftClass::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Open.gif");
    af|panelSplitter.panelSplitterLeftClass::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Left_Close.gif");
    af|panelSplitter.panelSplitterRighClass::horizontal-restore-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Right_Open.gif");
    af|panelSplitter.panelSplitterRighClass::horizontal-collapse-icon {
        width: 10px;
        height: 55px ;
        content : url("/skins/AppSkin/Right_Close.gif");
    It is always showing Left_Open.gif and Left_Close.gif for both splitters. But I want different image.
    How to specify different horizontal restore & collapse icon for af|panelSplitter using Skinning based on Style class or position?
    - Sujay

    CSS attribute selectors are what you are talking about, but binding the selector with EL is a more-common approach. Using selectors like this require you to ensure browser support.
    af|panelSplitter.panelSplitterRighClass::horizontal-collapse-icon [positionedFromEnd=true]

  • I am unable to see icons.

    I am unable to see icons(.png) in a website developed in GWT 2.4 Framework, when viewing it in ipad(6.1.3) in safari. I am unable to see any icons whatsoever when I have hosted my application in Jboss 7. But on hosting it on Jetty server, I could see them all. I have tried clearing the cache, cookies etc, and also reoving website data. But I can view the website well when it is hosted in Jetty but not the same while hosting it in Jboss. Can you please help me out?

    Hi, after trying for a bit I found the solution. The key is to use ClientBundle for image resource instead of specifying the images directly in your code. It is cleaner. Works perfectly in Jboss now! Still, I feel this should'nt have arised in the first place. When the same code works in chrome, why should safari be any different? Food for thought.

  • Why am I unable to move icons around on desktop? How do I release these?

    Why am I unable to move icons around on desktop? How do I release these?

    In Finder "View > Show View Options > Arrange By " there you will find choices as to how your desktop arranges itself or not.

  • Unable to make icons

    after transferring all of my user data from my old g5 using a firewire between the two imacs. I am unable to make icons for some of the items to place them in the dock. Mainly the ones from MS office, excel, word, powerpoint and entourage. I have checked my permissions and I have read and write permissions for all of them.
    Thanks for the help.
    Dan

    This took care of itself

  • Info.plist: Unable to verify icon demenstions, no icon found.

    Here's a weird problem:
    If I build the app for ad-hoc distribution, it runs fine on the iphone 4. I see the icons, everything is good.
    Now I do a app-store-distirbution, and this error comes up :
    Iphone/ Ipod Touch: info.plist: Unable to verify icon dimenstions, no icon found. You must define CFBundleIcons, CFBundleIconFiles, CFBundleIcondFile or provide a default Icon.png that is 57x57
    Ipad: info.plist: Unable to verify icon dimensions, no icon found. You must define CFBundleIcons, CFBundleIconFiles, CFBundleIcondFile or provide a default Icon.png that is 72x72
    If I open up the IPA file with Winzip, I can see all the icons in the correct directory.
    I have tried this on a new empty FlashBuilder project where I changed nothing except the Application ID and the ICON files.
    I have the app set to high-resolution, so there should be no need for a 57x57 icon.
    I'm using the Windows version of FlashBuilder 4.5
    What is up Adobe?

    Which program are you using to develop in? If it's Flash Pro then you go into the iOS settings     and under Icons you choose the icons to use for each size that it lists. The one used for the iPhone icon is 57x57 in size. The one used by a Retina display is 114x114.

  • MBP Mail "Unable to Connect" Icon keeps showing

    My mail on MBP 2011: The "Unable to Connect" icon shows up every time I open mail InBox and I have to shut down and reopen to get the mail to come in. What port should Icloud have? It constantly shows up for icloud, and then only appears by "Blackfoot" my current service, after I quit and open again. Very frustrating. Have reset all settings, reloaded. Help, thanks.

    You posted in the iPad forum instead of the MBP forum. To get answers to your question, next time post in the proper forum. See https://discussions.apple.com/index.jspa  I'll request that Apple relocate your post.
     Cheers, Tom

  • I have download but i am unable to insert icon of acrobat to use so pls tell me how can i do this

    I have download but i am unable to insert icon of acrobat to use so pls tell me how can i do this

    Please explain "unable to insert icon of Acrobat"? What are you trying to do?

  • Unable to open account sometimes and unable to open icons

    today  i turned on my laptop entered my user account password and connected to my internet .within 2 minuites of opening my internet my computer froze .so i turned it off by pressing the off button . after 2 min i turned the computer back on again . but this time when i scrolled over my account name i was unable to enter my password , the box would not open to do so . so again i closed the computer down , restarted it and was able to open my account . but this time im unable to click open any icons such as FINDER , SAFARI , SYSTEMS PREFERANCE, OR any icons on the top tool bar .
    there is just a coloured circle  when i scroll on top icons on placed middle of screen .
    how can i restore my laptop to normal
    i have good power supply and battery and this is the first time in 4 years since i had it
    the info i found about my mac pro is as follows
    MAC OS X
    VERSION 10.6.8
    HOPE THIS HELPS
    THANK YOU

    Hi jimmy202011!
    Judging from the issues you are having, you may want to try to reinstall the operating system on your computer. We have an article that explains how to do that without losing your files, and it can be found right here:
    Mac OS X 10.6: Reinstalling Mac OS X
    http://support.apple.com/kb/PH6606
    This article does claim that this process will not affect the personal files on your computer, but as with any process that will modify the operating system on your computer, you will want to back up the files on your computer as a safety precaution before you perform this process. Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Unable to move icons to 2nd monitor

    Hello Guys and Gals. 
    I hope you are all doing alright for this monday morning.
    I have this funny problem that showed up on the wrong day of the week. user have windows XP pro with two monitor setup. He got some icons that he wants to move from 1st monitor to 2nd one but, unable to do that. 
    Have any of you received such a problem? 
    thanks in advance good friends. 

    Right click on desktop, view, Uncheck Align Icons to Grid. And Uncheck Auto arrange Icons. 
    Check if this works. 
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • Unable to move icons in dock & elements in applications

    Hi all
    From this morning i've this problem on my MBP (Unibody, end of 2008 with OS X 10.8.4):
    I was unable to move objects in Adobe Ilustrator, when i select something i start to move it but when i release the button ( i've tried both with the trackpad and the mouse) the object remains attatched to the icon (as if i haven't released the button of the mouse) and i can't move it. It sblocks only when i click "esc" or go to mission control and then return to the app, in this moment it sblocks from the arrow of the mouse and returns to his original position.
    Thinking about a problem of the app i've deleted it and tried to reinstall it but doing this thing i've seen that i've the same problem not only in illustrator but in the other apps too and in the desk (with the icons) too.
    I think that is not an hardware problem 'cause all the button functions with the other thing and 'cause i've tried both the trackpad and the mouse.
    The only new thing that my mac have different than yesterday are two apps: Mini Display connect and Air Connect, i don't know if this have caused the problem..

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It won’t solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    Third-party system modifications are a common cause of usability problems. By a “system modification,” I mean software that affects the operation of other software — potentially for the worse. The following procedure will help identify which such modifications you've installed. Don’t be alarmed by the complexity of these instructions — they’re easy to carry out and won’t change anything on your Mac. 
    These steps are to be taken while booted in “normal” mode, not in safe mode. If you’re now running in safe mode, reboot as usual before continuing. 
    Below are instructions to enter some UNIX shell commands. The commands are harmless, but they must be entered exactly as given in order to work. If you have doubts about the safety of the procedure suggested here, search this site for other discussions in which it’s been followed without any report of ill effects. 
    Some of the commands will line-wrap or scroll in your browser, but each one is really just a single line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, and you can then copy it. The headings “Step 1” and so on are not part of the commands. 
    Note: If you have more than one user account, Step 2 must be taken as an administrator. Ordinarily that would be the user created automatically when you booted the system for the first time. The other steps should be taken as the user who has the problem, if different. Most personal Macs have only one user, and in that case this paragraph doesn’t apply. 
    Launch the Terminal application in any of the following ways: 
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) 
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. 
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. 
    When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign (“$”) or a percent sign (“%”). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign. 
    Step 1 
    Triple-click the line of text below to select it:
    kextstat -kl | awk '!/com\.apple/{printf "%s %s\n", $6, $7}' | open -f -a TextEdit 
    Copy the selected text to the Clipboard by pressing the key combination command-C. Then click anywhere in the Terminal window and paste (command-V). A TextEdit window will open. Post the contents of that window (not the Terminal window), if any — the text, please, not a screenshot. You can then close the TextEdit window. The title of the window doesn't matter, and you don't need to post that. No typing is involved in this step.
    Step 2 
    Repeat with this line:
    { sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix)|org\.(amav|apac|cups|isc|ntp|postf|x)/{print $3}'; sudo defaults read com.apple.loginwindow LoginHook 2> /dev/null; } | open -f -a TextEdit 
    This time you'll be prompted for your login password, which you do have to type. Nothing will be displayed when you type it. Type it carefully and then press return. You may get a one-time warning to be careful. Heed that warning, but don't post it. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator. 
    Note: If you don’t have a login password, you’ll need to set one before taking this step. If that’s not possible, skip to the next step. 
    Step 3
    launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)/{print $3}' | open -f -a TextEdit 
    Step 4
    ls -1A /e*/{la,mach}* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts .la* 2> /dev/null | open -f -a TextEdit  
    Important: If you formerly synchronized with a MobileMe account, your me.com email address may appear in the output of the above command. If so, anonymize it before posting. 
    Step 5
    osascript -e 'tell application "System Events" to get name of every login item' | open -f -a TextEdit 
    Remember, steps 1-5 are all copy-and-paste — no typing, except your password. Also remember to post the output. 
    You can then quit Terminal.

  • Unable to change icon

    I know the procedure for changing folder, application, and alias icons on my desktop. I do it all the time.
    However -- I have one particular folder alias on my desktop which just will not take a new icon. I'm using the Get Info window and trying to copy the icon from one desktop item and paste it to this alias.
    The item is NOT locked and I have read/write permissions. Other desktop items which have the same parameters in the Get Info window take new icons with no problem.
    How can I troubleshoot this???

    I would just toss that alias, make a new one, and try putting the custom icon on the new one.
    Francine
    Francine
    Schwieder

  • Unable to display Icon

    Hi there
    I recently changed my Time Machine icon (along with some others) but have now decided to change it back to the original default icon. I used the same method of copying the generic TM icon from the CoreTypes bundle Resources folder and pasting the ICNS file into the TM Discs Get Info page but all I get is a white ICNS icon not the one I pasted.
    Any idea's why this is happening. All the other icons I changed have worked ok but not this one.
    Cheers
    Jonty

    On the information display box, click the icon (top left corner) and press cmd-x. That should restore it to the default icon assuming you haven't modified it at a deeper level.

  • Still unable to find icons even using getResource()

    String ICON = "/Icon/";          // is the directory which contains button icons
    String imgLocation = ICON+ imageName+ ".jpg";
    URL imageURL = MainFrame.class.getResource(imgLocation);has already been used.
    When building the JAR file, I use
    jar cvfm PhotoFusion.jar manifest.mf ./
    so the entire directory has been included into the jar file.
    Anybody can give me a hand?

    You probably needURL imageURL = MainFrame.class.getClassLoader().getResource(imgLocation);

  • Installed application but now unable to remove icon

    hi,
    i've tried installing a new game application.. and then deleting it using the installer. now the application is uninstalled but the icon still appears on the home page. i've tried the hold down and wait till wriggle but there is no "x" at the top left corner..
    how do I delete this icon which now has no purpose ?

    I'm sorry we cannot help you as there is no way of knowing whether what you're describing is due to the unlocking and hacking process, or not, and we are not able to advise on this as per the TOU on the forum. Please seek help at other forums where folk know more about unlocked iPhones.
    Good luck.

Maybe you are looking for

  • Optical Drive on the iSight G5 Model

    Please-does anyone know of any site(s) that show how to change the optical drive of the iSight Mac? I'm specifically interested in seeing a picture with connections to the drive. I'm putting together an iSight computer and there is a wire that I thin

  • Idoc WPUWBW: Status 51 - IDoc not fully processed

    Hi All! Hi All! This is regarding Goods Moment. In Quality, Idoc is successfully generated at POSDM system and also in ECC system. In Production, Idoc is successfully generated at POSDM, but in ECC it is failed (Idoc WPUWBW: Status 51-IDoc not fully

  • What is the CVI function use to get the Read-Only attribute of currently loaded sequence file in TS?

    I am working with CVI 8.0 and TS 3.5.  The VCI code is called from the process model (I want to get the attribute of the currently loaded users sequence file)

  • Text conversion for Queries

    Hello, I'd like to know how to convert text descriptions into another language of query which has been created in EN logon. Scenario: 1. Log on with EN language 2. Create a query and this query has some calculate keyfigures and new variables. 3. When

  • Date population for USR_END_DATE

    Hi Can some one paste the code for populating User's End Date, once a user is deleted. TiA