JDeveloper 10.1.2.1 - Multi form JClient Application

Hi,
I am struggling to complete my first Swing application using Jdeveloper 10.1.2.1.
I use the wizard to generate 3 forms:
1) an empty ADF form ( MainForm.java ) its working fine !
2) an ADF form ( FirstForm.java ) based on a view. It working fine ! I can add, delete and browse my table.
3) an ADF form ( SecondForm.java ) to display a second view. it working fine.
My headache, I want to run my forms from the MainForm.java.
I update the default menu in the MainForm.java and create two menu items to display FirstForm.java and SecondForm.java.
I also create the action_performed for each menu item I have created. There are working fine and output a simple hello word string.
Does anybody tell me where to find a piece of code necessay to display my forms? So if user click on the menu item (let's say - Open First form ) in the MainForm, my FirstForm will display inside the MainForm.
Any reading, link or advice is welcome.
Thanks.

Hi,
a form is a JFrame and can be called by
<frame name> var_name = new <frame name>;
var_name.setVisible(true);
If the frame contains ADF bindings then the following paper should give you additional help
http://www.oracle.com/technology/products/jdev/howtos/10g/jcmultiform/index.html
Frank

Similar Messages

  • How to fill a field with after changing another field in a multi form?

    Hi,
    I have multi occurence form in which multiple record are showeds and/or added.
    One field is a dropdown field, after filling this field (selecting a value in the dropdown), another field needs to filled with the selected value.
    My problem is that only the first occurence is filled with the value of the selected dropdown, even when filling the dropdown field in one of the other occurences.
    I tried point to the other occurences but this was not succesfull
    See script
    So when a sparepart is selected from the dropdown sparepart, the field defectpart must be filled the selected sparepart, when I have multi forms (occurences) only the first occurence defect part gets filled with the selected parts, even when a sparepart from another occurence is selected.
    data.p1.spare_parts.spare_parts::change: - (JavaScript, client) -
    p1.spare_parts.DefectPart.rawValue =  xfa.event.newText;
    Can anyone help to solve this problem
    Thanks
    Christophe Van Mechelen

    hi,
    Your code is right, i dont know why its not working,
    try this,
    dropdown field in change event,
    var c = xfa.host.newtext
    textfield1.rawValue = c;
    (or)
    textfield1.rawValue = xfa.event.newText;
    by
    Parthi

  • Creating multi forms  in a midlet

    hi everyone,
    i want to create a quiz, here i would like to know how to cal one form another.. anyone can help me.
    here i am giving my code.. i am new to j2me, i dnt knw how to cal 2nd from into command action
    public class Quiz3 extends MIDlet implements CommandListener {
      private Display display;
      private Form form1;
      private Form form2;
      private Command exit, choose;
      private ChoiceGroup technology;
      private ChoiceGroup Test1;
      private int index;
      private int index2;
      public Quiz3() {
        form1 = new Form("Technologies");
        form2 = new Form("Testing");
        technology = new ChoiceGroup("Select Technology Which You Know", Choice.MULTIPLE);
        Test1 =  new ChoiceGroup("Select The City", Choice.MULTIPLE);
        exit = new Command("Exit", Command.EXIT, 1);
        choose = new Command("Choose", Command.SCREEN, 2);
      public void startApp() {
        display = Display.getDisplay(this);
        technology.append("JAVA", null);
        technology.append("J2ME", null);
        technology.append("J2EE", null);
        technology.append("JSF", null);
        Test1.append("Chennai", null);
        Test1.append("Delhi", null);
        Test1.append("Bombay", null);
        Test1.append("AndhraPradesh", null);
        index = form1.append(technology);
        index2= form2.append(Test1);
        form2.addCommand(exit);
        form2.addCommand(choose);
        form2.setCommandListener(this);
        display.setCurrent(form2);
        form1.addCommand(exit);
        form1.addCommand(choose);
        form1.setCommandListener(this);
        display.setCurrent(form1);
      public void pauseApp(){}
      public void destroyApp(boolean unconditional){
        notifyDestroyed();
      public void commandAction(Command c, Displayable displayable){
        String label = c.getLabel();
        if (label.equals("Choose")) {
          StringItem message[] = new StringItem[technology.size()];
          boolean get[] = new boolean[technology.size()];
          technology.getSelectedFlags(get);
          for (int i = 0; i < get.length; i++) {
            if (get) {
    message[i] = new StringItem("Your Choice is: ", technology.getString(i));
    form1.append(message[i]);
    form1.delete(index);
    form1.removeCommand(choose);
    } else if (label.equals("Exit")){
    destroyApp(false);
    thanks in advance

    i have developed another midlet with multi forms, but here i am not able to go to next form..
    else if (c == cmdExit)
    display.setCurrent(frmSub);
    boolean picks[] = new boolean[java1.size()];
    StringItem message[] = new StringItem[java1.size()];
    java1.getSelectedFlags(picks);
    for (int i = 0; i < picks.length; i++) {
    if (picks) {
    message[i] = new StringItem("", java1.getString(i) + "\n");
    frmSub.append(message[i]);
    frmSub.delete(javaIndex1);
    destroyApp(false);
    notifyDestroyed();
    To get to +Next Form+ by command +Next+, I would rewrite above code about as follows:
    {code}else if (c == cmdForm)
       display.setCurrent(frmSub);
    }{code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Multi Form App.

    Hello,
    My forms9i application is a multi form app with a menu. I have used Call_Form to show my screens in hte application.
    Now I need to change the application to show multiple screens at a time. ie the user needs to toggle and work b/w multiple screens. I understand that I have to use Open_Form now. And with a new Session for each screen as validations from each screen need to fire?
    I notice that when I use Open_form the menu needto be attached to each screen and my menu need to be enable\disabled in each form! Is this the only way?
    Any other issues that can come up in using Open Form?
    Comment from your experience shall be of great help
    Thanks
    Sajan

    Were you able to find any solution?
    Thanks,
    Venu

  • Multi-form applications

    I have a created a multi-form application where i have a calling form which calls another form. The user could commit changes in the called form and return to the calling form and either have changes in that form committed or rolled back. However, a commit in the called form SHOULD NOT commit any changes in the calling form. All this works fine.
    I have implemented this using "autonomous transaction". I am using the call_form --> open_form sequence for this purpose. i.e there is a call to a dummy form using call_form and this dummy form calls the other form using open_form call. Now, the problem that i have is that, at times the called form gets hidden behind the calling form and what is visible to the user is the calling form - with no access to any items on the form as this form is now NOT the active form in the application. This problem, though not reproducible has occurred many times. I do not have a solution to this. Any suggestions/pointers/soultions most welcome.
    Thanks in advance..

    What are OPEN_FORM,CALL_FORM,NEW_FORM? diff?
    CALL_FORM : It calls the other form. but parent remains active, when called form completes the operation , it releases lock and control goes back to the calling form.
    When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.
    OPEN_FORM : When you call a form, Oracle Forms issues a savepoint for the called form. If the CLEAR_FORM function causes a rollback when the called form is current, Oracle Forms rolls back uncommitted changes to this savepoint.
    NEW_FORM : Exits the current form and enters the indicated form. The calling form is terminated as the parent form. If the calling form had been called by a higher form, Oracle Forms keeps the higher call active and treats it as a call to the new form. Oracle Forms releases memory (such as database cursors) that the terminated form was using.
    Oracle Forms runs the new form with the same Runform options as the parent form. If the parent form was a called form, Oracle Forms runs the new form with the same options as the parent form.
    Call_form.
    BEGIN
    CALL_FORM('FORM2',
    NO_HIDE,
    DO_REPLACE, -- replace menu
    NO_QUERY_ONLY,
    SHARE_LIBRARY_DATA);
    END;
    Syntax
    OPEN_FORM(form_name);
    OPEN_FORM(form_name,activate_mode);
    OPEN_FORM(form_name,activate_mode,session_mode);
    OPEN_FORM(form_name,activate_mode,session_mode,
    paramlist_name);
    OPEN_FORM(form_name,activate_mode,session_mode,
    paramlist_id);
    sarah

  • Re:Close all Forms in Multi-form application

    how to Close all Forms in Multi form application's

    The easiest way would be to create an "initialize"-procedure in a pll, which simple default all the needed globals, if the do not already exist (using DEFAULT_VALUE), and call that procedure form every form in the PRE-FORM-trigger. It won't affect the "integrated" system because it only defaults values if they are not already initialized.

  • Locally deploying Jclient Application

    Can any body tell me the link to the documentation on how to locally deploy jclient application, java -jar app.jar
    which files to be included in the classpath etc.
    Actually I am building the Jclient Application using oracle lite. I was previously deploying it through webstart but was having the error that "no suitable driver"
    The application wroks fine when executed through the jdeveloper.
    So I was thinking that it would also work with local deployment.

    Have a look at the command line JDeveloper uses to run your project (it's in the log window) - there you'll see the list of Jar files that are needed to get your project running.
    Then you can replicate it in your deployment.

  • How to deploy oracle forms + J2EE application in single OC4J instance

    We have ORACLE forms application, which is deployed in OC4J Instance in application server.
    There are some modules, which are developed in Java/J2EE, which are invoked from Oracle forms application. Currently this java application is
    deployed in separate OC4J instance.
    Could you please help us how to combine this forms +J2ee application in single ear file,
    And this ear file has to be deployed in one OC4J instance.

    Maybe have a look at :
    http://download.oracle.com/docs/cd/B14099_19/web.1012/b14032/basics.htm

  • Bookmarks not working in multi-document PDF application

    Why are bookmarks not working in multi-document PDF application when uploaded to the web? We created a multi-document PDF application. All bookmarks and links work on our systems. All work on the customer's system. They do not work when uploaded to the customers website. Their IT department says its an issue of relative vs. absolute addressing. We've created applications like this for years without running into this issue. Can't find anything about it in Acrobat Help. Can anyone help or lead me to help? Thx much, Sandy

    Have you tried opening the file in your browser to see if the bookmarks are working?  To open the file in your browser you need to do this:
    1) Launch your favorite browser;
    2) File >> Open >> Select your pdf file
    See this picture to see what I am talking about.  You might need to click on it to magnify it:
    Good luck.

  • How to register a form in applications

    I am trying to customise the Template form.
    Once this is done, how do I register the customised form in applications.....

    Check Oracle Application Developer's Guide, on Adding Form in Customization Standards.
    http://download-east.oracle.com/docs/cd/B25516_11/current/acrobat/115devg.pdf

  • Retrieving PDF form from Application server

    hi all,
    i am saving a pdf form in application server and when the user wants the same file then i want to retrive that file from application and show the user and it should not be saved to presentation server only he should see it.
    iam able to save it to presentation layer using gui_download but my requirement is not to save it show only display the form.
    Thanks in advance,
    Sree
    helpful answers will be surely rewarded points

    Hi,
    1st solution - use DOI (desktop office integration). This way you can open Adobe, Microsoft, and others application documents directly in the SAP windows. See SAP document how to do it. It's not a little work, but it should fulfill your requirements.
    2nd solution - share the folder with the PDF documents and then with shell command (start
    server\folder\xxxxxx.pdf) at the front end access it and start the associated application at the frontend. I don't recommend this one, sharing folders at the appl.server is a security threat...
    You know about the points and useful answers...

  • How to create dynamic calc account in multi-plan type application

    Hi expert,
    I have a planning application with 3 plan types.
    I created a calculation script which fixed on accounts in plan type 1 only and the calculation suppose to calculate a "dynamiccalc" account with a member formula attached. Everytime I run the script, it takes very long time and I found there are sessions at the back of essbase with "Process local xref/xwrite request" request to other plan types.
    It does not has this kind of session if I change the account to "store".
    Would like to check, is it possible to create a dynamic calc account to calculate for only 1 plan type in a multi-plan type application? Is there any special setting that I need to do to enable this? I already selected source plan type as Plan type 1 for my dynamic calc account. Please help!
    Many thanks!!
    My HP application is on version 11.1.2.1.

    Hi Jake,
    Thanks for pointing out the check box. Overlooked it and the checkbox was not unchecked, even I only wanted the account to exist in 1 of the plan type.
    However, after I unchecked and refresh now, when I run the calc script, it still trigger process at the back to the other 2 plan types with "Process local xref/xwrite request" request. What else could I have missed?
    I already added the "HSP_Nolink" UDA to all accounts in plan type 2 and plan type 3 and confirmed that there's no account with "Xref" member formula, I really don't know why it is trying to process local xref request. Can anyone help??
    Many thanks!!!

  • Picking of Adobe forms from application server

    Hi Gurus
    We have SAP ECC 6.0. So far in our system we have text files and CSV excel files which comes from external system and lies in application sever and these are being picked up automatically by system and gets processed in SAP.
    1)The requirement is to "pick the adobe forms from application server and read some fields in the form and update the fields (required) in customer master data in SAP". How can we achieve this?
    Any kind of help is appreciated.
    Thanks
    Aleem

    Hi Aleem,
    I tried to work on a similar scenario couple of months back. But it was not successful. Will you please let me know if you get any solution???
    Thanks in advance
    Poornima

  • Can we run oracle Forms 5 Application with 10G in Client/Server?

    Hi All,
    Can we run oracle Forms 5 Application with 10G in Client/Server
    Mode?
    Regards
    Gaurav

    In theory you can run it 2 tier - which means that you have the client (the machine the user is sitting at) being the same machine in which the forms application server is running. So yes. But specifically, we don't support a client server runtime anymore. 6i was the last version.
    With 10g you will be running through a browser.
    Regards
    grant

  • How to make multi user drawing application

    how to make multi user drawing application in as 3.0

    I'd suggest using Flash Media Interactive Server if you wish to make this type of application and use Flash as the interface.  I can't give you the details on exactly how to implement it, but using Remote Shared Object and FMIS would serve as the basis.  I believe that the package comes with examples of Shared Objects that can serve as a simple basis from which to proceed.  After that you might want to see if you can find an available whiteboard app that can be leveraged to do as you wish.
    I apologize in advance if using this type of solution is a non-starter, I've been using FMIS locally and have plans to eventually implement something similar to this type of drawing app as well.

Maybe you are looking for

  • Where is "save as Adobe pdf "in backstage for word 2013

    Hi, I saw "save as adobe pdf" in the file tab in office 2013 for some users but I dont know how can I aktive it for my pc?

  • Office 2007 Outlook

    I have created my Outlook InBox view in a certain manner: date; from; subject; attachment etc. Without user action, my view changes. I reported this to our IT team who replied that it is not something they could fix. I have a hard time believing this

  • Dynamic Parallel Processing using Rule

    Hello, I am using a User Decision within a Block (ParForEach type) step to send work-items to multiple Approvers parallelly. For this I have created a Multi-line container LI_APPROVERS and bound &LI_APPROVERS[&_WF_PARFOREACH_INDEX&]& to &_LI_APPROVER

  • Problem on tab in tabstrip

    Hi all,    I want to execute particular code or event when i select a particular tab. But in standard only one event is available, that execute every time when i select any tab in tabstrip.Plz reply.... Regards, Ramesh.

  • Pages Software keeps crashing while using the Instant Alpha tool???

    Hey All- While working in Pages that came preloaded on my new iMac-it keeps crashing while using the Instant Alpha Tool???  Any help on what to do for this???? Rather frustrating-thanks for any help. CPEI59