Showing first tab always in a ADF panelTabbed

Jdev version: 11.1.1.6
ADF application
I always want to show the first tab as "opened".
I followed this post but it didn't work:
http://oracle-webcenter.blogspot.com.au/2012/11/showing-first-tab-always-in-adf.html

Hi,
This is my code:
<af:showDetailItem text="GENERAL" id="sdi1" persist="disclosed"
                               disclosed="true">
                <af:panelFormLayout id="pfl1" rows="3">
                    <af:selectOneChoice value="#{bindings.Topic.inputValue}"
                                        label="Topic" required="true"
                                        shortDesc="#{bindings.Topic.hints.tooltip}"
                                        id="soc1">
                        <f:selectItems value="#{bindings.Topic.items}"
                                       id="si1"/>
                    </af:selectOneChoice>
                    <af:inputText value="#{bindings.Details.inputValue}"
                                  rows="5" label="Details"
                                  required="true" columns="70"
                                  maximumLength="#{bindings.Details.hints.precision}"
                                  shortDesc="#{bindings.Details.hints.tooltip}"
                                  id="it1">
                        <f:validator binding="#{bindings.Details.validator}"/>
                    </af:inputText>
                </af:panelFormLayout>
            </af:showDetailItem>
            <af:showDetailItem text="FINAL" id="sdi3" persist="disclosed"
                               disclosed="false">
                <af:panelFormLayout id="pfl3" rows="4" labelWidth="250">
                    <af:inputText value="#{bindings.Comments.inputValue}"
                                  label="Comments"                                 
                                  rows="3"
                                  required="#{bindings.Comments.hints.mandatory}"
                                  columns="95"
                                  maximumLength="#{bindings.Comments.hints.precision}"
                                  shortDesc="#{bindings.Comments.hints.tooltip}"
                                  id="it3">
                        <f:validator binding="#{bindings.Comments.validator}"/>
                    </af:inputText>
              </af:panelFormLayout>
            </af:showDetailItem>It's not Webcenter specific.
This is the use case:
I'm using 2 bounded task flows.
I open the first one and go to the second tab. Then I open the second task flow and go back to the first one. The expected behaviour is to display always the first tab. However, it's showing the second tab.
Edited by: 972812 on 26-May-2013 17:31

Similar Messages

  • Tab widget doesn't show first tab when site is loaded

    I have a website consisting of only one page. This page has a tab widget that consists of four tabs. Tab one holds an accordion widget, tab two holds a slideshow widget, tab three contains another accordion widget and tab four holds just a .jpg with a hyperlink.
    Now, when I upload the site and I view it in my browser from the server, the site opens showing tab two with the slideshow - not tab one with the first item of the accordion widget open as I would expect - and want - it to. And further more: When I subsequently press the first tab, it opens with the last item of the accordion widget active - not the first item - and pressing tab three, it opens with the 3rd item (out of four - so in this case it is not the last item as is the case for tab/accordion one) of the accordion acitve.
    Is there a way to set up the tab- and accordion widgets so that they "instruct" the browser to show tab- and accordion items in a certain order upon opening the site? And if yes: How..?
    the site URL: www.siberweb.com/PF

    How come the answers to my questions always seems so obvious..?
    Thank you Brad - that made the trick.

  • I have a lot of tabs saved so they open when I open Firefox, but the first tab always changes into my homepage, Google. Is there any way to stop this?

    I have 20+ tabs always open on Firefox and it's set to remember them. However, when I open Firefox the first tab changes from what I had open there into my homepage, Google. I can use the "go backward" thing to get to the page I had there, but since it goes back to Google every time I restart the browser that gets tedious.
    The only way to solve this that I've found is to just stop trying to use the first tab and let it be Google. However, I'd like some actual solution that stops this from happening if possible.

    Thanks for the reply, it seems to have solved my issue.
    My tabs are normal and unpinned, I just have Firefox set to open all my current tabs. Safe Mode didn't seem to have this issue, so I disabled Classic Theme Restorer. Several restarts didn't have problems, so I enabled it again and now this isn't happening anymore. Hopefully it stays gone for good and didn't just stop momentarily.
    Edit. So as soon as I posted this, it started happening again. More testing definitely points to Classic Theme Restorer as the cause, so I'll have to investigate solutions on that end.

  • The first tab will not close, and often does not load all of a page.

    When I open firefox, the first tab always has 'search bookmarks and history' in the address bar, instead of the url of my homepage, and it will not close.

    While trying to figure out a solution, I removed my themes and I closed the tabs I could, then clicked on the new tab button, doing so changed my original tab into an (Untitled) tab and created a new (Untitled) tab. I then found I couldn't close either tab, I clicked on new tab again, got a third (Untitled) tab, which again I couldn't close. I then closed Firefox choosing not to save. This appears to have fixed the problem; however I do not know which of the above action(s) resolved it.

  • The first tab in my browser always shows loading and cannot close it, Why?

    When my browser is open and have multiple tabs open, the first tab has the animated circle that shows that page is loading, and if I try to close that tab it does not close. I have tried to uninstall and reinstall but have not been able to clear this issue up, Please help!

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Why is it that when I set the preference to always show the tab bar, it refuses to stay checked after I quit Firefox and restart it?

    Using Mac OSX10.6.7 and FF 4.0.1, I'm having a problem with the preference to always show the tab bar. I want it to always show. I check this in the Preferences under the "tab" window, and everything is fine until I quit FF and when I restart FF the tab bar is gone again. I go into preferences, and that option is now unchecked. How can I fix this so that my preference is saved?

    That hasn't helped the last ten times I tried. I posted before. I deleted the preferences file, I tried changing the preferences file, I went into about:config and changed the autoHide preference there. No dice. Firefox is not saving my preference for that one thing.

  • When there are several tabs open, why does the search always take place on the 2nd tab (the first tab seems never to change from the home page) despite my selecting a different tab in which to do a google search?

    I have Mozilla Firefox 10.0. When I open it, it correctly opens on the homepage in the first tab. Once I have another, or several, tabs open, no matter which tab is active, any google search I do immediately takes place in tab No 2. It doesn't seem to matter how many times I go to e.g. tab 4 to do a search (because I wish to compare with the webpage open in tab 2), yet it always now does the search in tab 2. This is very irritating. There must be some setting that has gone pear-shaped, but where/which? Any suggestions? Thanks.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Disclosing first tab (in a panel tab) always when a page loads up

    Hi,
    I am using JDeveloper 11.1.1.4 and I have a page which contains panle tab. I have configured MDS in my application. So if I close the page visiting 2nd tab, the next time if I visit the page, it opens up with the 2nd tab disclosed.
    What I want is to disclose the first tab when the page loads up. Can I exclude this page from MDS or Is there any preferred way of doing this in ADF?
    Regards,
    V. Praveen

    Hi Sudipto,
    Thanks for your reply. Do you mean to say that I need a taskflow to achieve this? The reason why I am asking this is because my page is a simple page which comes under unbounded taskflow of adfc-config.xml.
    Is there any other approach in achieving this?
    Regards,
    V. Praveen

  • Why is my first tab not showing up

    I quit Firefox, and when it restarted, I don't have access to my first tab on each window. I can only get to it if I use the pull-down menu on the right-hand side, or by pressing Apple-1. The first tab is hidden! How do I get it to show normally?
    It's only doing it on two of my pages, but not on the third. I may have hit a setting that I didn't want. Also, I don't want tab groups at all, I'm happy the way I'm using Firefox.

    If you enable the Guest User account, does this issue persist? The guest account can be enabled by going into System Preferences (from the Apple menu at the top-left corner of your screen) -> Users & Groups. You'll see "Guest User" in the list and if it's not enabled, check the box for "Allow guests to log in to this computer" but do NOT check "Enable parental controls".
    Once you've done this, log out of your account and log in as the guest user. You won't have any of your tabs, addons or other settings, but please let me know if you can still replicate this issue or not.

  • By default first tab should open, when user clicks on the Open popup.

    Hi Team,
    I am working on Jdev11g.
    I am facing problem to Open Fisrt tab from popup when i revisite to it irrespective of the Tab which was earlier selected while closing the popup.
    Currently i am populating one list for records in ADF table and in fisrt column i am providing commandImageLink to open popup which contains 5 different tabs.
    when i select first record from table and click to open popup it's working fine .If i select any tab apart from first tab and i close the popup it is getting closed properly.
    But when i revisite that popup it shows me the popup with default Tab opened which i was earlier selected when i checkout from that popup.
    I want Open Fisrt tab from popup when i revisite to it irrespective of the Tab which was earlier selected while closing the popup.
    Thanks
    Jaydeep

    Luis,
    See: Can I "catch" a click on a sortable column header of a report?
    Take a look at Anton Nielsen's answer with regards to hiding a column and displaying its value instead of the sortable column.
    Asumming the following simple report query:
    select product,sales
    from <table>
    Change that into:
    select product
    ,sales*-1 as reverse_sales -- Select this one as an extra column
    ,sales -- Hide this column
    from <table>
    In your report column attributes (of column reverse_sales), html-expression, type #sales#. It then displays the normal sales. However apex will generate a 'order by 2 asc' for the first time. The '2' will refer to the sales*-1 value: sorting it asc, is the same as sorting sales descending...
    Toon

  • Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only. However opening a CSS file does not prompt that it is alr

    Generally when creating a Word file from either a Mac or Win7 pc and opening it on two different machines (either one first) it always prompts that the file is open and will be opened as read only.
    However opening a CSS file does not prompt that it is already open on or from any machine which is causing code edits to be lost.
    What we found from out testing:
    - The file can be saved from one user to the server and WILL NOT PROMPT on other machines until the saving machine has the Dreamweaver program closed completely
    - The file can be closed and  Dreamweaver minimised to the launch bar but it still will not register on other machines that it has been changed.
    - Also, until the  Dreamweaver program is closed on the machines, it will continue to open it's saved version of the file. 
    Example Scenario:
    - User 1 opens test.css (which is 2000 lines) and adds some code to the end of the file to bring it up to 2500 lines
    - Meanwhile User 2 opens test.css as well (opens as 2000 lines as User 1’s edits have not yet been saved) and adds in code to bring it to 2300 lines
    - User 1 saves his file and closes it - but  Dreamweaver is still open.
    - User 2 also saves his file and leaves  Dreamweaver  open.
    - The server will report the size and last edit of the file the same as User 2 as he was the last person to save it (and if you open from the Win7 Machine it will show as User 2’s 2300 line version)
    - If User 1 then open's the file again (from either the 'recent' in Dreamweaver OR clicking on the file directly in Finder...which version opens.... The version that User 1 saved! Not the true version on the server, but the version that User 1 edited and saved with 2500 lines in it.
    - Same for User 2, he will open 'his' version with 2300 lines in.
    Other information:
    - Files are opened directly from the server
    - Sometimes the users will save incrementally and re-open
    - Most of the time users will save incrementally and keep the files open
    - The users will never not save incrementally and just save when closing the file once finished
    - The users are usually working on the files all day
    - It is always the bottom lines of code that are lost. It could be a case of the two versions being mixed up and cutting off the newly added lines based on the line count (possibly).
    It is as if Dreamweaver is holding a cache of the version locally and then only properly looking back to the server when it has been completely closed. It is very difficult to see how the server is causing such an impact on these files, there are very few logs which are giving any indication to the root cause of the problems.
    Anyone know if this is a known issue?
    Is there a way that there can be a featured implemented on the server that doesn't allow another user to open a file if it is already open on another machine?
    Thanks

    Your server file handling has nothing, and really nothing to do with Adobe software. If files don't get locked for (over-)writing and/or lose connection to the program opening them, then your server is misconfigured. It's as plain and simple and that. Anything from "known file types"/ file associations not being set correctly, MIME types being botched, crooked user privileges and file permissions, missing Mac server extensions, delayed file writing on the server, generic network timeout issues and what have you. Either way, you have written a longwinded post with no real value since you haven't bothered to provide any proper technical info, most notably about the alleged server. Either way, the only way you can "fix" it is by straightening out your server and network configuration, not some magic switch in Adobe's software.
    Mylenium

  • Open in Tabs always replaces  all other open tabs ?

    This is unacceptable. Suppose I have 5 open tabs and then I pres Open in Tabs (this command is available on the Toolbar when I create collections)
    This will close down all the 5 open tabs and replace them with the tabs in the folder!! I want to keep my 5 tabs open aswell.
    Message was edited by: Bomiboll

    Yes, I use the internet extensively most days and just switched to Mac/Safari from Windows/Internet Explorer. I love Apple and the Mac. So much easier to use in many ways, especially when you learn shortcuts. On Windows/IE I could have 3-6 browsers open, each with their own tabs, and see in them in the task bar and easily choose them. I am having trouble with this kind of visibility while switching in Safari. One thing I do love is the tab collections. Excellent! I have one for the weather, with 2 tabs in it, and one for my investments, with 3 tabs. I would agree strongly that their needs to be an option to open these collections in tabs, where it added to the existing browser's tabs instead of replacing them. Also, another need: Allow me to see titles of my open browsers and when I hit Apple` (Command`) to switch browsers, I see the focus change to the other browser title, on the bottom of the screen like the tabs go across the top. Or have them pop up where the tabs are now, when Command` is hit. Then they switch back when you let go of Command`. For people like me who are on sometimes 10 browsers, each with 3-5 tabs, all day long, there needs to be much more visibility to what is open, and easy ways using both shortcuts and mouse to navigate all of the browsers and tabs and be able to see your browser titles with tab titles underneath. Like a sitemap or an outline with indents. It could me similar to when you hit Command-tab. I actually think Command tab should be expanded to include the browser windows, each one becoming an "application" along side of Word, Mail, iCal, Address Book, etc, all of which I have open all day. Then I can easily switch between my apps and browsers and have good visibility. Now I have to switch to Safari, then a second motion and process to switch to the correct browser out of 3-6, or even 10 browsers. So you could put them in the popup when Command - tab is hit. Then under each browser, show me an abbreviated title of the browser, and under it, show me abbreviated tab titles associated with that browser. Allow me in preferences to show or not show the tab titles. Expose is great but I would rather have the choice to do everything with Command - tab. For how much I use the internet, Command-tab keeps my hands on the keyboard and saves me so much time because I don't have to take my hands off the keyboard. Expose is great, but I loose time. Clicking on the Safari dock icon and holding is good too, but again my hands leave the keyboard, maybe 50 times a day and it costs me time and is inefficient. This whole thing I just wrote is a fabulous idea. It would be revolutionary if Apple did this. Apple - If you like this idea I have another one that is completely revolutionary and a whole new product/communication concept. I need to get a provisional patent on it first before sharing it. Anyway, I'm an ideas guy and commonly have great ideas and would like to know how I can do that with Apple on a consulting basis through my company, Kokopelli's Earth, Inc. www.kokopellisearth.com. Meanwhile, I'm just going to keep posting on these boards. Watch my posts. They may not be often, but when I say something, it will usually be a pretty good idea. Or at least start the thinking process on how to improve something greatly. At least I think so. I love what you are doing. I have changed over all of my stuff to Apple. 2 Mac Books in the house, 2 iPhones, Mobileme, Time Capsule, Apple TV, Airport. Love it all, works so well and easy, great support on the phone and fabulous in the store. Amazing stuff. Sorry to ramble but I just needed to say all of that. Hope this helps someone. Peace

  • Accordion defaultPanel first tab value

    I have an application which has an accordion panel and
    several detailregions.
    - the accordian panel is dynamically generated in spry with
    xml (both the tabs and the content)
    - the detailregions are based on what the current selected
    tab is in the accordion panel
    I needed to be able to access these tabs via a URL query
    string - and have the correct panel / detailregion display based on
    the variable passed in the URL.
    I have this working correctly.
    The problem though, is that the tabs onClick events do not
    number correctly when using the defaultPanel attribute.
    For example,
    var acc = new Spry.Widget.Accordion("test",{defaultPanel:
    functionThatGeneratesDefaultPanel});
    works correctly for setting the panel which needs to be
    displayed, but then if you click on the tabs to navigate to a
    different panel, tab one ALWAYS defaults to whatever the
    defaultPanel value was instead of being 0. Obviously this disables
    the accordion panel from working correctly.
    Any suggestions on how I can get around this?
    Your assistance is appreciated!
    elaine

    Thanks for the reply Chris. I have somewhat narrowed down the
    problem, but still haven't solved it (had to move on and finish the
    rest of the website:)
    As I mentioned previously, I am creating these accordion
    panels dynamically through xml. Inside one of the panels, there is
    a secondary navigation system which is fed by xml as well. The
    problem seems to be caused by having two datasets in the same
    accordion panel. Here is the code:
    var observer = { onPostUpdate: function(notifier, data) { var
    acc = new Spry.Widget.Accordion("nav",{defaultPanel:
    requestedPanel}); dsNavItems.setCurrentRow(requestedPanel);
    displayCoupons(); } };
    Spry.Data.Region.addObserver("nav", observer);
    and the accordion:
    <div id="nav" class="Accordion" spry:region="dsNavItems
    dsNavSubs">
    <div class="AccordionPanel" spry:repeat="dsNavItems">
    <div class="AccordionPanelTab" spry:hover="rowHover"
    spry:select="rowSelected"
    onclick="clicker({dsNavItems::ds_RowID});">
    <h3 spry:if="({ds_RowNumber}) != 2"
    onClick="dsNavItems.setCurrentRow('{dsNavItems::ds_RowID}');hideLayer('comingSoon');hideL ayer('coupons');hideLayer('couponLarge');hideLayer('imageHolderScreen');hideLayer('submenu Content');hideLayer('submenu1');showLayer('featureGraphic');showLayer('ticker');showLayer( 'newsBar');"
    spry:content="{dsNavItems::name}"></h3>
    <!-- for coupons -->
    <h3 spry:if="({ds_RowNumber}) == 2"
    onClick="dsNavItems.setCurrentRow('{dsNavItems::ds_RowID}');hideLayer('comingSoon');hideL ayer('imageHolderScreen');hideLayer('submenuContent');hideLayer('submenu1');hideLayer('fea tureGraphic');hideLayer('ticker');hideLayer('newsBar');showLayer('coupons');showLayer('cou ponLarge');"
    spry:content="{dsNavItems::name}"></h3>
    </div>
    <div class="AccordionPanelContent">
    <div spry:state="loading"><img
    src="images/ajax-loader.gif"/></div>
    <div spry:state="error"><span spry:content="The
    website is currently down. Please try again in a few
    minutes."></span></div>
    <!-- departments nav -->
    <div spry:if="({ds_RowNumber}) == 0"
    spry:state="ready">
    <div class="department" spry:repeat="dsNavSubs"
    onClick="{dsNavSubs::onClick}; goToURL('{dsNavSubs::url}')"
    spry:hover="rowHover" spry:select="rowSelected"
    spry:content="{dsNavSubs::name}"></div>
    </div>
    <!-- non-departments items -->
    <div spry:if="({ds_RowNumber}) != 0"
    spry:state="ready">
    <span
    spry:content="{dsNavItems::content}"></span>
    </div>
    </div>
    </div>
    </div>
    This problem can be seen at
    http://www.sportzoutdoor.com/index.php?panel=2
    This will default to opening the page with the second tab
    appearing. Trying clicking on the first tab and you will see that
    it tries to refresh, but comes up as the 2nd tab. When running an
    echo with this, on the rownumber, it returns as 2 for both the
    selected tab and for the first tab. For some reason, it is
    assigning 2 to this tab when it generates it.
    The problem only occurs when it is selecting a specific panel
    from the url query. Otherwise at
    http://www.sportzoutdoor.com/index.php
    it works fine. Also, this is the page where you can view the
    secondary nav system built into the first panel.
    Also, in another example - this one without a secondary nav
    system, but still with the url query, works fine:
    http://www.sportzoutdoor.com/cycling.php?panel=4
    Let me know what you think...
    thanks,
    elaine

  • Data in first tab also shown in second tab

    I'm using Java Swing.
    I have a tab panel with 2 tabs. In the first tab, I entered data. I want the data to show on the Combo Box in the second tab without closing the tab panel and open it again. How can I refresh the second tab with the newly added data shown?
    Thanks!

    JComboBox box;
    JLabel info;
    JTabbedPane tabPane;
    private void render()
         tabPane = new JTabbedPane();
         JDesktopPane leftPane = new JDestkopPane();
         JDesktopPane rightPane = new JDesktopPane();
         tabPane.addTab("Left", leftPane);
         tabPane.addTab("Right", rightPane);
         Vector items = new Vector();
         items.add("Item 1");
         items.add("Item 2");
         box = new JComboBox(items);
         box.setBounds(10, 10, 100, 20);
         box.addActionListener(this);
         leftPane.add(box);
         info = new JLabel("Item 1 Info");
         info.setBounds(10, 10, 200, 20);
         rightPane.add(info);
         this.add(tabPane);
    public void actionPerformed(ActionEvent e)
         if(e.getSource().equals(box))
              if(box.getSelectedIndex()==0)
                   info.setText("Item 1 Info");
              if(box.getSelectedIndex()==1)
                   info.setText("Item 2 Info");
              tabPane.setSelectedIndex(1);
    }Edited by: Snape53 on Aug 21, 2009 12:13 AM

  • Use different "fx-border-image-source" for first tab and remaining tabs

    Hi,
    I'm using something like this
    .tab {
    -fx-padding: 0px 5px -2px 5px;
    -fx-background-insets: 0 -20 0 0;
    -fx-background-color: transparent;
    -fx-text-fill: #c4d8de;
    -fx-border-image-source: url("images/tab5.png");
    -fx-border-image-slice: 20 20 20 20 fill;
    -fx-border-image-width: 20 20 20 20;
    -fx-border-image-repeat: stretch;
    -fx-font-size: 22px;
    .tab:selected {
    -fx-border-image-source: url("images/tab-selected5.png");
    -fx-text-fill: #333333;
         -fx-background-color: red;*/
    to customize the tab appearance of a TabPane.
    That worked well. But I need to use a different set of images for just the first tab. Does anyone know a way to accomplish that?
    Thanks.

    How can I "fix up" the first tab of tab panes that are created after I "fixed up" the first tab of the initial tab pane?
    My app allows user to create new tab panes at any moment during program execution.Not easy to answer this one.
    The best answer would be to use structural pseudoclasses, but (as David points out), they are not yet implemented.
    The trick here is how to identify the first tab of each tab pane so that it can be styled separately from the other panes.
    Doing the styling without a dynamic lookup is preferrable to using a dynamic lookup (i.e. when the first tab is created give it a specific style, e.g. tab0).
    This is how the charts work, where they set style classes based on series of data, e.g. series0, series1 - this allows you to independently style each series of data.
    However the chart stuff has all of that built into the implementation, whereas the tabs don't. To achieve that you would likely need to go into the TabSkin code (http://openjdk.java.net/projects/openjfx/) find out where and how it generates the Tab nodes and write a custom tab skin or extension of the existing one which assigns a numeric style class to each new tab in a pane (e.g tab0, tab1, etc). In other words, not particularly easy if you are unfamilar with the tab skin implementation. You could log a javafx jira feature request to have those style classes set on tabs - file it here => http://javafx-jira.kenai.com.
    In the meantime a simple alternative is to use the dynamic lookup method in my previous post and a hack such that whenever you add a new tab pane to the scene you do something like the following:
    new Timeline(
      new KeyFrame(
        Duration.millis(50),
        new EventHandler<ActionEvent>() {
          @Override public void handle(ActionEvent arg0) {
            Node tab = newTabPane.lookup(".tab");
            if (tab != null) tab.getStyleClass().add("first-tab");
    ).play();The reason for the Timeline is that I don't really know at what stage the css layout pass is executed. I know that when you initially show the stage and then do a lookup, the css pass seems to have already been done and the lookup will work. But for something that is dynamically added or modified after the scene is displayed - I have no idea when the css layout pass occurs, other than it's some time in the future and not at the time that you add the tabPane to the scene. So, the Timeline introduces a short delay to (hopefully) give the css layout pass time to execute and allow the lookup to work (not return null). Not the best or most efficient solution, but should work for you.

Maybe you are looking for

  • New internal Hard Drive for my Ibook G4 (March 2005); Panther 10.3.9

    Hi there, hope I'm not posting a post which is already answered, but couldn't find any appriopriate one. The thing is I want to buy a bigger HDD for my lovely Ibook. Questions: 1) I looked in "about this MAC" and found out, that it should be an ATA d

  • IMovie playback on external monitor via FireWire?

    this seems like a pretty obvious question, but is it possible to play back an iMovie timeline on an external monitor/TV? i'm connecting my Titanium laptop to a Sony DV camera via FireWire, then directly from the camera to my TV via mini-jack/RCA cabl

  • Upgrade Solaris 2.5.1 to 2.6

    Hi all, I am very new and unfamilliar with the SunSolaris OS ; actually I was recently upgraded from Oracle Developer/Analyst to Oracle DBA. So I have a server (which I access remotely) with Solaris 2.5.1 , and I need to install Oracle 8i(8.1.6.0) on

  • Changing custom report function

    Post Author: BerlinOlaf CA Forum: .NET Dear all, is there a way to chang/insert a custum report function by using .Net? There is no Repository in my scenario... thanx Olaf

  • Advice on integrating Flash and HTML

    I have googled and researched this topic on the web. Integrating Flash and HTML seems like a popular topic but much of the information is dated (using FS commands or solutions based on 2000-2004 coding and/or hacks) I am using Flash CS3 and Dreamweav