How can I change the background color of odd/even rows in a panelCollection

Hi everyone.
I'm using a panelCollection and I need to change the backgroung color for odd/even rows in the table,
how can I do this, using a stylesheet, is there a special selector or property for this?
globalResultCollection (UIPanelCollection object) , is a collection of UITable elements, and it's working fine.
I just want to change the defaul background color for rows.
Thanks
<af:panelCollection id="GLOBAL_RESULT_COLLECTION"
binding="#{admin.view.globalResultCollection}"
styleClass="globalResultCollectionRegion"
clientComponent="true">
<f:facet name="menus">
<af:menu id="GLOBAL_OPERATION_MENU"
binding="#{admin.view.globalOperationMenu}" />
</f:facet>
<f:facet name="toolbar">
<af:toolbar inlineStyle="width:100%"
binding="#{admin.view.globalOperationToolbar}"
id="OPERATION_TOOLBAR"/>
</f:facet>
</af:panelCollection>

Hi,
use this:
af|table::data-row af|column::data-cell { background-color: #CCCCFF; }
af|table::data-row af|column::banded-data-cell { background-color: #FFCCCC; }
Regards,
s o v i e t

Similar Messages

  • How can I change the background color in the inbox?

    The background color in my inbox (well, all mailboxes) is white. A yellow background would make the existing black text a lot easier to read. How can I change the background color in the inbox?

    Themes work in Thunderbird - duggabe was not refering to Firefox.
    Another useful addon is theme and font changer:
    * https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
    However, Thunderbird allows you to modify all sorts of things.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    Help > Troubleshooting Information
    Click on 'show Folder' button
    a window opens shwoing profile folder name
    Close Thunderbird now - this is important
    In the profile name folder, Create a new folder called '''chrome''' - note the spelling
    It should be in the same place as the 'Mail' folder.
    see first image below.
    Open Notepad
    Can be located : Start > Programs > accessories
    Copy everything shown between the lines below.
    Paste into Notepad.
    Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
    This should be saved in the '''chrome''' folder.
    see second image below.
    Restart Thunderbird.
    I have chosen a yellow for you
    <pre>
    #f6f58c = a yellow....it is a hex code for a colour.
    </pre>
    You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
    More info on colours.
    * http://www.yourhtmlsource.com/stylesheets/namedcolours.html
    <pre>
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*Background colour for message list*/
    #threadTree > treechildren::-moz-tree-row {
    background-color: #f6f58c !important;
    </pre>
    -------------------------------------------

  • How can i change the background colors on my iphone. The new white is hard on my eyes. I dont care for the grey boxes either.

    how can i change the background colors on the new update? I find the white a bit much. Also is there anyway I can change the grey boxes they seem out of place.

    That makes me sad. thannk you

  • How can i change the background color in the heading when i add a new page

    How can I change the background in the heading on a new page? When you add WELCOME page the heading color is tan, the ABOUT ME page the heading is light blue, the PHOTOS page the heading block behind the heading text is light green, etc. How do I change those colors?

    you can change iweb navbar any which way you want, as long as you know iweb widgets:
    http://iwebwidgets.cyclosaurus.com/iWebNavBar/BkgndColor.html
    you won't see the change in iweb, you only see it in published site.

  • How can I change the background color of my podcast's iTunes page?

    My RSS feed just got accepted but now I need to customize the title, author, background color, and logo of my site. Does anyone know how to do this? Thank you!

    You can't change the background colour - it's white for audio and black for video. The other data can be changed by changing the appropriate tag in the feed, or if you're using a program or online service to make your podcast,. wherever they provide for entering this information.
    The title is carried in the 'title' tag; the author in the 'itunes:author' tag, and the 'podcast image' which appears on the Store page in the 'itunes: image' tag. Republish the feed after making the amendments: it will take a couple of days for the new data to appear, though the image may take several days.
    The image which appears in some podcasts in the bottom left-hand corner of iTunes when subscribing is not referenced in the feed but has to be actually embedded into the media file: please see this page:
    http://www.wilmut.webspace.virginmedia.com/notes/coverart.html
    You may find this general page on making a podcast helpful:
    http://rfwilmut.net/pc

  • How can I change the background color of a chart?

    How can I change the default black background color of a chart to white?
    Thanks
    John

    Hello All,
    Another (and my preferred method) of bringing up the tools palette is to press
    <shift>+<Rt-Click>.
    Just another way to do something in LabVIEW!
    Travis M
    LabVIEW R&D
    National Instruments

  • How can i change the background color in the mobile windows adobe reader app? i want to change it from black to white but don't know how.

    really want to change the background color of my documents in the mobile app. ive tried to search the answer online, in blogs and other various 'life hacks' blogs or articles, but so far everyone is talking about the desktop version. i really want to figure this out. is there even an option for the mobile version for windows? the only editing icons when a document is open are: export, home, make public, search in document, highlight/strikethrough/underline/comment and continuous/single view. if there isnt an option to edit background color, can i suggest that the makers of the windows mobile version make one, and make it fast please! any help would be appreciated. -CHANGE BACKGROUND COLOR

    hi, thanks for helping me ...
    i have used the above url and made changes to my OAF page, but i didn't get the desired output and its also giving as the above code output .
    i kept OraBgGrayVeryDark in Css style in property inspector for every region including PageLayout and i also did some changes in cabo/styles/*.css classes.
    eventhough it is picking the color upto footer level only and it is not applying for advanced table also.
    can anyone please give your views in this..

  • How can I change the background color of a menu ring?

    Hi
    Does anybody know how to change the background color of a menu ring??? (not the backround color of the first item, the background color of the list (remains always gray))
    thanks martin

    Try Preferences>>Colors>>Menu Background, but this will change ALL menu's background color.
    Hope this helps

  • How can I change the background color in text box using RGB format

    Can some one tell me if Mac Pages (version 5.0) allows users to customize the background color of a text box using RGB color format?  It appears that the text color can be changed using RGB but background color is limited to a few standard colors.   Thanks

    They are just sample swatches, use the Color Picker to choose anything you want.
    Peter

  • How can i change the background color in the itunes store window from black?

    I can't use the iTunes store because the font and the background are both black. The change took place during a recent upgrade.

    Themes work in Thunderbird - duggabe was not refering to Firefox.
    Another useful addon is theme and font changer:
    * https://addons.mozilla.org/fr/thunderbird/addon/theme-font-size-changer/
    However, Thunderbird allows you to modify all sorts of things.
    Make hidden files and folders visible:
    * http://kb.mozillazine.org/Show_hidden_files_and_folders
    Help > Troubleshooting Information
    Click on 'show Folder' button
    a window opens shwoing profile folder name
    Close Thunderbird now - this is important
    In the profile name folder, Create a new folder called '''chrome''' - note the spelling
    It should be in the same place as the 'Mail' folder.
    see first image below.
    Open Notepad
    Can be located : Start > Programs > accessories
    Copy everything shown between the lines below.
    Paste into Notepad.
    Save as '''userChrome.css''' - note the spelling (edit updated - this was a typo error)
    This should be saved in the '''chrome''' folder.
    see second image below.
    Restart Thunderbird.
    I have chosen a yellow for you
    <pre>
    #f6f58c = a yellow....it is a hex code for a colour.
    </pre>
    You can change it if required. Remember when updating anything in the profile folders, you must close Thunderbird first.
    More info on colours.
    * http://www.yourhtmlsource.com/stylesheets/namedcolours.html
    <pre>
    * Do not remove the @namespace line -- it's required for correct functioning
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    /*Background colour for message list*/
    #threadTree > treechildren::-moz-tree-row {
    background-color: #f6f58c !important;
    </pre>
    -------------------------------------------

  • How can I change the background color?

    It may seem like a small thing but I am very disappointed with my new Motorola
    Droid Turbo. I use it at night quite often and so far I can't find a way to get rid of this glaring white background. Contacts, messages, etc all are blinding to look at in a dark room. The RAZR that I just upgraded could easily be set up to have white or sometimes blue text on a black background for nearly everything. This is a very big deal for me and a source of endless frustration as I look for a night mode setting or anything else that can keep me from staring at a blinding white screen in a dark room even with the brightness turned as low as possible. How can I go back to all that black that I loved on my older phone?

    Well there are Launcher apps you can Download that might help you'll have to check them individually,  you can make adjustments in your Back Ground lighting instead of using Automatic un-check that and use manual Drop the level to 5 to 10 percent that should help some,  I have my Droid Maxx set like this..

  • How can I change the background color of a contact sheet?

    I'm making my contact sheet just fine but it's on a white background, and I'd like to change it to a darker gray. This functionality existed in an earlier version of Bridge but I'm not seeing it now that contact sheet is now in Photoshop. Any ideas? Thanks!

    This functionality existed in an earlier version of Bridge but I'm not seeing it now that contact sheet is now in Photoshop.
    Say what?
    Anyway in Photoshop’s Contact Sheet II just don’t check "Flatten All Layers" and you can then add the intended background to the resulting files.

  • How can i change the background color of a visible JDesktopPane

    I tried this things but nothing happened ->
    getDesktopPane().setBackground(color);
    list = Tool.findComponent(getDesktopPane(), JPanel.class);
    for (int i = 0; i < list.size(); i++)
    list.get(i).setBackground(color);
    getMainFrame().getContentPane().setBackground(color);
    peter
    "No trees were destroyed in the sending of this message. However,
    a large number of electrons were terribly inconvenienced."

    I'm not sure if this is anything close to what you are looking for, and if not, oh well. No harm done.
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.util.Random;
    import javax.swing.JButton;
    import javax.swing.JDesktopPane;
    import javax.swing.JFrame;
    import javax.swing.JInternalFrame;
    import javax.swing.JPanel;
    class InternalFrameTest extends JPanel
        private JDesktopPane desktop = new JDesktopPane();
        private JInternalFrame internalFrame = new JInternalFrame("Foobars Rule!");
        private Random random = new Random();
        public InternalFrameTest()
            setPreferredSize(new Dimension(400, 400));
            setLayout(new BorderLayout());
            add(desktop);
            internalFrame.setSize(new Dimension(200, 200));
            JButton changeColorBtn = new JButton("Change Color");
            changeColorBtn.addActionListener(new ActionListener()
                @Override
                public void actionPerformed(ActionEvent e)
                    desktop.setBackground(new Color(
                            random.nextInt(256),
                            random.nextInt(256),
                            random.nextInt(256)));
            JPanel buttonPanel = new JPanel();
            buttonPanel.add(changeColorBtn);
            internalFrame.add(buttonPanel);
            internalFrame.setVisible(true);
            desktop.add(internalFrame);
            internalFrame.setLocation(30, 30);
        private static void createAndShowUI()
            JFrame frame = new JFrame("InternalFrameTest");
            frame.getContentPane().add(new InternalFrameTest());
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.pack();
            frame.setLocationRelativeTo(null);
            frame.setVisible(true);
        public static void main(String[] args)
            java.awt.EventQueue.invokeLater(new Runnable()
                public void run()
                    createAndShowUI();
    }

  • How can I change the background color of black clips?

    "iMovie Help" says to double click (or "apple i" or file ⇒show info), then "Click the color box and choose a color for the clip". I get a "Clip Info" window, with "Name", "Media File", "Size", "Capture date", and "Duration", but it does not have a "Color box". I know this should be a simple task. Thanks to any for their time and expertise.

    Hi dosrio - what was the origin of the black clip? If it was a title 'over black' you are best to re-do it, with 'over black' unchecked.
    If it was really just an 'empty space' formed by dragging the existing clips to the right, then it must be first converted into a black clip (Control-Click it, and select 'convert empty space to clip'). Then double click it, and the resulting info box will include a colour selector. Note that this is a simple way of creating any colour clip you want. You must be in Timeline mode to create it, after which it will show up in both Timeline and Clips View.

  • How can I change the background of a running webpage on my own. Example Facebook I want to change its backround color from white to black just in my view not for all

    How can I change the background of a running webpage on my own. Example Facebook I want to change its background color from white to black just in my view, not for all. Cause I really hate some site with white background because as I read for an hour it aches my eyes but not on those with darker background color.

    You can use the NoSquint extension to set font sizes (text/page zoom) and text colors on web pages.
    *NoSquint: https://addons.mozilla.org/firefox/addon/nosquint/

Maybe you are looking for

  • On cRIO-9033, property node: Owning VI Reference is Invalid

    I am starring for the first time to work with a UI on cRIO-9033. The code I am trying to adapt to work on the RT is working on Windows just fine. But when I put it on the RT it throws errors. I looked through the code and I kept getting error 1026 Re

  • Can 2 iPod's be attached to the same iTunes account?

    I currently have an iPod Classic (30GB). I have it for about 10 years now.  It at the point that it will not stay charged for more than a few minutes if it is not sitting on the charger.  I plays good and works good when it's on the charger.  I would

  • Windows Server 2008 R2 Remote Desktop - The requested session access is denied

    Hi, I have been using Windows Server 2008 R2 since it was released, and have 100 servers up and running. I configured Allow Remote Desktop on all of them and have been able to connect to them and manage them via RDP since then. I also have two server

  • Ipod database files???

    hi, anyone know how the ipod organized the songs it stores on it? i looked into some hidden folders (under MUSIC) and the file names are just random letters, NOT the filenames i have in my itunes folder!! why is that? i'm guessing ipod uses a databas

  • Can't open a letter from a site that i have previously opened letters it says cannot open plugin?

    hi, have been trying to read an important letter from a site that i have used many times to read letters etc.. its a government site and is safe, but for some reason all of a sudden i can't read the letters they send me (in site) the screen comes up