Default tab in JSP

Hi,
I am displaying two tabs in a main JSP page. tab1 is selected by default. When I click on tab2, I see content of tab1 jsp loaded on top of tab2 jsp content. How do I just display tab2 jsp content when I click on tab2?
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <LINK REL="STYLESHEET" HREF="../../css/vstStyles.css" TYPE="text/css">
        <title>UnableToIdentify</title>
    <script>
        var allVSTTabs = new Array ("divVSTDocuments","divVSTTasks");   
    </script>
    </head>
    <body>
        <table id="tblVSTTabs" cellspacing="0" class="tabPane">
            <tbody>
                <tr>               
                    <td onclick="selectTab(allVSTTabs[0],allVSTTabs,this);" class="activeTab">Documents</td>
                    <td onclick="selectTab(allVTTabs[1],allVSTTabs,this);" class="inactiveTab">Task List</td>
                </tr>
            </tbody>
        </table>
// Problem may be here but i am not sure..
            <jsp:include page="../workflow/kvdVSTDocuments.jsp" />
        <div id="divVSTTasks" style="display:none">
            <jsp:include page="../workflow/vstFolderTasks.jsp" />
        </div>
    </body>
</html>Thanks
Edited by: gsry on Dec 21, 2007 11:14 AM

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <LINK REL="STYLESHEET" HREF="../../css/vstStyles.css" TYPE="text/css">
        <title>UnableToIdentify</title>
    <script>
        var allVSTTabs = new Array ("divVSTDocuments","divVSTTasks");   
    </script>
    </head>
    <body>
        <table id="tblVSTTabs" cellspacing="0" class="tabPane">
            <tbody>
                <tr>               
                    <td onclick="selectTab(allVSTTabs[0],allVSTTabs,this);" class="activeTab">Documents</td>
                    <td onclick="selectTab(allVTTabs[1],allVSTTabs,this);" class="inactiveTab">Task List</td>
                </tr>
            </tbody>
        </table>
        <div id="divVSTDocuments">
            <jsp:include page="../workflow/kvdVSTDocuments.jsp" />
        </div>
        <div id="divVSTTasks" style="display:none">
            <jsp:include page="../workflow/vstFolderTasks.jsp" />
        </div>
    </body>
</html>

Similar Messages

  • How can I specify the default tab in a CHM Output?

    My company uses CHM-based help for some of its products. We build the CHM files from RoboHelp 9, and while these CHM files don't really have a full Index attached to them, the Index tab shows up in the output anyway. Unfortunately, we are suddenly seeing that when the CHM file is launched from our program, the Index tab is displayed by default. We'd rather have the Contents tab be the default look, especially considering that the Index does not exist.
    I have poked around into how you can specify a default tab for a CHM file, and the only information I have found suggests that using a CHM file creates a file (HH.dat) that specifies which tab should be displayed on a user-by-user basis, and that the last tab displayed when you close the CHM should be the first one displayed when you re-open it. While this is true if you open the CHM independent from the product, when you launch it from our program, it's all Index, all the time.
    So, my question is: How can I specify the default tab for a CHM file? Or, failing that, how can I excise the Index tab from my CHM output.

    Hi there
    This will be something up to your application developer to resolve. When s/he issues the call to open the CHM, there are parameters that may be used to always open with the desired tab "in front".
    Point your developer to the link below and advise that s/he is most likely interested in the section titled: Programming Tips.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Set as default tab doesn't save

    Because it shows the name of the last poster, I would prefer to have Overview as the default view for forums I visit. (I would hope that the names of the OP and last poster will be reinstated as soon as possible for all page views. As many others have already mentioned, this is very useful information to have.)
    For some reason, only in 10.4 Tiger does Overview remain as the default. (And, I don't remember even having to use Set as default tab for the Tiger forum to remain in Overview. It has just always appeared that way.) With any of the other forums I frequent, even if I click on Set as default tab for Overview, if I leave that forum and return it always reverts to Discussions view. It doesn't save that view.
    In addition, Set as default tab doesn't even appear as an option for several of the forums I visit.
    Is this a bug, or do I need to know something about making the save work?
    Unless it's some setting I'm missing on the Personalize/Widgets page, I don't see anything I can use there. I already have browser bookmarks for any of the forums I visit.

    Don Archibald wrote: The 'set as default' option will not be available when you are viewing the collection using the tab which has already been set as default.
    But, for example, neither in Tiger nor iTunes, did I set Overview as the default. They appear that way without having done anything. And thanks for the clarification on points.
    Before setting to Overview, Set as default is available:
    After setting to Overview, Set as default is now missing and I can not make Overview the default. Something I'm not getting?

  • How do you get rid of default tabs on a document in pages 09?I h

    Hi.
    I am wanting just one tab on my document, but there are many popping up that I believe are default tabs. I am trying to delete them in inspector but it is not letting me. Any tips???
    Thanks!

    Select the text you want to apply your tab to and set the tab on the ruler by clicking on it.
    In the absence of any specified tabs the tabs will jump to set intervals on the ruler.
    Peter

  • Set Default Tab For A Step

    We have a system that has been installed at a couple of affiliate sites in Japan and Romania (we've been developing in Australia).  It runs on TestStand 4.2 with supporting code written in LabVIEW 8.6 (although the Romanian site uses TS4.2.1 and LV2010).  We have numerous custom steps in a types palette file.
    One of the sites has complained that when they add some specific steps (custom Numeric Limit Tests, in particular) to a sequence, the tab shown in the Step Settings pane is the "Limits" tab.  It would be more convenient and more useful to show the Edit tab (the one that shows the buttons for the Edit sub-steps).
    I realise it's just a matter of clicking on the relevant tab.  I also realise that once a file is saved, the last-selected tab is shown for each step when it's re-opened.  However, the customer is always right, so I need to see if it can be "fixed".
    Is there a way of setting the default tab for a custom Numeric Limit Test step to something other than the "Limits" tab?
    Help files, Google and the NI pages don't seem to be forthcoming on this issue.
    Thanks,
    Geoff
    Geoff Field, BE, CLAD, MIEAust
    Professional geek, amateur stage-levelling gauge
    Solved!
    Go to Solution.

    Thanks Rohama,
    I will mark the issue as "not fixable" and be done with it.
    Regards,
    Geoff
    Geoff Field, BE, CLAD, MIEAust
    Professional geek, amateur stage-levelling gauge

  • Default tab in Process Purchase order

    Hi All,
    We are in SRM 4.0 and we recently we upgraded our system to SP12.
    After the upgrade, while entering into Process Purchase order transaction "Find" tab is showing by default. But before the upgrade it was showing Worklist as the default tab where we can see all the open work items in that tab.
    Is there a way to set "Worklist" as the default tab?
    Please advise.
    Thanks.

    Once the PO is published, you cannot delete it. If you have created a change version for the published PO, you can delete the change version but not already published PO.

  • Spry Tabbed Panels - Start with no default tab??

    Hi all,
    Is there any way that I can have a spry tabbed panels widget
    and NOT have any tabs open when the page loads? I want to put
    multiple tabbed panel widgets on one page for an artist's
    discography
    example:
    Singles
    - tab 1 - tab 2 - tab 3 - etc. etc.
    Albums
    - tab 1 - tab 2 - tab 3 - etc. etc.
    Misc
    - tab 1 - tab 2 - tab 3 - etc. etc.
    I just want the page to look clean and compact - I don't want
    any default tab to display. Is this possible? I looked on the Adobe
    customization help for the widget but I can't seem to find an
    answer. I managed to achieve this by deleting the
    (this.defaultTab); part of this line in the .js file:
    if (this.defaultTab)
    this.defaultTab = this.getElement(this.defaultTab);
    But when I did this, if I created multiple widgets, the
    second widget and so on's tabs would not work properly, for some
    odd reason. I'm kind of a newbie so I apologize for not making much
    sense.
    Thanks in advance.

    Hi all,
    Is there any way that I can have a spry tabbed panels widget
    and NOT have any tabs open when the page loads? I want to put
    multiple tabbed panel widgets on one page for an artist's
    discography
    example:
    Singles
    - tab 1 - tab 2 - tab 3 - etc. etc.
    Albums
    - tab 1 - tab 2 - tab 3 - etc. etc.
    Misc
    - tab 1 - tab 2 - tab 3 - etc. etc.
    I just want the page to look clean and compact - I don't want
    any default tab to display. Is this possible? I looked on the Adobe
    customization help for the widget but I can't seem to find an
    answer. I managed to achieve this by deleting the
    (this.defaultTab); part of this line in the .js file:
    if (this.defaultTab)
    this.defaultTab = this.getElement(this.defaultTab);
    But when I did this, if I created multiple widgets, the
    second widget and so on's tabs would not work properly, for some
    odd reason. I'm kind of a newbie so I apologize for not making much
    sense.
    Thanks in advance.

  • 13 default packages in JSP

    Can anybody tell what are the 13 default packages in JSP.
    Thanks in advance!!!

    not entirely sure what you mean but the following are imported implicitly in all JSPs:
    java.lang.*
    javax.servlet.*
    javax.servlet.jsp.*
    javax.servlet.http.* hth,
    m

  • My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    My tab default is1.25 which is too big for the A5 document I'm working on, how do I change the default tab so that I don't have to reset each individual line?

    Hi Hannah,
    Inspector > Text > Tabs Button > Tab Settings > Default Tabs.
    To set a tab stop on the go, click in the ruler.
    If you can't see the ruler, Menu > View > Show Rulers.
    To set tab stops for lines (paragraphs) you have already typed, select those paragraphs and set them all at once.
    Also, have a look at Menu > Pages > Preferences > Rulers.
    Regards,
    Ian.

  • Set  a default tab  in ME23N transaction

    Hi Guru's
       How can i   set  a default tab (Purchase order history ) in ME23N transaction ?
       Thanks and Regards .
       Priyank Dixit

    Hi Anil ,
        i am calling ME23N Trancation in a report ...when i click on any purchase order of alv out put ,it calls the transaction ME23N..
      Now i want the Purchase order history tab as default  for any item which have a  GR  .
    Thanks and Regards ..
      Priyank Dixit

  • Change documents for DEFAULTS tab in su01

    Hi all!!
    Somehow SPOOL CONTROL option-> output device for a user changed(under SU01--> DEFAULTS tab) in my Production system.
    Question> can i find out change documents for DEFAULTs TAB  in SU01 for a user ID?

    In fact I was believing the same.
    I was wondering if we could add one new column to sap standard tables which will store any change documents specific to defaults tab for users. But no idea how lengthy this could be!!
    Any suggestions???
    Please do reply if there is any other option to find.

  • Transaction iView - pass parameters to non-default tab

    Hi Experts,
    I have a requirement to call transaction iView from  Webdynpro ABAP application by passing some default values.
    I am able to call the iView and also able to pass parameters. My requirement is to pass values to the tab in iView which is not the default tab when I execute the TCode.
    Is this possible using absolute navigation...??
    If yes please let me know how can that be achieved...
    Thanks in Advance....!!!!
    Regards,
    Shruti Shah

    Hi,
    Do you  already know a  way to reach this transaction to a desired tab with out using webdynpro ?. Is it possible at all in any way to start this transaction and position to a particular TAB.
    If you do not know that then i am afraid that no one could help you out in forum.
    Good luck

  • [svn:fx-trunk] 12909: Pre-FP10.1, set default tab stops in TLF.

    Revision: 12909
    Revision: 12909
    Author:   [email protected]
    Date:     2009-12-14 10:33:13 -0800 (Mon, 14 Dec 2009)
    Log Message:
    Pre-FP10.1, set default tab stops in TLF.  Without this, if there is a tab and TLF is measuring width, the tab will measure as the rest of the remaining width up to 10000.
    QE notes:
    Doc notes:
    Bugs: SDK-24589
    Reviewer:
    Tests run: checkintests
    Is noteworthy for integration: yes
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24589
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as

    SpryAccordion.css
    You have an error that is killing the rest of your code shown below in red.  Remove it.
    .AccordionPanelContent {
        margin: 0px;
        padding: 2px; /**suggest using 12px or more**/
        background-image: url(../infobkgd.png);
        background-attachment: fixed;
        background-repeat: repeat;
        font-family: Verdana, Geneva, sans-serif;
        font-size: 12px;  /**suggest using 16px or more**/
        color: #FFF;
        overflow: hidden;
        height: 40
    [x;
        height: 100%;
    Nancy O.

  • Default tab in sapscript

    Hi ABAP Gurus,
    How do you set the default tab in SAPSCRIPT? 
    I need to put a tab prior to the item text (or to this statement):
    /: INCLUDE &RT_NAME& OBJECT EKPO ID F01 LANGUAGE EN
    I went to SE71>header>basic settings
    then i added a certain value at "Tab Stop";  Unfortunately, when i tested the form. The "tab" was not implemented. 
    Thanks in advance.  Points will be given...
    Best Regards.
    Brando

    Hi,
    You can put the Default paragraph fprmat in the SAPSCRIPT, then inside the paragraph format, maintain the TAB so that this will become defalut TAN for that SAPSCRIPT
    Regards
    Sudheer

  • Help! Refresh default tabbed panel

    Hi,
    I have a problem with my spry tabbed panels. The default tab
    is set to be the 1st tab, when I move to 2nd tab and navigate
    through the content, as the page refreshes, and before it is fully
    loaded it shows the content of the first tab for about 20 seconds
    or so....then the page finally goes to the desired content on the
    2nd tab....
    How can I make it so this does not happen and it looks like a
    smooth transition as I navigate through my pages?
    Thanks,
    Brandan98

    Hi Ken:
    When I insert a new spry panel it appears with all the css from the other page.
    When I began to make changes the other page reflexs those changes.
    Don't know how to get a separate SpryCss sheet. Do you?

Maybe you are looking for

  • How do I stop the EMAIL sync between my desktop  and my laptop?

    How do I stop the email sync between my desktop computer and my laptop? Right now, the laptop is set to automatically load my email when I click on mail. I use my desktop daily; laptop only when traveling. The laptop is somehow set to receive ALL mes

  • Error in CALL TRANSACTION and SESSION Method

    I have 8 records (1,2,3,4,5,6,7,8) to update into SAP database using CALL TRANSACTION and SESSION Method. If there is a error in 6th record. What happens in both call transaction and session method. Please let me know which records will process and w

  • PSE8 crashes when I try to email photos using Adobe Email Service

    The PSE8 Organizer crashes when I attempt to email photos.  In the 2 months that I have owned this program it has crashed several other times, but the current problem with emailing photos always occurs at the same step in the process.  I have read al

  • Migration to new gl consolidation dimension subitem to be added

    Hi, We are currently working on the migration to new GL, we are using ECCS for consolidation. For consolidation we plan to use scenario FIN_CONS and to use fields consolidation transaction type and trading partner. We are also using field subitem for

  • MPLS end-peer

    Good morning I'm writing you to ask a question that I don't find an answer, the question is below: If between a MPLS path there's a hop that is not set to understand MPLS, what happens? Any information that you can send me are welcomed. Best Regards