How to create tab element in a jsp

hi all
is there anyone who has experience with using tab in jsp? thanks.

I'm with Dr Clap here - you're likely looking for a way to do this in HTML/DHTML - but you could look into Java Server Faces (JSF), as I think some vendors are producing components now, and I think a Tabbed Pane is out there:
http://www.otrix.com/
(This is likely more than you care to get into, but I thought I'd throw it out for consideration)
Good Luck
Lee

Similar Messages

  • How to create tab pages in EP

    Hi Experts,
    Can you please let me know how to create tab pages in EP. I have created one page. In this page, I have to place 2 iViews as tab pages. Can you please let me know how I can acheive this?
    Regards,

    Stuart,
    Within a SAP Portal Tabs are not used like you want them to
    By default Tabs are used inside an iView and not to "tab" between iViews on a page...
    The most straightforward solution would be creating a custom PageLayout that you can assign to your page.
    I would sugest to implement this custom PageLayout with DIV layers and trigger "tabbing" via JavaScript eventing.
    For more infor on how to create a custom PageLayout take a look at here:
    [http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm]
    Good Luck,
    Benjamin Houttuin

  • How to create multiple toolbar buttons in jsp ?

    hi all,
    how to create multiple toolbar buttons in jsp ?
    plz help me

    mgmt
    plzhttp://www.catb.org/~esr/faqs/smart-questions.html#writewell
    How To Ask Questions The Smart Way
    Eric Steven Raymond
    Rick Moen
    Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal ? in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse "its" with "it's", "loose" with "lose", or "discrete" with "discreet". Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate b o o b you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate b o o b to save two entire keystrokes.

  • How to create cost element in controlling

    how to create cost element in controlling for Direct meterail.
    i have to create for each materail or on rm consumption is enough
    please give me replay
    thanks

    Hi Nagaraju,
    First you create the required account as cost element through FS00 and select your gl account and edit cost element and give 1 in cost element category.
    Afterwards in OKB9 You create the cost element whether it is required for Bus Area mandatory, profit centre mandatory and Valuation area is mandatory.  Based on your selection you have to assign 1, 2 or 3.  Ex. You have selected for consumption account profit centre is mandatory.  You give 3.  and you have to assign the cost centre against profit centre.  Then automatically your consumption will post to the cost centre.
    BSR

  • How to create tab indexing for jtextBox

    Dear Forum
    i am user of jDeveloper.
    And working on JClient/Swing application.
    In "Jframe.java" i add various cotrols such as jTextbox,jCombobox ,jlabel etc.
    So how to create tab indexing for these controls.
    Girdher

    Dear Forum
    i am user of jDeveloper.
    And working on JClient/Swing application.
    In "Jframe.java" i add various cotrols such as jTextbox,jCombobox ,jlabel etc.
    So how to create tab indexing for these controls.
    Girdher

  • How to create tab pages in Human task Using Wizard

    hi,
    how to create tab pages in Human task Using Wizard.i need to display the personal details and the offical details in the same page with different tabs for each.it is possible to do lika this.if yes,how can we do this.
    Regards

    Stuart,
    Within a SAP Portal Tabs are not used like you want them to
    By default Tabs are used inside an iView and not to "tab" between iViews on a page...
    The most straightforward solution would be creating a custom PageLayout that you can assign to your page.
    I would sugest to implement this custom PageLayout with DIV layers and trigger "tabbing" via JavaScript eventing.
    For more infor on how to create a custom PageLayout take a look at here:
    [http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/en/42/efbac120711a71e10000000a422035/frameset.htm]
    Good Luck,
    Benjamin Houttuin

  • How to create tab pane in jsf

    i have two pages
    file.jsp
    file1.jsp
    i want to open these page in diff tab.
    both pages contains ajax tags
    how i will do this.

    There are several 3rd components available to create tabbed panels. Look around at the sites of Tomahawk, RI Sandbox, ICEFaces and ADF for example.

  • How to create UI element in VC

    Hi,
         I want to create UI element in VISUAL COMPOSER like text field, input field, button etc.How we can develop in VC iView?
    Thanks,
    Kundan

    Hi,
    Refer
    http://www.sdn.sap.com/irj/sdn/nw-vc;jsessionid=(J2EE3417200)ID1217882450DB11101197022981941087End?rid=/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e
    Regards,
    Manivannan P

  • How to create dynamic elements in action of a view?

    hi all,
    I created 2 buttons dynamically in WdDoModifyView(). I created  action1, and parameter for that action i.e, id of type string.
    when i click on button1, some ui elements must be displayed.....
    can anyone tell me how to dynamically add UI elements in onAction() of view.....
    i wrote the following code to create & map dynamically in WdDoModifyView()........
    if(firstTime)
        IWDButton b1=(IWDButton)view.createElement(IWDButton.class,"button1");
        b1.setText("Button1");
        IWDButton b2=(IWDButton)view.createElement(IWDButton.class,"button2");
        b2.setText("Button2");
        IWDTransparentContainer tc=(IWDTransparentContainer)view.getElement("RootUIElementContainer");
        tc.addChild(b1);
        tc.addChild(b2);
         IWDButton butt1 = (IWDButton)view.getElement("button1");
         IWDParameterMapping pm1a = butt1.mappingOfOnAction();
         pm1a.addParameter("id1","link1a");
         IWDButton butt2 = (IWDButton)view.getElement("button2");
         IWDParameterMapping pm1b = butt2.mappingOfOnAction();
         pm1b.addParameter("id1","link1b");
    after writing this..... in onAction().........of view... i wrote like this...
    if (id1.equals("link1a"))
    else{
    in the if & else condition, i have to create UI elements dynamically.
    when i am trying to create Ui elements dynamically, but i am unable to create dynamically here.
    pls give me suggestion how to proceed this
    regards,
    vila

    Hi Vila,
    Are you trying to create UI elements dynamically in the action? If yes then you won't be able to do so because you can only create UI elements dynamically in WDDoModifyView().
    Always WDDoModifyView() would be called after your action. So, you can handle it as you want in your WDDoModifyView() itself.
    But if you want that those elements should be created everytime when you fire an event then don't write it within if(firstTime) clause as this would be true only when WDDoModifyView() is called for the first time when the page intially loads.
    Regards,
    Murtuza

  • How to create a new session in JSP file

    Usually a child IE window uses same session with parent window. Dose someone know how to create a new session when creating a new IE window by clicking a URL in parent window? The web page is writen by jsp file.

    I am not sure of your question. Are you wanting to have 2 Session objects (one for the parent window and another for the child)?
    A session is usually created once per client and is stored on the server the session id is carried around in a cookie or a URL rewrite so that everytime the user submits a page you will be able to store/access information.
    // this will create a new session object if one doesn't already exist.
    HttpServletRequest.getSession( true );
    Hope this helps

  • How to create an element in component controler

    Hi Experts,
    I need to validate the data of a model node in component controler and add those validated records in other value node.  For that I need to write a loop where in i can repeat the records for validation.
    How can i create the element in the loop ?  I tried with below code as we do in View controler , but ! this is not allowing in compoent controler. Is there any way to do this ?
    IPrivateFinalTRAView.IFirstOutputElement FFM = wdContext.createFirstOutputElement();
    Regards,
    Suresh

    Hi,
    i am trying to copy all the resords from a model node to the value node which is available in the component controller,.
    after executing the model i am doing this copy operation, for the requirement i ahve converted some of the data into STRING type.
    int SalHistSize = wdContext.nodePt_Salhistory().size();
    // Populate Salary_History Table
    ArrayList arlQuotaTable = new ArrayList();
    // Creating the element for our Salary History Node
    IPublicFcCompHistory.ISalary_HistoryElement objsalhistnode = null;
    if(SalHistSize > 0){
    for (int k=0;k<SalHistSize;k++) {
    IWDNodeElement elementSalHist = wdContext.nodePt_Salhistory().getElementAt(k);
    objsalhistnode = wdContext.createSalary_HistoryElement();
    objsalhistnode.setAction_Date(elementSalHist.getAttributeValue("Action_Date").toString());
    objsalhistnode.setAction_Reason(elementSalHist.getAttributeValue("Action_Reason").toString());
    objsalhistnode.setAction_Type(elementSalHist.getAttributeValue("Action_Type").toString());
    objsalhistnode.setAnnual_Salary(elementSalHist.getAttributeValue("Annual_Salary").toString()+"  (CAD)");
    objsalhistnode.setCompensation_Sal(elementSalHist.getAttributeValue("Compensation_Sal").toString()+"  (CAD)");
    objsalhistnode.setPay_Area(elementSalHist.getAttributeValue("Pay_Area").toString());
    //          Adding the record to array List          
    arlQuotaTable.add(objsalhistnode);
    //          Bind the populated Array List to the View Table for Data population
    wdContext.nodeSalary_History().bind(arlQuotaTable);
    Try this dear,
    Cheers,
    APPARAO

  • How to create a session by AppsLocalLogin.jsp

    first, in auth.jsp we check fnd_global.user_name against "ANONYMOUS" to see whether user is logged on.
    if not, we invoke AppsLocalLogin.jsp to create a session.
    http://server:port/OA_HTML/AppsLocalLogin.jsp?requestUrl=report.jsp%3Fparam1%3Dyyy
    the login page shows, page re-directed to report.jsp.
    however fnd_global.user_name doesn't work. it still returns "ANONYMOUS".
    if user logged on OA normally, then the whole thing worked. it seems fnd_global.user_name doesn't like the way we login.
    how should we invoke AppsLocalLogin.jsp so it'll create a proper session?
    part of report.jsp:
    WebAppsContext ctx =WebRequestUtil.validateContext(request, response);
    conn = ctx.getJDBCConnection();
    sql = "select fnd_global.user_name from dual";
    (we tried to invoke RF.jsp instead.
    doesn't work because we don't know how to pass the param1 to report.jsp thru RF.jsp)

    This is variable what is working in my aplication
    String variable;
    if(user == null){
                   user=new String("");
         }//if you don'y do this you will have null pointer exception
    session.setAttribute("user",user);//put value
              String name=(String)session.getAttribu("user");      //get value;
    I hope this will help

  • How to create a shopping cart in JSP?

    I am creating an online product ordering system, How can i create a shopping cart in jsp? is there a way i can save a table containg itemcode, price, quantity in jsp? Can i save it using bean or session? please help me. thanks in advance.

    Hello,
    i want to create online shopping cart using html and JSP.
    At first i want to create 1html page where login ad logup optios are provided. After his login, a JSP page containing 3 links namly T-shirts,Jeanspat and Formals is displayed.
    After user select any of the link it must go to particular page.
    There, option of color, size is provided.
    And some 5 to 6 items are displayed with its pfxd prices.
    And in the same page a cart is provided. Whe the user selects(clicks) any item the same must display in cart.
    In the same page link to T-shirts,Jeanspat and Formals is displayed agaiT-shirts,Jeanspat and Formals is displayed agaiT-shirts,Jeanspat and Formals is privided again.
    next page must show the items selected. And finally it must show the "thank you" page stating that your delivary will be delivered to you within 24 hrs.
    Thanks in advance ,
    sameer

  • HOW DB POOLING WORK AND HOW TO CREATA A DB POOLING IN JSP

    HI! I'm new in programming JSP and in web programming. I would like to learn how does the DB pooling work and how to create a DB Pooling. THANKS....

    Thanks for the idea but i need a more detail one...
    Hi,
    Db connections are one of the most expensive
    operations in an application.So at applicatin launch
    only multiple connections to the dbase are opened and
    used and returned/closed after usage.
    You can have a loop running 10 times creating a
    connection every time and putting those in a
    Collection object (say hashtable) marked with a key.
    Then in the application code , take an available
    connection from the hashtable and use it . After use
    return /close the connection (your pool can be
    incremental..creating 5 connections evey 10-15
    minutes).

  • Any idea on how to create tabs?

    Hi,
    I have a project and I want to create tabs to contain different contents based on categories. Any ideas how could I do this?
    Thanks in advance,
    Rafael Carignato

    Here is a sample on how to use yepnope and also the ui for the accordion this time.
    https://www.box.com/s/gbzuu9c9tupp120lsfnq
    As far as loading anything, I do not see why not.
    I have not used xml but I have used json. This would probably work too.
    Here is a link on how to use json:
    https://www.box.com/s/ixhuugw9wgjdyowqsruu

Maybe you are looking for