Theme use not working... what am I missing?

Hello All,
I am attempting to style an inputText component. I want to limit the style to just one panel, so I've decided to use a theme.
In web.xml I've added the following two context entries:
<context-param>
<param-name>oracle.adf.view.rich.tonalstyles.ENABLED</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
<param-value>false</param-value>
</context-param>
The latter configuration is just so that I can see that I'm overriding the correct skin selector.
I've created my own skin, and I am extending "fusion". I know that the skin is working, because other custom CSS classes that I've defined within the skin CSS file are being correctly applied to other labels that I'm using on the form.
I am trying to style the input textbox itself, so I've added the following information in my skin CSS:
af|inputText {
-tr-enable-themes: true;
af|inputText[theme="light"]::content
background-color:#F1F2F0;
border-color: #A6A7A6 #F1F2F0 #E3E4E2 #C2C3C1;
border-style: solid;
border-width: 1px 0 1px 1px;
display: inline;
font-family: Helvetica;
font-size: 10px;
height: 12px;
margin: 0;
I'm set the "light" theme, because it seems that I can't define my own theme name. That's fine... I've set the theme attribute on the parent panelGroupLayout component:
<af:panelGroupLayout id="pgSearchText" layout="horizontal"
halign="left" valign="top"
inlineStyle="text-align:left;"
theme="light">
<af:inputText id="itSearch" columns="10"/>
<af:commandImageLink id="cilGo" icon="/graphics/go_bn.gif"/>
</af:panelGroupLayout>
When this page renders in a browser, theme="light" is set on all elements of the input text HTML. However, the dynamically constructed CSS doesn't include my style for the "content" skin selector. It's set to the default style.
Where did I go wrong?
Thanks for your help.

I figured this out. The documentation example I was working from was incorrect. The "theme" definition within the CSS must follow the skin selector:
af|inputText::content[theme="light"] { ... }
This works. After I fixed this, then I was able to assign my own name to the theme.
Edited by: gratuitious on Jan 31, 2011 1:49 PM

Similar Messages

  • How  to set email notification on home page lock screen on iphone 4s . Settings did not work, what am I missing?

    I have  a iphone 4s. I cannot get any email notifications on the home page/ lock screen. Also to find out if i have mail i have to press on the email icon and it will update , then it will show i have mail. I talked to a verizon technician and went trough all the settings .  He suggested  to reset the settings to default , if that does not work i need to replace the phone.  Any suggestions ? Am I missing something?
    Thanks,
    Miri

    What are you rmail settings?  Sounds like manual pull versus push, is this correct?  If your email provider does not offer "push" mail like gmail or iCloud then change from manual pull to hourly or the interval you prefer; more frequent can degrade battery performance.
    Also, go to Settings > Notifications and select "Mail" and move "view in lock screen" to on to see message previews in the lock screen.

  • CP8 GeoLocation not working - what am I missing?

    Working on a windows 8 pc, cp8.
    I created a variable for US with lat/long and a large radius.
    I then put a caption for rest of project to display my var and the cpInfoGeoLocation var
    cpInfoGeoLocation is blank - that doesn't seem right!
    I created an advanced action:
    If cpInfoGeoLocation is equal to US
    Jumpt to slide 5
    else
    Jump to slide 8
    I always land on 8. 
    Any ideas on what's going wrong?
    Thanks everyone,
    Lori

    I tried it in preview mode and also published and then double clicked and tested in chrome, firefox and IE - none worked.
    Does it have to be from an lms or webserver?

  • Mouse dragging cycle region not working What am I missing?

    Hi,
    Pretty new to STP. I'm using STP 2.02. I'm following a on line tutorial whereby the person just simply mouse drags and highlights a section on the waveform a section they wish to remove by command delete. dragging my mouse does nothing but move the entire audio clip.
    I feel like a retard, seems like the easiest thing to do yet I can't figure it out..
    Any guidance would be great.
    Cheers

    i figured it out. I just had to open the aiff file rather than bring it in via FC..
    thanks!

  • Mail not working after using migration assistant - what am I missing?

    Mail not working after using migration assistant - what am I missing?

    The mailbox list is divided into categories with headings in caps, such as ON MY MAC. When you hover the cursor over one of those headings (except for MAILBOXES), you should see the word Show or Hide on the right. Click Show. The  MAILBOXES category can't be hidden.
    In each category, the mailboxes are arranged in groups, such as Inbox. To the left of each group is a small disclosure triangle. If the triangle points to the right, click it so that it points down.

  • The music buttons in the control centre are not working ,What should i do to get them working

    the soft music buttons in control centre are not working,
    what should i do to get them working

    Try trashing  apple.com.dashboard.plist from preference library and restarting Mac.
    Quit all applications.
    Open Finder- Click the left most icon on the Dock.
    Holding option key click the Go menu from the menu bar.
    Select Library and then Preference folder.
    Select   apple.com.dashboard.plist   and move it to trash.
    Restart Mac.

  • HT201365 hello sir i purchase second hand iphone4s now my iphone ask for activation with id and password i contact with previous owner and use that id and password but that also not work what i do ola help me

    hello sir i purchase second hand iphone4s now my iphone ask for activation with id and password i contact with previous owner and use that id and password but that also not work what i do ola help me i try all other method restore ' upgrade etc but none work plz say what i do if u find some solution tham msg me on [email protected]

    First, we're not Apple here (Apple does not participate in this forum).  We're only users like you.
    The previous owner has not given you the correct ID and password for you to use.
    If the iphone has iOS version 7, then read through the following...
    http://support.apple.com/kb/HT5818

  • Hello sir i purchase second hand iphone4s now my iphone ask for activation with id and password i contact with previous owner and use that id and password but that also not work what i do ola help me i try all other method restore ' upgrade

    hello sir i purchase second hand iphone4s now my iphone ask for activation with id and password i contact with previous owner and use that id and password but that also not work what i do ola help me i try all other method restore ' upgrade etc but none work plz say what i do if u find some solution tham msg me on
    iPhone 4S

    oenkz33 wrote:
    this does not help at all for the second owner, after making the first owner id with careless, sorry for my english ...
    Careless? Possible, but unlikely. Most likely the phone was stolen from the first owner. It would be a VERY careless iPhone owner who did not erase their personal information from a phone before selling it, and to do that it is necessary to disable Activation Lock. In most places in the world knowingly using stolen property is a crime, so the fact that the phone doesn't work may be the least of one's risks.

  • HT201441 this is bullshite again, i just updated the phone my partner gave me and now is locked and he doesn't remember ever using icloud and all my icloud accounts are not working, *** what's this now Apple ? good idea to secure us but seriously many wil

    this is bullshite again, i just updated the phone my partner gave me and now is locked and he doesn't remember ever using icloud and all my icloud accounts are not working, *** what's this now Apple ? good idea to secure us but seriously many will have t

    If your device is disabled...
    Connect to your computer in recovery mode per the instructions in http://support.apple.com/kb/HT1212
    You may need to do this more than once.

  • After i use 4.3.3 for iphone 4. the notification for facebook and yahoo do not work. what is wrong? anyone can help?

    after i use 4.3.3 for iphone 4. the notification for facebook and yahoo do not work. what is wrong? anyone can help?

    I am also on my forth hard drive on the same model.
    When I unpacked the computer, the hard drive did not include OS X either. Actually, it was completely blank. Did not even have a partition table! I have also had random problems with the machine not charging.
    I have replaced the drive myself with an SSD after figuring the Apple Certified technicians were incompetent. Now even the SSD is starting to fail
    I have bought an HP laptop and setup Ubuntu on it. Hope it turns out better than my previous four various Mac models. All have had various repeating hardware issues that Apple Certified technicians have been unable or unwilling to correct.

  • HT1414 my ipad shut off while using my battery is charged and i did itunes restore did not work what now

    itunes restore did not work what do i do now

    Error 13, 14, 35 and 50 (or -50)
    These errors are typically resolved by performing one or more of the steps listed below:
    Perform USB isolation troubleshooting, including trying a different USB port directly on the computer. See the advanced steps below for USB troubleshooting.
    Put a USB 2.0 hub between the device and the computer.
    Try a different USB 30-pin dock-connector cable.
    Eliminate third-party security software conflicts.
    There may be third-party software installed that modifies your default packet size in Windows by inserting one or more TcpWindowSize entries into your registry. Your default packet size being set incorrectly can cause this error. Contact the manufacturer of the software that installed the packet-size modification for assistance. Or, follow this article by Microsoft: How to reset Internet Protocol (TCP/IP) to reset the packet size back to the default for Windows.
    Connect your computer directly to your Internet source, bypassing any routers, hubs, or switches. You may need to restart your computer and modem to get online.
    Try to restore from another known-good computer and network.
    The copy above was copied from this website.
    http://support.apple.com/kb/TS3694#error14

  • The monitor of my MacBook Pro suddenly became all black, I tried to reset but it did not work, what should I do? Why does this happen?

    The monitor of my MacBook Pro suddenly became all black, I tried to reset but it did not work, what should I do? Why does this happen?

    I advise to reply to the one you want to reply to.
    You have had good information here. I will not repeat that here.
    I would like to add:
    you have incompatible software: start in SafeMode, read Woodmeister and see if it is free of issues.
    Akamai is crap software needed or not, Huawei the same.
    It is very possible that the keygenerator you used for generating a key for some softwares has infected your mac.
    The non-regular software with the false key(s) are not compatible probably or generate malware. Luckily you can not update them automatically because the keygenerator blocked the software for contacting the developer... I propose to consider getting rid of those softwares by really good uninstalling.
    You have a beautiful mac, don't degenerate it with crapped software. There are alternatives for expensive software, for example Adobe Photoshop has a free alternative (with a less beautiful interface) in GIMP. And so on.
    Lex

  • HT4623 My iMessage is not working what should I do?

    My iMessage is not working what should I do?

    Generally this is a sign that the iPhone had previously been
    hacked/modified/jailbroken and the update relocked it to the
    original wireless carrier. If this is the case, only that wireless
    carrier can unlock your iPhone. You must contact them to see
    if they offer unlocking and if you qualify.
    Where did you acquire this iPhone?
    What wireless carrier did you use before this problem?
    Does the app Cydia appear on your iPhone?
    What does it say when you look at Settings=>General=>About=>Carrier?
    Unauthorized modification of iOS
    http://support.apple.com/kb/HT3743

  • My vreative cloud downloaded and so did PS but now its saying there is an error...update failed and im retrying it but its not working what do i  do?

    my creative cloud downloaded and so did PS but now its saying there is an error...update failed and im retrying it but its not working what do i  do?

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    If you've already tried a complete uninstall and reinstall try opening iTunes in safe mode (hold down CTRL+SHIFT as you start iTunes) then going to Edit > Preferences > Storeand turning off Show iTunes in the Cloud purchases. You may find iTunes will now start normally.
    tt2

  • HT1212 my ipod touch disabled and my p.c not working what do i do

    my ipod touch disabled and my p.c not working what do i do

    Thgen the iPod needs a wifi connection to the internet and yo need another iPod, iPhone or iPad with the FindMyiPhone app. you can also yse any computer too
    Only if:
    If you previously turned on FIndMyiPod on the iPod in Settings>iCloud and wifi is on and connected go to iCloud: Find My iPhone, sign in and go to FIndMyiPhone and use Remote Wipe to erase the contents of your device. If you have been using iCloud to back up, you may be able to restore the most recent backup to reset the passcode after the device has been erased.
    You can also wipe the iOS device by installing the FindMyiPhone app on another iOS device and using that app to wipe the device.
    Via USB with any computer with iTunes and an internet connection
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: Back up and restore your iOS device with iCloud or iTunes
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.

Maybe you are looking for

  • Ad-Hoc Query reporting off of Payroll Results Infotypes

    Dear Experts, Has anyone used the Payroll Results Infotypes (IT0448 - IT0464) to create Payroll Results reports using Ad-hoc query? I would appreciate it if someone could enlighten me as to how to get the Cluster Data into these Infotypes. Cheers, Ve

  • SDO_RELATE_2

    Hi, I have created a polygonshape and a line shape with Arcmap. The polylines (5) were snapped to the polygons so they are exactly on the same place as the polygon. 4 lines are equal to a part of the polygon (snapped on the vertices), a fifth is a bi

  • Selection Options in Info Pakcage.

    Hello People,                     I am uploading data from a flat-file into the psa--> Infosource --> Infocube. the data is loading correctly. all the transfer rules, update rules and communication structure are activated. in my flat file i have a fi

  • RMAN restore database validate

    All, I cannot seem to find anything in the Oracle documentation what the RMAN restore database validate checks for? Does it check for physical and logical corruption or do I need to validate the backup using logical statement to check for this? I wou

  • Problem installing CS5 update

    I'm trying to install an update to camera raw in CS5 but keep getting message close Bridge. Bridge is not open, so what can I do? Sorry if this is a silly question - it is the sort of thing that any company other than Adobe would cover in their offic