Master/Detail/Lookup functionality - ApEx and AJAX vs Oracle Forms

I'd like to build a master detail form with some lookup functionality and have some of the fields automatically populated. I come from an Oracle Forms and PL/SQL background so I was hoping for some guidance in ApEx and Javascript for how to achieve the same effect.
If you look at the default Sample Application (DEMO_APP), page 29 has the master record and the corresponding details on the same page.
The functionality I'd like is:
1) when a new product is chosen from the Product Name select list, I'd like the Unit Price to be populated.
2) when the Quantity is updated, I'd like
a) the Extended Price to be recalculated and
b) the Order Total to be recalculated
all before submitting the page. This is pretty trivial in Oracle Forms but I've had limited success with ApEx.
I've been able to achieve 1) in a single record form but not a tabular form using the techniques from Scott's AJAX generator http://htmldb.oracle.com/pls/otn/f?p=33867:2.
I've been able to achieve 2a) in a tabular form using the techniques from Vikas in this thread Tabular form with Ajax
I haven't had any luck getting 2b) to work.
So, is my wish list possible?
If it is, I'd appreciate some pointers and/or code. I don't speak Javascript but I can copy and paste ;)
Cheers,
Bryan.

Hi Carl,
Ok, thanks for the tip - take a look at http://htmldb.oracle.com/pls/otn/f?p=24745 login as demo/demo and edit one of the top orders. This will take you to page 29.
I've changed the 2.0 Sample Application to allow both the unit_price and the quantity to be overtyped. Each column has the 'Element Attributes' property set to onChange="calcTotal(this)" to call the javascript code.
This recalculates the extended_price (feature 2a above) but the order total (or the report total) is not affected (feature 2b) - how can I change the code to achieve this?
If I change an existing line item and choose another product from the select list, I'd like the unit_price and the extended_price to change appropriately (feature 1 above) - having to wait until after the form is submitted is not acceptable to my users.
Thanks for taking the time to look at this - I really appreciate it.
Cheers,
Bryan.

Similar Messages

  • Master Detail with programmatic ViewObjects and writeXML

    Hi,
    Using jdev 11.1.1.3.
    I created two programmatic ViewObjects related by a ViewLink (1to*).
    From an application module method, I create a row in the master ViewObject. Then using the accessor obtain the RowIterator for the detail, and create a row on that detail.
    If then I use the writeXML method on the master ViewObject, the output is only representing the master, not the detail.
    Here is the code:
            VO_MasterImpl voMaster = getVO_Master2();
            //create the master row
            VO_MasterRowImpl rowMaster = (VO_MasterRowImpl)voMaster.createRow();
            String id = "unique";
            rowMaster.setAtt1(id);
            rowMaster.setAtt2("something");
            //obtain the rowIterator for the detail
            RowIterator detail = rowMaster.getVO_Detail();
            //create the detail row
            VO_DetailRowImpl rowDetail = (VO_DetailRowImpl)detail.createRow();
            rowDetail.setAtt1(id);
            rowDetail.setAtt2("sth2");
            //insert the detail row
            detail.insertRow(rowDetail);
            //insert the master row
            voMaster.insertRow(rowMaster);
            //obtain the xml
            Node node = voMaster.writeXML(-1,XMLInterface.XML_OPT_ALL_ROWS);master.att1 is key for Master.
    detail.att1 is foreign key to Master.
    This is the contents of node:
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <VO_Master><VO_MasterRow><Att1>unique</Att1><Att2>something</Att2></VO_MasterRow></VO_Master>What I would expect is that the detail row (<VO_DetailRow>) appears within the <VO_MasterRow>.
    Anyone knows what I'm missing here?
    Thanks
    Roger B
    Edited by: RogerB on 30-Dec-2010 02:16

    Hi,
    After some more tests...
    As said before, I tried with SQL VOs (Dept and Employees). No differences between the VL Dept and Emp, and the VL VO_Master and VO_Detail. They have same relationship (1 to *) and also same (changing names) SQL where (source and destination).
    I debuged the code, using ADF source code, and noticed the following:
    When iterating the rows to write the XML, at ViewRowImpl, it takes the AttributeDef and perform different actions depending on mKind (ATTR_ASSOCIATED_ROW or ATTR_ASSOCIATED_ROWITERATOR). Second one is for ViewLink.
    Once inside ATTR_ASSOCIATED_ROWITERATOR, I can see that the default RowSetIterator, has no rows (getRowCount = 0). So no child rows (for the VO_Detail), are added to the XML Node.
    On the other hand, the Dept and Employees, I can see that the default RowSetIterator has rows.
    Could this be related to the fact that Programatic ViewObjects are not persisted anywhere?
    any other clues appreciated? Does anyone tried this before (programatic master detail relationship writing to XML) ?
    Regards,
    Roger

  • Regarding installation and usage of oracle forms 11g on windows 7

    dear all,
    i am new to the oracle forms and reports feature. i tried installing forms and reports following certain steps which i could find from the internet, but it could not be installed.
    i ended up crashing my system.can anyone of you help me in providing the step by step installation of oracle 11g forms and reports on windows 7 64 bit.
    regards,
    sreejith

    When I was cleaning my email account i noticed message from OTN forum. I forgot to reply :/
    I followed instructions from the message above and it worked. Oracle XE + PPRD (only forms to save disk space and RAM) + weblogic, i have also installed APEX 3.2.1. It all works at my win 7 system
    There where one bug in forms builder database connector, solution was to replace it with the file from SQL*Plus (AFAIR it was tnsnames.ora file)
    So thank you Chris999, you helped me a lot.

  • MORE DETAIL ABOUT MY problem (Configuration Steps for Oracle Forms installation)

    OS:WINDOWS 2000 SERVER
    DB:8I
    FORMS:6I
    I WANT TO TEST MY FROM TO RUN ON THE WEB ONLY TEST BY (RUN FROMS IN THE WEB)
    BUT I CAN'T DO CONFIGRURATION STEPS (VIRTUAL PATH)
    WHERE I CAN DO THIS CONFIGRATION
    Configuration Steps for Oracle Forms installation of 06:05:38 2002/10/18
    This file gives details of the configuration steps done for you by the installation process
    (marked '[INFO]') and of any actions you need to do manually (marked '[ACTION]'). Please read
    this file and perform the requested actions.
    [ACTION] If you are installing in a new Oracle Home, please reboot the machine after the installation.
    [ACTION] Please configure the following virtual path with your web listener: /dev60temp for
    physical directory F:\devnt\tools\web60\temp.
    [INFO] NT service Oracle Forms Server [Forms60Server] has been created and started for
    the Forms Server.
    [ACTION] Please configure the following virtual path with your web listener: /forms60java for
    physical directory F:\devnt\FORMS60\java.
    [ACTION] Please configure the following virtual path with your web listener: /dev60html for
    physical directory F:\devnt\tools\web60\html.
    [ACTION] Please configure the following virtual path with your web listener: /dev60cgi for
    physical directory F:\devnt\tools\web60\cgi.
    [INFO] An internet shortcut to run a standard test form, or any form of your choice, has been
    created for you in the Oracle Forms program group.
    [ACTION] Please configure the following virtual path with your web listener: /jinitiator for
    physical directory F:\devnt\JINIT.

    Hi Guys,
    Any help on this request will be very helpful.
    Thanks,
    Ashok Kumar.G

  • Cannot load Java plug-in and access R12 Oracle form from client

    Hi, one of my user cannot open Oracle form when accessing R12 environment using IE6. After selecting responsibility and menu, it got stuck after 50% processing when trying to load Java applet. It never got completed even after waiting for 2-3 hours.
    Is there any browser setting that needs to be modified? I checked popup blocker and activeX setting. All seem to be in order. Kindly assist. Thanks.

    Hi,
    What is the difference between this client and other clients?
    Delete the browser cache/history files and check then. If this does not help, enable trace for JRE (as per Note: 549423.1 - How to enable tracing and logging for Sun JRE (Native Plug-in)) and see if it shows any errors when you encounter this issue.
    Regards,
    Hussein

  • Copy and Paste from Oracle Forms to Excel

    Hi to All,
    I ran into this unusal problem with one user. She is trying to copy data in a cell from oracle form to excel. She does control+c and tries to control+v in excel. The data does not get pasted.
    I tried logging into oracle on her pc and do the same method. I get the same results.
    We tried copy from the menu bar in oracle and go into excel , menu and do paste. And it does not paste.
    I did a test from copy from word document to excel...that worked.
    We tried a different pc and everything worked.
    Is there a setting in oracle when i do a copy that is not copyin the cell correctly. Any tips how to resolve this problem.
    Thanks in advance for help in this matter.

    If it only happens on one PC, then usually there is a problem with the PC showing the "yellow bars" when logging into Oracle Forms. Otherwise, there is a more global problem with unsigned JAR files on the server.
    Unable To Copy And Paste Text To Desktop Applications From Core Applications
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=434038.1
    Cannot Cut, Copy, or Paste from a Desktop Application into Oracle Applications
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=168280.1
    Cannot Perform a Copy and Paste from release 12.0.4 from or to Excel
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=735670.1

  • We want to read data from weigh bridge and display in oracle forms & store

    Sir/Madam,
    in our organisation we had one requirement. i.e is reading data from weigh bridge using serial port, displying that data in oracle forms and when ever user click save button we store that into my oracle database. we are using oracle 8i and forms 6i and windows OS environment. we don't know reading data from serial port and placing that into form items. please help me as early as possible if there is any property available in d2k regarding this requirement .
    thank you,
    vishnu

    There's no property in Forms that makes you read serial ports, but as far as I know you need to know the API of the machine which you want to read data from (it should come with machine's manual) and then it will be easy to store it in forms item.
    Tony

  • How can I get the username and password from Oracle Forms to PJC !

    Dear Sir,
    I have username,password and push button fields in oracle forms. When user clicks the push button, I need to get username and password field contents to my Pluggable Java Program to authenticate the user trying to login. How can I get those text field contents to my java program..? Looking forward from you soon sir.
    Thanks in Advance,
    S Ramkumar

    I tried that trigger but nothing reflects. I write that method in WHEN_BUTTON_PRESSED trigger.
    In the form module I written,
    Set_Custom_Property('BL.USERNAME',1,'NAME','');
    Set_Custom_Property('BL.PASSWORD',1,'PASS','');
    Implementation class of the push button I gave my java class file name.
    In Java Code I tried register the form fields like,
    public static final ID userName = ID.registerProperty("NAME");
    public static final ID passWord = ID.registerProperty("PASS");
    In Java Code I tried get the contents from registered properties,
    public boolean setProperty(ID property, Object value) {
    if(property == userName) {
    System.out.println("Just I wish to see the name entered" + value.toString());
    if(property == passWord) {
    System.out.println("Just I wish to see the pass entered" + value.toString());
    But even System.out.println() is working.
    What's wrong with this code sir ???
    Can you tell me How to register and get those field values in Java ?

  • Insert picture in a blob column and show in oracle forms

    hi ,
    please help me with this
    I am trying to insert a picture into a blob column of a table and show that in oracle forms , but not able to do it .
    I am using version 10g for both database and forms .
    Please tell me how to insert a picture in a blob column that is stored in my 'c:\test' folder
    and also how to show that in forms .

    To populate the Image Item you have to use the Webutil Client_Read_Image_File() built-in.
    here
    http://www.oracle.com/webapps/online-help/forms/10g/state?navSetId=_&navId=3&vtTopicFile=f1_help/builtn_r/readimag.html&vtTopicId=
    To add an Image Item to your block based on the table that contains the BLOB column, then give this Image Item the BLOB column name.
    So that, all you have to do is to execute query on that block.

  • Want to Read BLOB data and display on Oracle form

    Hi All,
    I have a table with a BLOB field and there is blob data saved here against a account id.
    I want to display the blob data on the oracle forms front end for the queried account id
    Any one to help me out how to read and display blob data in Oracle and display the same
    Tks

    this is a commoon request please try to search the forum.

  • Interaction between Writer and JavaBeans with Oracle Forms

    Hi, guys,
    I've been facing some difficulties trying to integrate Writer and Oracle Forms Web (10g). I'm able to open a Writer Document by using a JavaBean executed from Eclipse, but I cannot get the same operation working from forms web. Has anyone ever tried to do somenting like that? Is there a solution to communication between Forms 10G and OpenOffice Writer and how to do it?
    Thanks in advance.

    Hi, François!
    Thanks for your prompt answer. But I still have some questions. The Bean I'm using is the OOoBean, provided by OpenOffice and there isn't much documentation around. I have to control the Writer text editor from forms 10G, but I haven't been successful in my goal.
    I'll show the code I'm using in eclipse. I need to adapt it to work in Forms 10G.
    $RCSfile: OOoBeanViewer.java,v $
    * $Revision: 1.3 $
    * last change: $Author: vg $ $Date: 2005/02/16 16:22:52 $
    * The Contents of this file are made available subject to the terms of
    * the BSD license.
    * Copyright (c) 2003 by Sun Microsystems, Inc.
    * All rights reserved.
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    * 1. Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * 2. Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in the
    * documentation and/or other materials provided with the distribution.
    * 3. Neither the name of Sun Microsystems, Inc. nor the names of its
    * contributors may be used to endorse or promote products derived
    * from this software without specific prior written permission.
    * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
    * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
    * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
    * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
    * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
    * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
    * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
    * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
    * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
    * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    import javax.swing.filechooser.*;
    import javax.swing.*;
    import com.sun.star.comp.beans.*;
    import java.io.*;
    /** A simple Applet that contains the SimpleBean.
    * This applet is a sample implementation of the
    * OpenOffice.org bean.
    * When initally loaded the applet has two buttons
    * one for opening an existant file and one to open
    * a blank document of a given type supported by
    * OpenOffice.org eg. Writer, Calc, Impress, .....
    public class OOoBeanViewer extends java.applet.Applet
    * Private variables declaration - GUI components
    private java.awt.Panel rightPanel;
    private java.awt.Panel bottomPanel;
    private javax.swing.JButton closeButton;
    private javax.swing.JButton terminateButton;
    private javax.swing.JButton newDocumentButton;
    private javax.swing.JPopupMenu documentTypePopUp;
    private javax.swing.JCheckBox menuBarButton;
    private javax.swing.JCheckBox mainBarButton;
    private javax.swing.JCheckBox toolBarButton;
    private javax.swing.JCheckBox statusBarButton;
    private javax.swing.JButton storeDocumentButton;
    private javax.swing.JButton loadDocumentButton;
    private javax.swing.JButton syswinButton;
    private JTextField documentURLTextField;
    private JMenuItem item;
    private JFileChooser fileChooser;
    private byte buffer[];
    * Private variables declaration - SimpleBean variables
    private OOoBean aBean;
    * Initialize the Appplet
    public void init()
              //The aBean needs to be initialized to add it to the applet
              aBean = new OOoBean();
    //Initialize GUI components
    rightPanel = new java.awt.Panel();
    bottomPanel = new java.awt.Panel();
    closeButton = new javax.swing.JButton("close");
    terminateButton = new javax.swing.JButton("terminate");
    newDocumentButton = new javax.swing.JButton("new document...");
    documentTypePopUp = new javax.swing.JPopupMenu();
    storeDocumentButton = new javax.swing.JButton("store to buffer");
    loadDocumentButton = new javax.swing.JButton("load from buffer");
    syswinButton = new javax.swing.JButton("release/aquire");
    menuBarButton = new javax.swing.JCheckBox("MenuBar");
              menuBarButton.setSelected( aBean.isMenuBarVisible() );
    mainBarButton = new javax.swing.JCheckBox("MainBar");
              mainBarButton.setSelected( aBean.isStandardBarVisible() );
    toolBarButton = new javax.swing.JCheckBox("ToolBar");
              toolBarButton.setSelected( aBean.isToolBarVisible() );
    statusBarButton = new javax.swing.JCheckBox("StatusBar");
              statusBarButton.setSelected( aBean.isStatusBarVisible() );
    documentURLTextField = new javax.swing.JTextField();
    //Set up the Popup Menu to create a blank document
    documentTypePopUp.setToolTipText("Create an empty document");
    item = documentTypePopUp.add("Text Document");
    item.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    createBlankDoc("private:factory/swriter",
    "New text document");
    item = documentTypePopUp.add("Presentation Document");
    item.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    createBlankDoc("private:factory/simpress",
    "New presentation document");
    item = documentTypePopUp.add("Drawing Document");
    item.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    createBlankDoc("private:factory/sdraw",
    "New drawing document");
    item = documentTypePopUp.add("Formula Document");
    item.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    createBlankDoc("private:factory/smath",
    "New formula document");
    item = documentTypePopUp.add("Spreadsheet Document");
    item.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    createBlankDoc("private:factory/scalc",
    "New spreadsheet document");
    syswinButton.addActionListener(
                        new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
                        try
                             aBean.releaseSystemWindow();
                             aBean.aquireSystemWindow();
                        catch ( com.sun.star.comp.beans.NoConnectionException aExc )
                        catch ( com.sun.star.comp.beans.SystemWindowException aExc )
    storeDocumentButton.addActionListener(
                        new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
                        try
                             buffer = aBean.storeToByteArray( null, null );
                        catch ( Throwable aExc )
                             System.err.println( "storeToBuffer failed: " + aExc );
                             aExc.printStackTrace( System.err );
    loadDocumentButton.addActionListener(
                        new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
                        try
                             aBean.loadFromByteArray( buffer, null );
                        catch ( Throwable aExc )
                             System.err.println( "loadFromBuffer failed: " + aExc );
                             aExc.printStackTrace( System.err );
    closeButton.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    close();
    terminateButton.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    terminate();
    newDocumentButton.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
    documentTypePopUp.show((java.awt.Component)evt.getSource(), 0,0);
    menuBarButton.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
                        aBean.setMenuBarVisible( !aBean.isMenuBarVisible() );
    mainBarButton.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
                        aBean.setStandardBarVisible( !aBean.isStandardBarVisible() );
    toolBarButton.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
                        aBean.setToolBarVisible( !aBean.isToolBarVisible() );
    statusBarButton.addActionListener(new java.awt.event.ActionListener()
    public void actionPerformed(java.awt.event.ActionEvent evt)
                        aBean.setStatusBarVisible( !aBean.isStatusBarVisible() );
    documentURLTextField.setEditable(false);
    documentURLTextField.setPreferredSize(new java.awt.Dimension(200, 30));
    rightPanel.setLayout( new java.awt.GridLayout(10,1) );
    rightPanel.add(closeButton);
    rightPanel.add(terminateButton);
    rightPanel.add(newDocumentButton);
    rightPanel.add(storeDocumentButton);
    rightPanel.add(loadDocumentButton);
    rightPanel.add(syswinButton);
    rightPanel.add(menuBarButton);
    rightPanel.add(mainBarButton);
    rightPanel.add(toolBarButton);
    rightPanel.add(statusBarButton);
    //bottomPanel.setLayout( new java.awt.GridLayout(1,1) );
    bottomPanel.setLayout( new java.awt.BorderLayout() );
    bottomPanel.add(documentURLTextField);
    setLayout(new java.awt.BorderLayout());
    add(aBean, java.awt.BorderLayout.CENTER);
    add(rightPanel, java.awt.BorderLayout.EAST);
    add(bottomPanel, java.awt.BorderLayout.SOUTH);
    * Create a blank document of type <code>desc</code>
    * @param url The private internal URL of the OpenOffice.org
    * document describing the document
    * @param desc A description of the document to be created
    private void createBlankDoc(String url, String desc)
              //Create a blank document
              try
    documentURLTextField.setText(desc);
    //Get the office process to load the URL
    aBean.loadFromURL( url, null );
                   aBean.aquireSystemWindow();
              catch ( com.sun.star.comp.beans.SystemWindowException aExc )
                   System.err.println( "OOoBeanViewer.1:" );
                   aExc.printStackTrace();
              catch ( com.sun.star.comp.beans.NoConnectionException aExc )
                   System.err.println( "OOoBeanViewer.2:" );
                   aExc.printStackTrace();
              catch ( Exception aExc )
                   System.err.println( "OOoBeanViewer.3:" );
                   aExc.printStackTrace();
                   //return;
         /** closes the bean viewer, leaves OOo running.
    private void close()
                   setVisible(false);
                   aBean.stopOOoConnection();
                   stop();
                   System.exit(0);
         /** closes the bean viewer and tries to terminate OOo.
    private void terminate()
                   setVisible(false);
                   com.sun.star.frame.XDesktop xDesktop = null;
                   try {
                        xDesktop = aBean.getOOoDesktop();
                   catch ( com.sun.star.comp.beans.NoConnectionException aExc ) {} // ignore
                   aBean.stopOOoConnection();
                   stop();
                   if ( xDesktop != null )
                        xDesktop.terminate();
                   System.exit(0);
    * An ExitListener listening for windowClosing events
    class ExitListener extends java.awt.event.WindowAdapter
    * windowClosed
    * @param e A WindowEvent for a closed Window event
    public void windowClosed( java.awt.event.WindowEvent e)
                   close();
    * windowClosing for a closing window event
    * @param e A WindowEvent for a closing window event
    public void windowClosing( java.awt.event.WindowEvent e)
    ((java.awt.Window)e.getSource()).dispose();
    public static void main(String args[])
    java.awt.Frame frame = new java.awt.Frame("OpenOffice.org Demo");
    OOoBeanViewer aViewer = new OOoBeanViewer();
    frame.setLayout(new java.awt.BorderLayout());
    frame.addWindowListener( aViewer.new ExitListener() );
    aViewer.init();
    aViewer.start();
    frame.add(aViewer);
    frame.setLocation( 200, 200 );
    frame.setSize( 800, 480 );
    frame.show();
    }

  • Copy form Wrod document and Paste in Oracle Forms not working

    Hi
    In one Oracle Finacial instance Copy from other document (word or Excel) and Paste in Oracle Financial Forms not working. Any body know the reason for this?
    Eg. Copy Invoice Number form Excel and Paste it in Some of the payable forms or any other forms
    Regards
    Sunil

    Hi
    We have tried this but no output. ie the issue continues the same. This issue is there for all PC including Server. Is there any other solution avaliable. .
    Regards
    Sunil

  • Apex and Ajax - Update a part of a page

    Hi guys,
    I have six regions on my page. One of the region has a submit button and two datetime pickers with a flash chart. When i choose datetime intervals and press button ,
    only this region should be refreshed not the entire page , so i need to use ajax. Do you have any idea?
    Thanks.

    Hi unnamed User,
    i have lots of (good) ideas.
    At first please tell us more about your environment. Which version of APEX do you use and so on.
    If you are on APEX 4.0 or 4.1 i would use a dynamic action and trigger a refresh on that chart.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Master - Detail for View Object and Javabean

    I have a table which data comes from VO (database, let's say from table A). This table has table Id, name, and processId. I also created a second table below the first table, which data comes from a javabean (data from non-DB source). I created a data control from this bean, which in turn I created the second table.
    What I am trying to achieve is that when a user select a row from the first table, I would like the second table is refreshed based on processId value of the row selected from the first table.
    Would you share how to achieve this?
    Thanks.

    Hi Shay,
    I created the javabean with an exposed method with parameter. I created the parameter form and a table that PPR to the form and each component in it (just to be sure). Unfortunately, the table shows nothing after pressing the button.
    I ended up creating custom row selection listener and for each selection, then in backing bean, I pass the value from selected record to the VO (data from DB table) and execute the query. This works fine when a user select a record.
    Unfortunately, on page load, the query is also execute and show a record that has nothing to do with the main table. I set the table not to have any row selected on page load (this works), and try to set refresh Condition to #{!adfFacesContext.initialRender} on the VO (data from DB table) to avoid query on load (this doesn't work). No row is selected on page load, but the query is still running and show the first record of VO query (nothing to do with the master table).
    Any other suggestion?
    Thanks.

  • Apex and Ajax tutorial link

    Hi,
    I want to use Ajax in my Apex application. How can I use it? Can anyone guide me to proper link or howtos or any example?

    Try this link, you should get plenty of examples on those pages.
    http://www.google.com/search?hl=en&q=APEX%2BAJAX&btnG=Google+Search
    Alexandre.

Maybe you are looking for

  • Document Management Storage

    I have diff. types of document such as Word, drawing, PDF, What are the pros and cons of saving on shared file server vs. sap database (secure storage area). What is the configuration steps for each ? Thank you, Sam

  • Service Registry's Dynamic Lookup of BPEL Partner Link not working

    Hi, Software : SOA 10.1.3.1 OS : Windows XP, 2000 I have deployed webservice application (GetMaxOfTwo) which will give me max of 2 values. Registered the WS in OWSM with user authentication. Registered newly generated WSDL in OSR (Oracle Service Regi

  • EMail sending issues?

    I seem to be having mixed results when I get an email on my phone, using my wireless network at home or in public. About 50% of the time I get a bounce "Server rejected Address" or something to that effect - when I am REPLYING to an incoming email. T

  • SCOM 2012R2 Re-Create OperationsManagerDW (Data Warehouse DB)

    Hi, I know it's daft, but the disk's that housed my DW (and stupidly it's backups) have gone POP! I've replaced etc, but now I need to Re-Create the DW, I know this is not as easy as it used to be nowadays as it's created at install time, and there's

  • Enterprise Manager for Linux Fedora Core 10g

    Enterprise Manager Fedora Core 2 with Oracle 10g. I can not locate OEMAPP anywhere on my disk. I have reinstalled the system several times, but it does not seem to get installed on my computer. I have no problem with the system otherwise, and can run