Change color of portal tab strip

Hi.
In EP versión nw04s sp 16 there is a bug in the theme editor, is not posible to modify the tab color in the standard portal tabstrip.
The note 1150293 said that it should modify some css files, i do it but the tabs of standard tabstrip control do not change color...
I have clear the portal cacher, open a new browser window, restart java server...
any idea?
thanks...

Thanks Aditya... but i made the modifications in this manner... i have copied the css files in other directory, edit it, and, then, i put it manually in the corresponding directory...
When, after that, i open the css files, it has the modifications than i made... but the standar tabstrip control remains with the same colors.
Any other idea?
Thank you very much and regards

Similar Messages

  • Change Color of Disable Tab in JTabbedPane

    Hello Friends,
    I have one JTabbedPane in my Application.
    In that one Tab is Disable.
    I want to change default Background and Foreground color of that tab.
    Can u help me...
    Thanks in Advance,
    Nishith Shah.

    hii,
    please I can't find out any DisableColor or something similair for defaultTabbedPaneUI, please try (unselect)
    package jtabs;
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.Insets;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextField;
    import javax.swing.SwingUtilities;
    import javax.swing.UIManager;
    import javax.swing.plaf.ColorUIResource;
    public class TestTabbedPane extends JFrame {
        JTabbedPane tabbedPane;
        public TestTabbedPane() {
            tabbedPane = new JTabbedPane();
            tabbedPane.setPreferredSize(new Dimension(300, 200));
            getContentPane().add(tabbedPane);
            JPanel panel = new JPanel();
            tabbedPane.add(panel, "null");
            JTextField one = new JTextField("one");
            tabbedPane.add(one, "one");
            JTextField two = new JTextField("two");
            tabbedPane.add(two, "two");
            tabbedPane.setEnabledAt(2, false);
            /*UIManager.put("TabbedPane.contentBorderInsets", new Insets(0, 0, 0, 0));
            UIManager.put("TabbedPane.highlight", new Color(255, 0, 0));
            UIManager.put("TabbedPane.lightHighlight", new Color(0, 255, 0));
            UIManager.put("TabbedPane.darkShadow", new Color(0, 255, 0));
            UIManager.put("TabbedPane.shadow",new Color(0, 0, 255));
            UIManager.put("TabbedPane.light" ,  new Color(0, 255, 0));
            UIManager.put("TabbedPane.foreground", new Color(0, 0, 0));
            UIManager.put("JTabbedPane.font", new Font("Dialog", Font.ITALIC, 12));
            UIManager.put("TabbedPane.selected", new Color(255, 0, 0));
            UIManager.put("disable", new Color(255, 0, 0));
            UIManager.put("TabbedPane.selectHighlight" , new Color(0, 0, 0));*/
            //UIManager.put("TabbedPane.background",  new Color(0, 0, 0));
            //SwingUtilities.updateComponentTreeUI(tabbedPane);
            /*tabbedPane.setTitleAt(2, "<html><font color=" +
                    (tabbedPane.isEnabledAt(2) ? "black" : "red") + ">" +
                    tabbedPane.getTitleAt(2) + "</font></html>");*/
        public static void main(String args[]) {
            TestTabbedPane frame = new TestTabbedPane();
            frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
            frame.pack();
            frame.setVisible(true);
    } value are from
    import javax.swing.*;
    import java.util.*;
    public class GetUIManagerList {
        public static void main(String[] args) {
            UIDefaults defaults = UIManager.getDefaults();
            System.out.println(defaults.size() + " properties defined !");
            System.out.println("-----------------------------------");
            String[] colName = {"Key", "Value"};
            String[][] rowData = new String[defaults.size()][2];
            int i = 0;
            for (Enumeration e = defaults.keys(); e.hasMoreElements(); i++) {
                Object key = e.nextElement();
                rowData[ 0] = key.toString();
    rowData[i][ 1] = "" + defaults.get(key);
    System.out.println(rowData[i][0] + " ,, " + rowData[i][1]);
    please could I ask camickr or DarrylBurke how to overide disabled label in JTabbedPane (without Shadows), with using their SwingUtils
    ... kopik                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Change color/font of tabs

    Is there a way to change the color or font of tabs, in Forms 6i, based on certain data in that data block.
    For example, I have a form with 8 tabs and 8 data blocks. Not all tabs have data. For the ones that have data I want to make a color (lets say blue) and the ones that have discipline I want to make that tab a different color (red for example).
    Is there a way to do this? I looked at set_tab_page_property, but did not see anything about color of the tab. I was able to set the enabled/disabled successfully, but in this case this will not help me.
    Thanks in advance.
    Sandeep.

    You can't change the font or color of a tab-page-"header". You can only change the text (maybe put the number of records in brackets behind the text)

  • Change Color on Sheet Tab's from value in Cell

    I have try this code but it seem's not to Work propperly
    Private Sub Worksheet_Change(ByVal Target As Range)
    '    If Range("F58") > 9 Then
    '         Me.Tab.ColorIndex = 3
    '    ElseIf Range("F58") = 8 Then
    '         Me.Tab.ColorIndex = 8
    '    ElseIf Range("F58") < 7 Then
    '        Me.Tab.ColorIndex = 10
    '    ElseIf Range("F58:F59") = 0 Then
    '        Me.Tab.ColorIndex = xlColorIndexNone
    '     Else
    '         Me.Tab.ColorIndex = xlNone
    '    End If
    'End Sub
    the options ill need is
    1 When cell F58 is over 8 then Tab change to GOLD color
    2 When Cell F58 (8) then Tab Change to Silver color
    3 when cell F58 is under 8 Then Tab Change to Bronze Color
    If no Number in F58 Then No Color

    Thanks to you for the Help i have made a litle Change into it and then it's WORK as it shoul
    your code.
    Private Sub Worksheet_Change(ByVal Target As Range)
         If Range("F58") > 8 Then
              Me.Tab.ColorIndex = 10
         ElseIf Range("F58") = 8 Then
              Me.Tab.ColorIndex = 8
         ElseIf Range("F58") < 8 And Range("F58") > 0 Then
             Me.Tab.ColorIndex = 3
         ElseIf Range("F58") = 0 And Range("F59") = 0 Then
             Me.Tab.ColorIndex = xlColorIndexNone
         End If
     End Sub
    My ode after the changes
    Private Sub Worksheet_Change(ByVal Target As Range)
              If Range("F58") > 8 Then
              Me.Tab.ColorIndex = 10
             ElseIf Range("F58") = 8 Then
              Me.Tab.ColorIndex = 8
             ElseIf Range("F58") < 8 And Range("F59") > 8 Then
             Me.Tab.ColorIndex = 3
         ElseIf Range("F58") = 0 And Range("F59") = 0 Then
             Me.Tab.ColorIndex = xlColorIndexNone
         End If
     End Sub
    Your Regards From Henrik-1 And Danish Dart Union

  • Changing Colors of selected tab in JTabbedPane.

    Do someone has some code that can show how to
    change the color of the selected tab with JTabbedPane.
    I can change the other tabs colors with setBackground and setForeground, setBackgroundAt........ but it is the selected
    tab that will not change from the default grey color.
    thanks

    try this code, it works.
    public class TabBackgroundChange extends JFrame {
    private JTabbedPane tabPane = null;
    public static final Color selTabColor = Color.red;
    Color nonSelectedTabColor = null;
    public TabBackgroundChange() {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception ex) {
    ex.printStackTrace();
    tabPane = new JTabbedPane();
    tabPane.add("One", new JPanel());
    tabPane.add("Two", new JPanel());
    tabPane.add("Three", new JPanel());
    this.getContentPane().add(tabPane);
    this.setSize(200, 200);
    this.setVisible(true);
    tabPane.addChangeListener(new TabChangeListener());
    tabPane.setSelectedIndex(1);
    tabPane.setSelectedIndex(0);
    public static void main(String[] args) {
    TabBackgroundChange tabBackgroundChange1 = new TabBackgroundChange();
    private class TabChangeListener implements ChangeListener {
    public void stateChanged(ChangeEvent ce) {
    int iSelTab = tabPane.getSelectedIndex();
    Color unSelectedBackground = tabPane.getBackgroundAt(iSelTab);
    for(int i=0; i<tabPane.getTabCount(); i++) {
    tabPane.setBackgroundAt(i, unSelectedBackground);
    tabPane.setBackgroundAt(iSelTab, Color.red);
    }

  • Cant find where to change color of one little strip on my large button?!

    Hey guys im working with this template that i threw up at lit-media.com .. my problem is that if you go look the buttons on the slide, i got the colors changed to blue but theres still this small little strip of orange at the bottom of the buttons? i cant find anywhere in the css or source file to change it ?! help anyone?

    No need to reply i figured it out! sorry guys!

  • Is it possible to change  color on the line strip/code view in CS6?

    Hello -
    I did some research on this and cant seem to see if this can be done - I was hoping to change the color of the blue line menu on the code view screen.
    Eric

    I take it you're referring to that vertical line in the left hand side of Code View? I don't think it's possible to change the color.  If you disable line numbers (#), it's a bit less noticeable.
    Nancy O.

  • User changes in tab strip ui element are not recorded in context change log

    Hi All,
    We are using a tab strip ui element in webdynpro component. But user changes inside tab strip ui element are not getting recorded to the context change log. I have an input field on the same view besides  tab strip ui element. User changes to this input field are getting recorded to the context change log.
    Is there any restriction on context change log usage with tab strip ui element?
    Could you please suggest If there is any way to record changes inside tab strip ui element.
    Thanks,
    Sudheer.

    I think there are some limitations exists, context change logs are not complete when you do value help , i am not sure about tab strip.
    [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a8e5d273b12fe2e10000000a42189d/content.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/a8e5d273b12fe2e10000000a42189d/content.htm]

  • Tab strip push button text change for user-exit screen

    Hi experts
       How can I change the text of Tab strip push button which is maitained by screen user-exit.Such as I maintained the user exit MEREQ001,In the screens of TCODE me51n there have a subscreen named
    "CUSTOMER DATA",Now I want change the text.
    thanks in advance
    BR
    Chris

    create ab push button without any text. In the run time you can assign test to this as follows.
    suppose name of the button is PUSHBUT.
    PUSHBUT = 'EDIT'.

  • Tab Strip eventing

    Hi,
    I have 4 tabs in data container, each tab associated with different event. Whenever i click on a tab , i want to display some data on top of the tab as dispaly only.  what is the better approach?
    I am thinking to create 4 web dynpro views and based on the selected tab, i  will show that perticular view or is there any efficient way to do this instead o creating 4 web dynpro views , can i create one and flip te data based on selected event?
    Please write the detailed steps to achieve the above task?
    Thanks
    Sri

    Hi Sri,
    Instead of creating 4 views, try to use 4 different transparent containers. Place the in corresponding containers. Create 4 different context attributes of the type com.sap.tc.webdynpro.progmodel.api.WDVisibility.
    Procedure:
    Click on "..." button in the properties of the context attribute. Select Local Dictionary -> Expand uielementdefinitions ->  Select WDVisibility. 
    After binding each context attributesto the corresponding visibility property of the transparent containers.
    Use this code to change the visibility in Tab strip  event handler.
    If (selectedTab.EqualsIgonreCase("Tab1")  )
    wdContext.currentContextElement().set<conatiner1Vis>(WDVisibility.VISIBLE);
    wdContext.currentContextElement().set<conatiner2Vis>(WDVisibility.NONE);
    wdContext.currentContextElement().set<conatiner3Vis>(WDVisibility.NONE);
    wdContext.currentContextElement().set<conatiner4Vis>(WDVisibility.NONE);
    else if (selectedTab.EqualsIgonreCase("Tab2")  )
    Feel free to revert in case of any issues.
    Regards,
    Siva

  • Tab Strip Internationalization

    Hi,
         I have a problem with Tab Strip Control Internationalization. I created a .xlf for Germany Language for that window, but that text is not getting changed to Germany for Tab Strip Heading. Can any one help me?
    Thanks,
    Sridhar

    Hi,
    If you open the default .xlf file for the main view which has the tab strip,in the tab - "Resource Text" tab,check if all the entries present,the value in the Translate column is "Yes".
    Agian the same will apply to the any .xlf you create for other language and suppose you are creating for German,make sure you add the Translated text to each entry in the Text column for each entry.
    Once done ,perform a Reload for the DC.it should worked.
    Hope this helps
    Cheers
    Priya

  • Unable to customise Tab (color) in Portal Theme through Theme Editor

    Hi Everyone ,
    I m working  on Themes in Portal 7.0 . I have customised the theme but dont know why i m not able to customise Tabs (Color) .
    Like When u click on System Administration ->System Configuration ->system landcape -> (There is second menu with Browse & Search ) and Overview of System Landscape pic in the Content area.
    Here Browse / Search / Overview are still apperaing in black color  .. i want to edit these and give some background color to that panel as well

    Hi Shivani,
    You would be able to change the colors on the tab by changing the following in the Theme Editor
    1. Old BSP Tabstrip under Component-Specific Styles
    2. Tabstrip element under Complex Elements
    The first one is to do with your requirement of changing the colors of the tab shown in the standard portal iViews. The webdynpro tabstrips would respect the settings under the Complex Elements.
    Well here's a caveat. Once you specify what colors you want for the tabs, you would also have to create images (Transition images, Starter images, End images) for the tabs in question so that they blend into the transitions smoothly.
    Hope it helps,
    Prathamesh

  • Change Color of Tabs Web Item

    I'd like to publish a WAD 7.0 webtemplate including several tab groups which need to have different colors, one color for one issue.
    Currently I found no way to realize that.
    I tried to put the &STYLE_SHEET=<url>/<name.css> after the web template link without success. I also tried to use <link href="<url>" type="text/css" rel="stylesheet" /> in the web template without success.
    Do you have some ideas for me?
    Cheers Anja

    Hi,
    In BI 7.0, by default, colors for 7.0 web templates should be changed by changing the portal theme. You need to be a portal administrator to do this.
    Portal themes can be edited with the theme editor: Go to System Administration --> Portal Display --> [Choose theme assigned to user group] --> Theme Editor. The default theme is Tradeshow. If no custom theme is made, you better make a copy of Tradeshow and assign this to the users.
    The colors of the tabstrip can be changed by choosing the item 'Tabstrip'.
    This should solve the problem of Maya M. For using different colors for different tabs (ahaufe), probably a combination of javascript and CSS should be used. You don't necessarily need to link to an external stylesheet. You can also put CSS code directly in your template between <style type="text/css"> </style>  tags (in de the <head> area). See http://www.tizag.com/cssT/internal.php for examples.
    Good luck,
    Daniel

  • Want to change the Background Color of Selected Tab

    Hi All,
    I want to change the Background Color of Selected Tab of the tabstrip visible in Content Admin Role (Browse, Overview etc.).
    I have changed the Background Color of Selected Tab - Tabstrips-Complex Elements through Theme Editor, but that did not take effect.
    Only the other webdynpro components tabstrips took effect.
    Regards,
    Vishal

    Hi Andre,
    I don't know if you have already figured out how to change the background color of the tabstrip, but I will explain how we have done it.
    You might have tried to change the background color in "Tabstrip" (under the menu "Complex Elements") in Theme Editor. When you change the property "Background color of selected/unselected tabs", this will not change the color of the images on the tabstrip (ex. the triangle on the side of the tab). These images are on the server. We copied these images and then made changes to them, before we uploaded them again through the Theme Editor.
    The path to find the images is /usr/sap/~/JC01/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/portalapps/com.sap.design.urdesigndata/themes/portal/the name of your theme/common/tablist
    If this didn't work for you, you might have to change the properties in "Pattern Containers" (under Complex Elements") in Theme Editor. The tablist properties are under the header "Tab Container".
    I think it should work for you then. We also found that there was some problems when we tried to view the changes in Firefox, but haven't figured out how to solve this.
    /Ellen

  • How to change the background color of  a Tab Canvas

    Hi All,
    I accidentally changed existing background color of a tab Canvas to ' gray' which is not matching with main canvas (which has default).
    How can I change background color to default. Please help me.
    -Thanks

    In the property palette of the tab page, click on the "Background Color" property and click the "Inherit" button on the top of the property palette, this will revert the value of the property to the default when the tab page was created which is <Unspecified>.
    But if your tab page has inherited the color from a property class it will revert to what was specified in the property class.
    Tony

Maybe you are looking for

  • How long should my Curve 8530 Smartphone hold a charge?/What's w/the tiny keyboard keys?

    Hi, I love Bberries--ever since I got to use one at work; I don't recall that model but it was about 7 or so years ago.  I never had to charge it so much; and the keys were much larger. I am very disappointed. Any input greatly appreciated.  I am pay

  • Structure of csv file

    1)i wanted to know the structure of csv file, 2)how to read data from csv file .

  • Converting a string to integer error

    I have this code temp = token.nextToken().toString(); numero = Integer.parseInt(temp); Is is giving me a numberFormatExeption error Knowing that temp is a string can anyone help

  • Adober Reader 6.0 is ghosting my computer.

    Hi,    I am working aith a computer running Windows XP, and I am trying to install Adobe Reader.  The problem is, every time I try to install Reader, whether it's the new version or an older one, the installer fails, because Adobe Acrobat 6 comes up

  • Create image without seeing it

    Hi, i have an applet to draw something on, i have a button when you click on it that create an image and its ok... but the only way i know to create an image is to open the applet, draw what i want onto the Graphics object and display it at the scree