How apply css on specific tab item (showDetailIteam)

Hi
I am using <af:panelTabbed> with <af:showDetailItem>
I want to use style on one of the showDetailItem but I am not able to use it on specific tab.
I have did following and its applied on all tab.
af|panelTabbed::tab-content.newMsgTab{ css};
Please help
Thank in advance

Hi,
In your CSS file reate a new style class for your unusual tab e.g.
.MyUnusualTab
  color: Red;
}Then set the styleClass property for the particular showDetailItem to be your new class e.g.
  <af:panelTabbed id="pt1">
    <af:showDetailItem text="Tab 1" id="sdi1">
    </af:showDetailItem>
    <af:showDetailItem text="Tab 2" id="sdi2" styleClass="MyUnusualTab">
    </af:showDetailItem>
    <af:showDetailItem text="Tab 3" id="sdi3">
    </af:showDetailItem>
  </af:panelTabbed>Kevin

Similar Messages

  • How to target a specific webapp item

    Hi all,
    Can I target a specific webapp item?  Forexample I have a content holder that has three places for news information, but the css is slightly different on the last two items.  So my two thoughts are to eith specifically target webapp items (ie date) in the three css areas or can/should I do this using a backup list for the last 2 items?  I want them to display newest to oldest.  Will using a backup list keep my date sorting the same or will it start it over again?  Is there a way to tell BC to always display the second latest and then thrid latest item (like you can with the latest item)?
    Thanks.

    Hi there.
    Well there is lots of ways you can do this depending on the exact things you want to do.
    You have {tag_itemid} you can use to form unique classes, You got {tag_counter} on list view that you can use to render something like ns-1,ns-2,ns-3 etc to target with your CSS.
    You got :first-child and :last-child in CSS you can use and you also have nth child in css as well.

  • How to display a specific tab in a screen after a popup message

    Hi all,
            I've a rewuirement where in i need to display a secific tab in a screen after popping up a warning message. To be specific, when i choose 'Yes' in the popup window, it shoud take me to a tab which is not active while displaying the warning popup.
    Thanks in advance....
    Anil Kumar Japa

    Hi
    U need to active the tab you want to show:
    So you should set the ok_code (of the tab) value to field ACTIVETAB
    <TABSTRIP>-activetab = <OK_CODE>.
    And transfer the value of subscreen number to the subscreen area:
    CALL SUBSCREEN SUBSCREEN1
                 INCLUDING G_CTRL_TABSTRIP-PROG             
                           G_CTRL_TABSTRIP-SUBSCREEN.
    Max

  • How to display a specific folder item ?

    Hi,
    Having the item id, how can we display the content of that item in a page/portlet ?
    Michael

    Alvaro,
    Maybe the item source type could be SQL Query and the query would be: select seq.nextval from dual. Or you could have a before-header page computation do the same thing for the item.
    scott

  • How to go to specific tab in Safari?

    Say you have 8 tabs opened, you are currently at the first one and you want to navigate directly to tab 6.
    In Chrome this is achieved by: cmd + 6. How can I configure this to work in Safari 7.0.
    Thanks.

    Hi ...
    Command Shift ] - is forward
    Command Shift [ - is back

  • How to access a specific tab in collaboration server - via scripting

    So, I want to be able to show a link in a portlet to a user such that when the link is clicked it takes the user to collaboration server and automatically sets them on the discussion tab...any ideas? do transformer tags work in this case? any other ways?
    Thanks

    QuickKeys may work, or you can look on http://www.versiontracker.com or http://www.macupdate.com for other alternatives.
    Another option is to create aliases to those folders and store the aliases in a local folder which you can place on your Dock, the Finder window sidebar or toolbar.

  • How to make a specific tab the active one when loading a page.

    We need to be able to navigate between a set of pages all containing the same tabs. When going from one page to another, the active tab on the new page must be "the same" as the active tab on the previous page. In other words: there must be a mapping between one page's tab and another page's tab. To do this we need to tell the next page which tab to set as selected. Is there any way of doing this? Because we use a left-side that is tab-independant for navigation, we can not hard-code the tab-reference in the hyperlink. We have thought about using a page parameter saying which tab is active (by the use of a tab id), but it seems impossible to make a portlet change the value of a page parameter without doing so with an event. Because the content under each tab is passive, we can't send any events. Is there any other way of doing this?

    When I click on the x to close a window, all windows are closing.
    When I click on an active link to open a new window, nothing happens , only the already pen one gets replaced. It' s a pain in the butt, and there is no help or solution from FIREFOX, I studied all help resources. I will not attach screen shot to this mail, as that wouldn't help anything. My solution - I will work with SAFARI or SEAMONKEY instead and not use FIREFOX any longer.

  • How to apply CSS to a BC menu

    Hi there,
    I have done a lot of reading, gone to BC gurus, looked at Liam's post on Web Menu V2and I am still stumped on this one. The BC gurus tutorial and Liams' item were way above my head.
    How do you apply CSS you have written to a BC menu?
    I have set up a BC menu and put items in it. The menu type is CSS (HTML) Only
    The menu items have a name, a page link Item Height of 30 and .menuLeft in the Item CSS Class Name
    The template the menu is on is responsive and linked to a stylesheet with the CSS code below in it.
    The menu is completely unaffected by the CSS in the stylesheet. All menu items have a dot in front of them, and look like the default link style for the site.
    So the CSS below is not having any affect on the menu items. Why is this?
    What basic, simple step have I missed here?
    How do I get the menu in BC to notice the CSS below?
    I have also tried making the CSS into an id #menuLeft and putting that into the Item ID Name field in each menu item. The CSS is still completely ignored. Why? (anguished cry)
    .menuLeft {
              list-style-type: none;
    .menuLeft ul{
              list-style-type: none;
              padding: 5px;
              margin: 0px;
              line-height: 30px;
              border: thin solid #CCCCCC;
              border-radius: 3px;
              text-decoration: none;
    .menuLeft li a:link {
              color: #3F823D;
              text-decoration: none;
    .menuLeft li a:visited {
              text-decoration: none;
              color: #999999;
              background-color: #B9E09A;
    .menuLeft li a:hover {
              color: #999999;
              text-decoration: underline;
              background-color: #B9E09A;
    .menuLeft li a:active {
              color: #999999;
              text-decoration: none;
              background-color: #B9E09A;

    Hi Liam,
    The class is definitely .menuLeft and that is what is showing in the code. However, for the menu, only the line height set in the backend of BC is showing. All other styling in the CSS is ignored. By the way I have to have two CSS stylesheets as this is a responsive design using CCDW. You have to use a separate stylesheet to style body, links, headers and other items. I have done this in eternityfonts.css which is where the styling for the menu is. The webpage is using all other instructions from the eternityfonts.css file, including headers, links etc, but it is ignoring the menu styling.
    TEST PAGE SHOWING THE MENU NOT WORKING
    Here is the test page where I am trying to style the menu. http://eternitycosmetics.businesscatalyst.com/test
    It is linked to these stylesheets:
    <link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" /> BC standard stylesheet with all sites
    <link href="../boilerplate.css" rel="stylesheet" type="text/css"> DW CC stylesheet that comes with fluid design
    <link href="/stylesheets/eternity4.css" rel="stylesheet" type="text/css"> DW CC stylesheet that accompanies the fluid design - the fluid design will break if I edit this stylesheet manually
    <link href="/stylesheets/eternityfonts.css" rel="stylesheet" type="text/css"> stylesheet containing body bground, header, a link and other manual styles for the site. I can edit this stylesheet manually
    CODE RENDERING ON THE PAGE
    Here is the code on the page for the menu in question when I do view source. It appears to be ignoring the .menuLeft code in eternityfonts.css and just looks at the setup in the BC menu.
    <div id="leftMenu" class="fluid"> (this div is in the DWCC generated stylesheet that I cannot touch called /stylesheets/eternity4.css)
    <script type="text/javascript" src="/CatalystScripts/Java_DynMenusSelectedCSS.js"></script><!-- Dynamic Menu Begin CSS Output -->
    <div id="cat_673629_divs">
    <ul id="nav_673629">
    <li class=".menuLeft" style="height:30px;"><a href="/index.htm">Home</a></li> (this class is in the /stylesheets/eternityfonts.css stylesheet that I can edti)
    <li class=".menuLeft" style="height:30px;"><a href="/about-us">About Us</a></li>
    <li class=".menuLeft" style="height:30px;"><a href="/products">About Our Products</a></li>
    <li class=".menuLeft" style="height:30px;"><a href="/impact-cosmetics">Products Online</a></li>
    <li class=".menuLeft" style="height:30px;"><a href="/anti-aging-treatments">Anti-aging Treatments</a></li>
    <li class=".menuLeft" style="height:30px;"><a href="/acne-treatments">Acne Treatments</a></li>
    <li class=".menuLeft" style="height:30px;"><a href="/doctor-services">Doctor Services</a></li>
    <li class=".menuLeft" style="height:30px;"><a href="/testimonials">Testimonials</a></li>
    <li class=".menuLeft" style="height:30px;"><a href="/contact-us">Contact Us</a></li></ul></div>
    <script type="text/javascript">catSetSelectedCSSItem('nav_673629');</script>
    <!-- Dynamic Menu End CSS Output --></div>
    BC MENU SETUP SCREEN
    Here is the BC setup screen showing that I have applied the class of .menuLeft to the menu items:
    CSS CODE THAT IS BEING IGNORED WHEN THE PAGE IS DISPLAYED
    Here is the code in eternityfonts.css that is not being applied to the CSS menu. I have bolded the code that is not being actioned in the BC CSS/HTML menu.
    WHY IS THIS CODE BEING IGNORED?
    What step have I missed here?
    Full dump of code in eternityfonts.css
    @charset "utf-8";
    /* CSS Document */
    body,td,th {
              font-family: Arial;
              font-size: 12px;
              color: #000;
              font-style: normal;
              font-weight: 400;
    body {
              background-color: #FFFFFF;
              background-image: -webkit-gradient(linear, 50.00% 0.00%, 50.00% 100.00%, color-stop( 0% , rgba(178,221,145,1.00)),color-stop( 100% , rgba(255,255,255,1.00)));
              background-image: -webkit-linear-gradient(270deg,rgba(178,221,145,1.00) 0%,rgba(255,255,255,1.00) 100%);
              background-image: linear-gradient(180deg,rgba(178,221,145,1.00) 0%,rgba(255,255,255,1.00) 100%);
              background-repeat: no-repeat;
    a {
              color: #3F823D;
              text-decoration: none;
    a:visited {
              color: #3F823D;
              text-decoration: none;
    a:hover {
              color: #3F823D;
              text-decoration: underline;
    a:active {
              color: #3F823D;
              text-decoration: none;
    h1 {
              font-size: 20px;
              color: #3F823D;
    h2 {
              font-size: 18px;
              color: #FF7546;
    h3 {
              font-size: 16px;
              color: #3F823D;
    h4 {
              font-size: 14px;
              color: #FF7546;
    #buyButton2 {
              width: 100px;
              margin-top: 10px;
              padding-top: 5px;
              padding-bottom: 5px;
              text-align: center;
              border: thin solid #CC6600;
              border-radius: 3px;
              background-color: #FFAC77;
              float: right;
    #buyButton1 {
              width: 100px;
              margin-top: 10px;
              padding-top: 5px;
              padding-bottom: 5px;
              text-align: center;
              border: thin solid #CC6600;
              border-radius: 3px;
              background-color: #FFAC77;
    .menuLeft {
              list-style-type: none;
    .menuLeft ul{
              list-style-type: none;
              padding: 5px;
              margin: 0px;
              line-height: 30px;
              border: thin solid #CCCCCC;
              border-radius: 3px;
              text-decoration: none;
    .menuLeft li a:link {
              color: #3F823D;
              text-decoration: none;
    .menuLeft li a:visited {
              text-decoration: none;
              color: #999999;
              background-color: #B9E09A;
    .menuLeft li a:hover {
              color: #999999;
              text-decoration: underline;
              background-color: #B9E09A;
    .menuLeft li a:active {
              color: #999999;
              text-decoration: none;
              background-color: #B9E09A;
    .menu{
    border:none;
    border:0px;
    margin:0px;
    padding:0px;
    .menu ul{
    height:50px;
    list-style:none;
    margin:0;
    padding:0;
    .menu li ul{
    display:none;
    height:auto;
    padding:0px;
    margin:0px;
    border:0px;
    position:absolute;
    width:200px;
    z-index:200;
    .menu li:hover ul{
    display:block;

  • How checkbox "Item Partners" at Tab:Item- partners been activated?

    Dear Gurus,
               I've a problem informed by user. She told me that she would like to change Ship-to Party from A to B. So she has changed Ship-to Party from A to B at header of sales order. The Ship-to Party at header has been changed from A to B but not applied to item. The Ship-to Party at item level still has been A.
                I've checked the log of changes in sales order. She has changed only Ship-to Party at header. It should be applied to item as well, right? The configuration doesn't support changing partner functions at item level.      
                I've investigated the order and found that there is tick in checkbox "Item Partners" at partner function "Ship-to Party" in item level. I think it should be the cause of this problem. But I've no idea how checkbox "Item Partners" at Tab:Item->partners been ticked. Could anyone can explain me how it works and how I can solve this problem?

    Hi,
    You can change the ship-to-party at the item level also.It needs some configuration.
    The path is:
    SPRO>Sales and distribution>Basic functions>Parner determination>Setup partner determination.
    In this click on "Setup partner determination for sales document item".
    Click on partner determination procedure assignment.
    Check what is the procedure assigned to your item category.
    Click on Partner Determination procedures.Select your procedure and click on Partner functions in the procedure.
    You will find ship-to-party there.Select that one and scroll right.There is a checkbox called as notmodifiable.It should be unchecked.If you want it to be mandatory then click on the checkbox mandatory.
    Next click on partner functions.Select "SH" and scroll right.You will find a field called unique.Tick it if you want it to be unique.else untick it.
    Regards,
    Krishna.

  • How to expand a tree at a specific node/item?

    Hi,
    we have a tree and the nodes/items were binded to context with this code
    lo_nd_nvccmp = wd_context->get_child_node( name = wd_this->wdctx_nvccmp ).
    lo_nd_tree = lo_nd_nvccmp->get_child_node( name = wd_this->wdctx_tree ).
    lo_el_tree = lo_nd_tree->bind_structure( new_item = ls_tree set_initial_elements = abap_false ).
    We want that the tree is expanded at a specific node/item?
    The structure has the field is_expanded of type WDY_BOOLEAN. I think that if the field of the right structure is 'X' then the tree should expanded. How can we find the right structure in the context and change this field to 'X'?
    Code is appreciated.
    Thanks, regards
    Susanne

    Oh, apparently if you try that call right after you create
    the Tree, it will throw a null reference exception. That might
    count as a bug in the flex api...
    If you create a Tree, and give it's dataProvider some xml
    data, and then add it to the stage (addChild), and then you call
    expandItem or expandChildrenOf() right after, you will get a null
    object exception. You have to wait... for something. I don't know
    what.
    I even tried calling _tree.invalidateList() before the
    expandItem, but it will still throw the error...
    I wonder what the Tree needs to wait for? Is this a bug for
    Adobe to fix?

  • How do i link to a specific tab using the spry tabbed widget

    Hello i'm working on a microsite using the spry tabbed widget. I'm having trouble figuring out how to link to a specific tab using a an external link.
    here is the site. http://www.efaxcorporate.co.uk
    for example: if i wanted to give a user a url link specifically tab#2.
    Im sure this is really easy i just can't seem to figure it out.

    Try http://foundationphp.com/tutorials/spry_url_utils.php

  • Hi, I don't know how to find a specific security patch to apply to my Oracle database version to fix a vulnerability

    Hi, I don't know how to find a specific security patch to apply to my Oracle database version 11.2.0.2.0 (on windows server 2003 32 bits) to fix the following vulnerability:
    Risk: High
    Application: oracle_tnslsnr
    Port: 1521
    Protocol: tcp
    Synopsis:
    It is possible to register with a remote Oracle TNS listener.
    Description:
    The remote Oracle TNS listener allows service registration from a remote host. An attacker can exploit this issue to divert data from a
    legitimate database server or client to an attacker-specified system.
    Successful exploits will allow the attacker to manipulate database instances, potentially facilitating man-in-the-middle, sessionhijacking,
    or denial of service attacks on a legitimate database server.
    Solution:
    Apply the work-around in Oracle's advisory.
    Thank you for your help

    2835604 wrote:
    Hi, I don't know how to find a specific security patch to apply to my Oracle database version 11.2.0.2.0 (on windows server 2003 32 bits) to fix the following vulnerability:
    Risk: High
    Application: oracle_tnslsnr
    Port: 1521
    Protocol: tcp
    Synopsis:
    It is possible to register with a remote Oracle TNS listener.
    Description:
    The remote Oracle TNS listener allows service registration from a remote host. An attacker can exploit this issue to divert data from a
    legitimate database server or client to an attacker-specified system.
    Successful exploits will allow the attacker to manipulate database instances, potentially facilitating man-in-the-middle, sessionhijacking,
    or denial of service attacks on a legitimate database server.
    Solution:
    Apply the work-around in Oracle's advisory.
    Thank you for your help
    that sounds like the "tns poison" vulnerability.  CVE 2012-1675 - Oracle Security Alert CVE-2012-1675
    See MOS note 134083.1  and 1453883.1

  • How to set css effect on choicebox items

    Hello,
    i've got two questions.
    1) How can i edit an "Item" of a choicebox with css? I've figured out that i can easily give my choicebox like a other background color with it's ID. But i dont know how i do it with the items in a choicebox.
    2) And how do i implement, that the choicebox items are shown when i only hover over the choicebox?
    Thanks in advance!

    Hy there,
    1.)
    best way to start styling is to have a look at the default styles defined in caspian.css located in jfxrt.jar
    This is the best doku about css styling in javaFX beyound the css reference guide: http://docs.oracle.com/cd/E17802_01/javafx/javafx/1.3/docs/api/javafx.scene/doc-files/cssref.html
    2.) I think you could set the items with -fx-color: transparent as they should dissapear on hover if you manipulate the style
    .choice-box .menu-item .hover{
    -fx-text-color:transparent;
    also try effects on
    .choice-box:hover {
    -fx-text-color:transparent;
    }

  • How to add new custom tab to WZR1/2/3 at line item level

    Hi,
    Please explain how I can add new tab with custom fields at item level in SAP transactions WZR1/2/3. I am trying to use BADI WLF_ENHANCE_SCREEN_EX but somehow its not working. Please explain how this can be done ?
    Thanks
    Ullas

    Hi,
    We are trying to copy a work flow objects from ECC6.0 to 4.6C...where we found the following Select statement.
    *Determine Top WorkItem Instance
      if im_top_wi_id is initial.
       select wi_id top_wi_id wi_rh_task into lw_top_id from sww_wi2obj
         up to 1 rows
         where wi_rh_task = im_wftask and
               catid      = 'BO'      and
               instid     = l_instid  and
               typeid     = 'FIPP'.
       endselect.
       endif
    As table sww_wi2obj can't be found in 4.6C, can any one help how to replace or implement the same logic as above statements.
    Thank you....

  • How to reverse the AuC Specific Line Item?

    Hi Gurus,
    I am facing one issue while doing the AuC Reverse. Through T.Code -AIST  i had reverse the AuC line item. but i want to reverse the specific line item.E.g. if there are 10 AuC Assets ( No. 1,2,3.....10)for the same date and want to reverse the 4th and 6th AuC asset line item? how can i reverse this?
    Could you please suggest me to overcome this issue?
    Regards,
    Dhananjay R.

    by mistake raise ....

Maybe you are looking for

  • Programmatically create objects and formulas in Crystal Reports XI Developer edition?

    <p>Is it possible to programatically/dynamically create a text, line, formula field object, etc. in Crystal XI Developer edition?  I have been programming with the Crystal .Net reports component that came with VS 2005 for the past 6 months and know f

  • Screen background color

    I'm looking for a way of getting the RGB value of the screen background color (a solid color selected in System Preferences). Possible via Terminal?

  • RAM or SSD ?

    Hi, I need to upgrade my old (6yrs) PC.  I am looking at a core i7 920 processor with either 6GB RAM and a SSD for a photoshop scratch drive, or the same processor with 12GB RAM and a WD Velociraptor for a scratch drive.  Does anyone have any exprien

  • How to Close Adobe Pdf Runtime

    Hi, I am using the Adobe PDF Runtime to Print the *10g Report* Directly to Printer. It's Is Working Fine. But After giving Print Option , The Adobe Runtime Still Running. Manually we need to Close that runtime window, then only the control come back

  • Ripped 3 album but they didn't copy to the "cloud"

    My iTunes_Match is set up and seems to be working fine - that is anything purchased on one device show up on all devices. However I ripped three albums to my mb air today and they don't appear to be in my iCloud library. How do I get newly purchased