Tab Button in JSP page using Jdeveloper

Hi Guys
I have a basic question, In Jdeveloper I am creating a JSP page. I need to have Tab buttons in that page, but i am not able to locate the tab buttons, I wanted to know that do Jdeveloper provides the facility for tab buttons, if it does, where can i find the tab button on the Jdeveloper.
regards

Yes, it is possible. But you must use ADF Faces technology. There is component called ShowOneTab.
e.g.:
          <af:showOneTab position="above">
            <af:showDetailItem text="showDetailItem 1">
              <af:inputText label="Label 1"/>
            </af:showDetailItem>
            <af:showDetailItem text="showDetailItem 2">
              <af:inputText label="Label 1"/>
            </af:showDetailItem>
          </af:showOneTab>regards,
Branislav

Similar Messages

  • Wrong component aspect in the design tab of the jsp page

    Hi,
    Don’t know if you can help me, but, I was developing my app and all of the sudden in the design tab of my jsp page the components stop appearing with the correct aspect (that is, a combobox, for example, is a edit with a little button on the side) and started to appear as squares with the name of component above the square.
    I don’t know what I’ve done wrong, and any help would be appreciated.
    Thanks,
    Ana Azevedo

    Thanks for your responses, but I already tried both cases before I posted the thread and neither worked.
    I don't have errors or warnings in the structure panel, creating a new JSP JSF page doesn't work either and I have this situation for 3/4 days, so I reopened JDeveloper a lot in between.
    Meanwhile I started my app all over again because it was still very small (5 pages), but it had some aspects that I'm having difficult to make again, so it was best if I could resolve my problem.
    Thanks again,
    Ana Azevedo

  • How to develop and Run .jsp page from Jdeveloper 10g

    Dear All,
    I need to develop one small JSP page using Jdeveloper10g. pls share information How to develop and Run .jsp page from Jdeveloper 10g.
    Thanks in Advance,
    Hanimi.

    Hi Gyan,
    Any Idea how to get DB connection for JSP Pages.
    Our Java guys developed one JSP page for Login page.
    After Log in instead of standard responsibilites page we calling custom jsp page, For getting DB connection they defined one properties file and hard coded DB details on that file and calling, but client is not accepting hard coding.
    Pls give any idea for getting DB connection directly in JSP pages.
    Hanimi.

  • Unable get complete filepath from jsp page using request.getParameter()

    Hey all,
    i am actually trying to get the selected file path value using request.getParameter into the servlet where i will read the (csv or txt) file but i dont get the full path but only the file name(test.txt) not the complete path(C:\\Temp\\test.txt) i selected in JSP page using browse file.
    Output :
    FILE NAME : TEST
    FILE PATH : test.txt
    Error : java.io.FileNotFoundException: test.txt (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileReader.<init>(FileReader.java:55)
    at com.test.TestServlet.processRequest(TestServlet.java:39)
    at com.test.TestServlet.doPost(TestServlet.java:75)
    JSP CODE:
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>DEMO SERVLET</title>
    </script>
    </head>
    <body>
    <h2>Hello World!</h2>
    <form name="myform" action="TestServlet" method="POST"
    FILE NAME : <input type="text" name="filename" value="" size="25" /><br><br>
    FILE SELECT : <input type="file" name="myfile" value="" width="25" /><br><br>
    <input type="submit" value="Submit" name="submit" />
    </form>
    </body>
    </html>
    Servlet Code :
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException, FileNotFoundException {
    response.setContentType("text/html;charset=UTF-8");
    PrintWriter out = response.getWriter();
    try {
    String filename = request.getParameter("filename");
    out.println(filename);
    String filepath = request.getParameter("myfile");
    out.println(filepath);
    out.println("<html>");
    out.println("<head>");
    out.println("<title>Servlet TestServlet</title>");
    out.println("</head>");
    out.println("<body>");
    out.println("<h1>Servlet TestServlet at " + request.getContextPath() + "</h1>");
    if (filepath != null) {
    File f = new File(filepath);
    BufferedReader br = new BufferedReader(new FileReader(f));
    String strLine;
    String[] tokens;
    while ((strLine = br.readLine()) != null) {
    tokens = strLine.split(",");
    for (int i = 0; i < tokens.length; i++) {
    out.println("<h1>Servlet TestServlet at " + tokens[i] + "</h1>");
    out.println("----------------");
    out.println("</body>");
    out.println("</html>");
    } finally {
    out.close();
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
    processRequest(request, response);
    Needed Output :
    FILE NAME : TEST
    FILE PATH : C:\\Temp\\test.txt
    Any suggestions Plz??

    As the [HTML specification|http://www.w3.org/TR/html401/interact/forms.html] states, you should be setting the enctype to multipart/form-data to be able to upload files to the server. In the server side, you need to process the multipart/form-data binary stream by parsing the HttpServletRequest#getInputStream(). It is a lot of work to get it to work flawlessly. There are 3rd party API's around which can do that for you, such as [Apache Commons FileUpload|http://commons.apache.org/fileupload] (carefully read the User Guide how to use it).
    You can also consider to use a Filter which makes use of the FileUpload API to preprocess the request so that you can continue writing the servlet code as usual. Here is an example: [http://balusc.blogspot.com/2007/11/multipartfilter.html].

  • How to create a radio button on OA Page using Personalization

    I am trying to create a radio button on OA Page using Personalization. The item style , I can see is Message Radio Group.
    How to create Message Radio Button and bring them under one group.
    Thanks

    You should use jdev to define a radiogroup and radio buttons under that, wrap that definition inside a stackLayout in jdev, use personalization to add a stackLayout and extend the region which you had created earlier in jdev.

  • Insert data into table from JSP page using Entity Beans(EJB 3.0)

    I want to insert data into a database table from JSP page using Entity Beans(EJB 3.0).
    1. I have a table 'FRIENDS', (in Oracle 10g database).
    2. It has two columns, 'NAME' and 'CITY'. Both have datatype strings(varchar2).
    3. Now from a JSP page, having two textfields, 'NAME' and 'CITY', I want to insert data into table 'FRIENDS'.
    4. In between JSP and database is a Entity Bean(EJB 3.0) and a stateless session bean.
    5. I am using JDev as editor.
    Please provide me code ASAP or link with similar example.
    Thank you.
    Anurag

    Hi,
    I am also trying that scenario. So u can
    Post the jsp form data to a Servlet which will act as a Controller.
    In the servlet invoke the business method.
    Similar kind of app is in www.roseindia.net
    Hope this would help u.
    Meanwhile if u get any optimal solution, pls post it.
    Thanks,
    Happy Java Coding.

  • ERROR: Running OA page using Jdeveloper.

    Hi,
    We have extened one ABCVO.xml object related one page. Now i want to run the page from jdeveloper i am getting an error saying XXABCVO.xml of type defination is not found .
    Is there any extra setup i have to do reflect the extended changes to be apper in the page when i am running page using Jdeveloper. Please help me.
    Thanks
    sreenu.

    Hi sreenu,
    Whenever you are extending a seeded VO, you need to create the substitution for the old VO by clicking on the .jpx file.
    Then import the jpx file using the jpximport command from command prompt.
    To run the page which contains the customizations, you need to add -Djbo=ProjectName in the runner option of your project settings. Then you will be able to run the page from your local Jdeveloper.
    Anoop

  • I have a button in JSP page inside an UIWebView by pressing the button i want to run another existing iPhone native application in background only.Do anyone have a solution for this.

    I have a button in JSP page inside an UIWebView by pressing the button i want to run another
    existing iPhone native application in background only.Do anyone have a solution for this.

    Sounds like a virus.... I hope it's not...
    Launching Other Apps within an iPhone

  • Can we create a pivot table of Excel in a JSP page using POI

    Hello,
    I want to know whether we can create a pivot table of excel sheet in a jsp page using POI package from apache.
    thank you.

    Hi Alex,
    Many thanks for replying.
    I followed the link, but unable to get correct output.. I have shared the template earlier. I can share the template once again.
    It would be grateful if you give me share the working template with table of content.

  • Help needed to create a master-detail JSP page using OAF.

    I like to create a master-detail JSP page using OAF. If any help or guide will be appreciate.
    - Kausik

    A Master Detail Page is a basically a game between two VOs(Master and Detail mostly connected through a View Link). You can also have a look at the View Link section in the Dev guide. Page Layouts is one thing which you can take a call yourself.
    Regards
    Sumit

  • How to do transactions in jsp pages using Java & MySQL ?

    Hi,
    I'm a newbie..
    I'd like to know "How to do transactions in jsp pages using Java & MySQL ?"
    Platform: Windows XP, Apache Tomcat 5.5, MySQL 5, Java bean without EJB
    what are the the different types of transactions? Differences between them?Pls provide examples?
    Which among them is the best method to implement a transaction?
    Pls help me...
    thnx in advance...

    http://java.sun.com/blueprints/corej2eepatterns/Patterns/DataAccessObject.html

  • Button action with onclick in a jsp page using Jscript

    hi,
    I am facing a problem in setting an action with a button in a jsp page the error is object does'nt support this function,kindly send me reply as soon as possible.
    Santhosh

    hi,
    I am facing a problem in setting an action with a button in a jsp page the error is object does'nt support this function,kindly send me reply as soon as possible.
    Santhosh

  • Developing JSP pages using Eclipse 3.6

    i want to build a web application using JSP pages and oracle 11i databse, so i install and configure eclipse 3.2.2 and i installed the plugin to support creating a dynamic web project and i have installed jboss 6 to be the server.
    so on the eclipse i clikc new "dynamic web project" , then inside this new project i create a new JSP pages , then i write a simple code inside the jsp and i run the project using jboss and every thing went smootly.
    but let say now that i want to develop a more complicated pages to add buttons , to have tabs on my page.
    1. so my question is does eclipse provide a visual develpment tools ot plug-in for developing JSP?
    2. where i can find some good tutorilas regarding developing JSP using eclipse 3.2.2
    Thanks
    Edited by: 812643 on 20-Nov-2010 17:42

    Confusing isn't it? You can post questions here for specific problems you need to solve and usually get an answer (eventually). However, asking for which technologies are better will probably only provide you with biased opinions. There are many alternatives, each providing its own trade offs. I suggest searching google for articles from respected sources such as 'theserverside' rather than depend on individuals. Also, limit your search to articles that are no older than about 1 year. Lastly, try to stick with technologies that are used by the bulk of the developers and are considered almost an industry standard. No point learning some good yet obscure technology.
    As far as not considering a career as a developer, I suggest you stick to it no matter what. Anything you want to be good at takes years of practice and study
    (http://365pwords.wordpress.com/2009/01/25/practice-practice-practice-the-theory-of-10000-hours).
    No one has a 'knack' or is born good at it (even if they claim to be), and everyone experiences frustration (20 years later, I'm still frustrated!). You advance by making countless mistakes, and refactoring over and over again. Ignore anyone who discourages you no matter what.
    I think your quest should be limited to what you should learn when just starting out and not what is the best technologies for experienced users. Personally, I think learning JSP/Servlets is foundation that you should know well before considering alternatives. Also, many alternatives are based on extending JSPs and therefore you should know them well. I've always used JSP and not alternatives, so I can't comment further on that topic.
    If your just starting out in web design, here are my recommendations (in roughly this order):
    java -book (search amazon.com for books and reviews of what others have said in them).
    practice compiling java classes from the book on the dos command line and using a text editor before moving on to
    an IDE.
    Eclipse IDE - just an on-line tutorial may be ok. Learn to compile code, run it, debug it.
    JSP - book
    Servlets - book
    JUnit - just an on-line tutorial may be ok
    JSTL - just an on-line tutorial may be ok (use JSTL with JSP, not scriptlets)
    XHTML - just an on-line tutorial may be ok
    Javascript - book
    CSS - on line tutorial may be ok
    Tomcat - just an on-line tutorial may be ok. You can move onto JBoss, etc later.
    JDBC - book
    A free database such as Oracle Lite or MySql installed. Learn how to create tables.
    MVC design - read up on separation of concerns on a design (presentation,control,business, and database layer).
    SQL - book
    JQuery - book
    Hibernate -book
    Spring framework - book (only after creating an MVC web application with a single servlet as the control layer)
    AJax

  • How to get the values retained on clicking the back button in jsp page

    Hi All,
    I had two jsp's search and results. In the search page when i enter some values in the text fields, the rsults will be displayed for that search criteria. I had a back button in the results page. When i click on this back button i will get back to my search page. I am using the following code for this back button.
    <INPUT TYPE="button" VALUE='Back' onClick="javascript:history.go(-1)" class="button">
    Now the problem is when i get back to search page using this back button, i am not able to get the values in the search page which i entered, i am getting all blank values. What should i change to get these values back in the search page. Should i maintain any sessions for this?

    You have no control at all over the back button process. To the server, it's indistinguishable from the user simply tying the URL of your search page. So, you need to store this data server side*.
    When your search page is submitted and processed, store the values you received for each of the fields into the user's session. Then, when the search page is generated, check the session for these values, and for any values that are not null, put their values into the html as the default values for the textboxes and controls you are using. This lets you handle the whole matter on the server's side.
    *barring convoluted, unportable, black-magic javascript trickery which you should definitely avoid                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Print Button on JSP page prints title,time etc

    Hi I have aprint Button on my jsp page which prints whatever I want selectively using the <style tags>
    <style type="text/css" media=print>
    .noprint { display: none}
    .noscreen { color: black }
    </style>
    <style type="text/css" media=screen>
    .noscreen { display: none}
    .noprint { color: blue }
    </style>
    <SCRIPT Language="Javascript">
    function printit(){
    window.print();
    </SCRIPT>
    My print Button calls the JavaScript and prints everything that does not have a class=noprint in it... When I print however it also prints on the page
    -The Title on the Left Top corner
    - Page 1 of 1 on RIGHT TOP
    - 2/13/03 on Left bottom
    - 4:06 thats the time on the RIGHT BOTTOM
    Is there anyway I can prevent it from printing this?

    These probably come from the browser. Check if your browser is configured to print these on every page that is printed. If so, you can turn these of from the browser's Page Setup dialog.

Maybe you are looking for

  • How do i get all music back on iphone after update to iOS 6

    I have just completed update to iOS6 and i had to restore the phone so on completion it has wiped all music on iphone. So does anyone know how to get all music from computer to iphone again! Many many thanks in advance!!

  • Green Pixel after upgrade to iOS 4.0.1 on 3GS

    ok.. this is very very weird.. i have 3GS 32GB, after i upgrade to 4.0.1 or 4.0.2, if i download picture from safari or facebook or apps, the pictures is showing green pixel, but not all the picture have a green pixel, it's random picture, some pictu

  • How to add mail link in muse

    how to add mail link in muse?

  • Adding packages to custom Jumpstart installation

    Hi, I'm trying to add some new packages from the EA distribution to my custom Jumpstart installation. I've included said packages in the Jumpstart profile copied them into the install server "Product" directory (where all the other OS packages are lo

  • Can't video chat through ichat

    help! here is the situation..when i try to ichat with someone in hong kong (i am in toronto) regardless of who calls we both get a "username did not respond message". i am using a imac and a macbook and he is using a macbook. i have a dsl internet co