Call Oracle ADF Forms - refresh problem makes it unusable!

Hello world!

I use JDeveloper 11.1.1.4.0 and I need to call a form of Oracle (10g of form) inside my ADF application. I did exactly what is explained in the Oracle documentation at this link

http://www.Oracle.com/technetwork/articles/ADF/Wilfred-ADF-forms-099635.html

and it works very well. I put the code within a region which lies in a page of tabs in my ADF application. The problem is that do EVERYTHING outside this form (tab page change, press a button,...) makes the page refresh and my form resets (in fact, this is the applet which reloads).

How can I avoid this? Is it possible to make the form stay alive, even trigger events of the ADF? As it is now launching a form inside the ADF is completely useless.

I posted this question also in the JDeveloper forum, but no answer then perhaps someone here can help you.

Thanks in advance for any suggestion

Roberto

Shaped 11g, you can set the following parameter in the server configuration file Forms formsweb.cfg 'legacy_lifecycle = true', which will prevent the applet restart when the ADF pages are between the loading of the page. However, I don't know if it exists in the form of 10g. Give it a try.

Thank you

Gavin

Tags: Oracle Development

Similar Questions

  • How to call oracle Standard form of page style and element OFA should be 'Link '.

    Hi friends,

    I am new to OFA, I want to know how to call oracle OAF page Standard form and style of element must be "link."

    If I click on the element, it should put me in oracle Standard form.

    No button style of the element must be point "link."

    Please help me.

    Thank you

    Thiru.

    Trapani,

    It seems that your link triggers the Action, or you capture does not correctly.

    Add a debug message in your code and see what is printed.

    String eventParam = pageContext.getParameter(EVENT_PARAM);
    System.out.println("eventParam : "+ eventParam);
    if("openForm".equalsIgnoreCase(eventParam))
    {
      System.out.println("Inside If"");
      String destination ="form:SQLAP:PAYABLES_OPERATIONS:STANDARD:AP_APXSUMPS";
      pageContext.forwardImmediatelyToForm(destination);
    }
    

    Also check the settings:

    In your first post is the name of the function: AP_APXSUMPS, but the recent told FND_APXSUMPS.

    The resp_key was also PAYABLES_OPERATIONS and now PAYABLES_PS_FR

    As a test for the link, use the one that works, and then change appropirately.

    See you soon

    AJ

  • Oracle ADF Form Data was not added to DB.

    I created a VO(I have given Updatable:Always and i have checked in source that IsUpdateable="true") based query and added that in the morning, I created a form with CreateInsert operation ADF, when click button CreateInsert he created an empty form.
    After be the Date in this field empty, when I click on the button of validation Data is not recording in DB.
    After that,.
    I appointed a Readonly array with the iterator, when I click "Commit" it was seedlings that are adding data to the New line in this Table Readonly, but when I was checking in DB, The Data is not added to DB
    I use 11.1.2.3.0 version jdeveloper.

    Any help is appreciated...

    Published by: René Thippireddy on February 4, 2013 08:47

    You're wrong on a conceptual level. A VO based on a query is not insert/update/delete all DB data. You create a VO based on the entity, if you want to make insertion/update / deletion of data in DB.

    When you run a commit on an AM operation, he finds objects of entity created/modified/deleted, and then performs the corresponding DML operations on DB. (In fact, DML operations are performed by objects of entity. Is there is no entity object, then there is no DML operation). If your VO is not based on the entity (but based on a query), you have not all ADF created/modified/deleted entities, so there are noted for the outcrop of the DB.

    The property 'Can' of the VO attribute controls whether VO should allow entry of data or the modification of these attributes in memory. You can have the basic attributes other than the entities that are marked as "editable" (for example, transient attributes store temporary values in memory), but this does not mean that these attributes will be emptied to DB.

    You've seen the data in the table read-only, because it is based on the VO even and it displays the newly created line, which is in memory.

    Dimitar

    Published by: Dimitar Dimitrov on February 4, 2013 19:00

  • integration of oracle ADF forms

    Hi all
    I've developed a sample form using the generator of forms of oracle 10g, I want to integrate it into the ADF
    can someone give me the process of integration of the forms to the ADF.
    I want the screen sort of the whole process.

    Please answer...

    http://www.commit-consulting.com/oraformsfaces/

    François

  • Call PL/SQL and Oracle ADF Application reports Open functions

    Hi all

    My company will convert some projects of Oracle forms to Oracle ADF, so we must call the PL/SQL functions and open the Oracle reports (which are already exist) the ADF application.

    Thank you..

    Jack.N

    Hi Jack.N,

    call the functions PL / SQL---> http://sameh-nassar.blogspot.com/2010/01/create-plsql-function-and-call-it-from.html

    Open Oracle reports---> http://radio-weblogs.com/0137094/2008/06/15.html

    There is integration between the ADF and other systems in---> http://wiki.oracle.com/page/ADF+Integration

    Sameh Nassar

  • Oracle ADF Mobile - Android SDK problem

    Hello

    I use Jdev11.1.2.4.0 with ADF Mobile framework 11.1.2.4.39.64.71 EQUIPPED. While I'm deploying application in the Android emulator more precisely Android SDK Manager 22.2.1.

    I got an error like.

    CreateProcess error=2, The system cannot find the file specified in android "C:\Program Files\Android\platform-tools\aapt"":;
    
    

    of this error. I got to know, aapt is not in the path mentioned during execution.

    But see my configuration below. I loaded different directory.

    Location of the Android SDK:

    F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk

    Location of the Android platform:

    F:\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\adt-bundle-Windows-x86_64-20130917\sdk\platforms\android-18.

    Little, I've observed, earlier we use ADF Mobile framework 11.1.2.3.xx.xx. Now, we are updated to 11.1.2.4.39.64.71. And,

    Also AVG Antivirus installed.

    I did a few months ago before deployment. I force get this error.

    My basic questions:

    1. how to solve this error. ?

    2. I loaded different directory. Why is he trying to extract from another directory. ?

    More clearly... / Platform-tools\aapt is available in drive f but it is looking for drive C Program Files...

    Help me understand...

    During this time. I have goggled out, I got a link from Jobinesh.

    Binary: Error during the deployment of the CRG app for android - cannot run the program "adt-bundle-windows-x86_64-20140321\sdk\tools\zi..."

    This link is not accurate. But it helps me understand, I need to move the files to the mentioned location. But it is not sensible for me in my case.

    Thank you

    Kaim.

    You must use Oracle MAF instead of Oracle ADF Mobile in the future.

    Google continues to change the location of the files in their installation of SDK - so change between versions of the API of the location of the files.

    Make sure that you use the API right supported by your Mobile ADF or the version of the MAF.

  • How to call oracle forms report using parameterlist for parameters

    Dear all,
    I want to know how to call oracle forms report and parameter passing between the report and the form with the list of parameters?
    can someone help me?

    What research? The forum is full of examples.

  • Implementation of internationalization in Oracle ADF, little problem

    Hi all I have a simple question.
    I can't internationalization dialog box find and select popup.
    I read all the document on the implementation of internationalization in Oracle ADF and can't see where are a mistake.

    Anyway what I did:
    Create Java class in the proposed notice:
    SerializableAttribute public class BLAFBundle_sr extends ListResourceBundle {}
    public Object [] [] getContents()
    {
    return the content;
    }
    public static final [] content object [] = {}
    {'Is', "Pretraga"},
    {"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
    {"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
    }
    Faces-config as a whole
    <>regional-config settings
    SR < default locale > - < / default locale >
    <>- taken in charge local sr < / supported regional settings >
    < / regional-config settings >
    <>resources-bundle
    < name-base > SistemskeKlase.BLAFBundle_sr < / base-name >
    SR < var > < / var >
    < / resource-bundle >

    The value of my internet explore on the language of the sr,
    Project set up to use Automaticly bundle sync
    and the name of the default package as SistemskeKlase.BLAFBundle_sr

    And nothing happened after the creation and execution of project

    I think that you are using the incorrect name of resource string in your method

    static final Object[][] contents = {
    {"SEARCH_TEXT", "Pretraga"},
    {"SIMPLE_SEARCH_TEXT", "Prosta pretraga"},
    {"ADVANCED_SEARCH_TEXT", "Napredna pretraga"}
    }
    

    I can't find these strings SEARCH_TEXT, SIMPLE_SEARCH_TEXT, ADVANCED_SEARCH_TEXT in the selectors for ADF Faces components counting merger
    http://docs.Oracle.com/CD/E21764_01/apirefs.1111/e15862/TOC.htm

  • Form of the ADF delete function problem

    Hi all

    I use JDeveloper 11 g. I have a simple Edit ADF form that comes from a table of the ADF. It contains two buttons edit and delete what to change or to delete the current record in the page. It seems that the Edit function works fine. When I try the function delete and return to the table, the record disappears. It looks like the first work fine. However, when I check the database, the reocrd is always there. When I restart the application, the record is back on the table. Obviously, the reocrd is not deleted from the database.

    Button Delete is created from the operations associated with the collection of the object in the data controls panel. Does anyone know what I'm missing here that the detected function works correctly?

    Any help is appeciated.

    Thank you

    John W

    Oops... put an apostrophe in the text of a hyperlink does not play very well. I took out, and now you can see the link to the post that shows you how...

  • &lt; oracle.adf.view &gt; &lt; UnifiedPopupTag &gt; &lt; setVisible &gt; &lt; 'visible' accessor property Set uses a no-op implementation.

    Jdev Version: JDEVADF_11.1.1.7.2ADF - FAREL8 - BP_GENERIC_131030.1412.6661.3

    Click and cancel popup, we see the following in the console:

    < oracle.adf.view > < UnifiedPopupTag > < setVisible > < 'visible' accessor property Set uses a no-op implementation. Used in the extreme cases, when the value of the property, beyond the default value, leads to undesirable behaviors. >

    Is this a problem? If so, suggestions on how to fix?

    Thank you

    R

    This message is a warning that you somehow try to use the setVisible of a popup that does not work as it does nothing. The setVisible() method is obsolete and does nothing but write the message in the log.

    There is not that you can do about it, but to avoid calling setVisible on the popup.

    Do you have somewhere in your code call setVisible on the popup (or use the visible property of the popup on the page?

    Timo

  • [JDev12.1.2, ADF, GlassFish 4] A few questions on the tutorial of Shay "Deploy Oracle ADF Essentials Applications to Glassfish"

    Hallo (Shay),

    I want to deploy my application Web ADF to GlassFish that is installed on a different server from the development computer.

    The application interacts with a MS SQL Server database.

    I have some doubts/questions on the tutorial of Shay https://blogs.oracle.com/shay/entry/deploying_oracle_adf_applications_to

    So far in the development phase, I deployed the application only to the JDeveloper-itegrated WebLogic Server on the development computer.

    Creating a connection pool

    • I could successfully creates a pool of connections only by copying the sqljdbc4.jar library in the C:\glassfish4\glassfish\libdirectory. Is this OK or should the library remain in C:\glassfish4\glassfish\domains\domain1\lib?
    • Is there a way to hide the password in the additional properties?
    • Is there any setting for the property should do (especially for MS SQL Server)? For example, somewhere I read that the isolation of transactions should be set to read uncommitted... but I did not understand why.
    • What is the difference between types java.sql.DataSource resources and java.sql.XADataSource?

    In JDeveloper application configuration

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) set to java: comp/env/jdbc/MyDatabase_DB_SQLServerDS. If I change this field value to jdbc / < name_of_jdbc_resource_created_in_GlassFish >, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What's wrong?
    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    Taking care of the libraries used by the application

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files I put in C:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Other questions

    • What is the difference between putting a library in the lib of GlassFish folder and put it in the folder lib of Domain1?
    • Deployment procedure used by Shay in his tutorial might also be used to deploy the application on a remote production server?
    • Is there a way to manually delploy an application, for example by copying manually under GlassFish project folder?
    • My final goal is as follows. I have a clean Setup that allows me (1) to continue to run the application in JDeveloper on its built-in WLS, (2) to test the application to the GlassFish that I have installed on the computer development and (3) delploy the application on the remote production server. Could help me do that?

    These are a lot of questions.

    I thank in advance all the users who want to respond and I hope that the answers to these questions will help also others.

    Ciao,.

    Federico

    Federico - most of your questions is generic Glassfish questions that do not specifically have anything to do with ADF - I recommend that you post on the forum of Glassfish. (Or read the Glassfish documentation for things like the difference between directories and deployment/admin console).

    >>

    • Since the beginning of its development, the local configuration of the application Module has the name of data source (JDBC data source) parameter tojava:comp / env/jdbc/MyDatabase_DB_SQLServerDS. If I change the value of this field of jdbc /, as in the tutorial of Shay, it is not longer possible to run the application in JDeveloper (so using the WebLogic JDeveloper-itegrated server). Why? What is the problem?

    This is because JDeveloper uses an integrated WebLogic when you run and therefor cannot use the data source of Glassfish.

    I suggest that make you this change only when you go to deploy on Glassfish.

    >>

    • JDeveloper offers only the choiche GlassFish 3.1 as a platform for the deployment, but I'll use GlassFish 4. Perhaps this cause problems?

    We don't know, as the matrix of certification for the ADF will show that we have not tested/certified this combination.

    Oracle JDeveloper and ADF 12 c (12.1.3) supported systems

    >>

    • In the project properties, between the libraries and railways class there are a few additional libraries I've used in applications. Here's the JAR files that I put inC:\JDeveloper\lib. I copy these libraries on the production server? If Yes, where?

    Use the properties of project-> libraries and class path to add the jar or create a library and add it to your project.

    Make sure that this library is deployed by default.

    >>

    • Deployment procedure used by Shay in his tutorial can also be used to deploy the application on a remote production server

    Yes

    > Is there any property setting should do (especially for MS SQL Server)?

    Oracle ADF business with several databases components

  • Development of rich Web Applications with Oracle ADF tutorial

    Oracle JDeveloper 12 c (12.1.2) tutorials - developing rich Web Applications with Oracle ADF

    3.8 step that a change in the Salary field should translate into a auto update, partial trigger, in terms of annual salary after tabbing off the Salary field, but it doesn't. If I do a update for the Salary field and click on the next button, click the back button, I can see the field update of annual salary.

    I use the version of the JDeveloper IDE with the logical Web server and Apache Derby network server - 10.8.2.2.

    Oracle IDE12.1.2.0.40.66.68

    I made all the changes or the steps in the tutorial.

    No idea why the automatic update does not work on my system?

    Thanks in advance for your suggestions!

    Hello

    two suggestions

    1 set the property clientComponent on the field of output annual salary to 'true '. Because the field is an element of output text sometimes what makes a client component helps the update.

    2 obtain the completed application to http://docs.oracle.com/cd/E37547_01/tutorials/tut_rich_app/labs/richclient.zip and check if she works there. If this works it then the problem is in your implementation. But then you have a working example to compare with.

    Frank

  • error on service cloud oracle adf application deployment

    Hello, I hv saved cloud oracle java and database service. I hv created adf simple application in which there are 2 jsf pages only linked together. I m using oracle jdeveloper 11 g 2. so I hv created file ear for deployment in the cloud. I have deployed adf the cloud using the java console application. But after downloading applications, deployment failed. I tried 3 times, but the result was the same. I checked the logs, I got 3 warnings in the whitelist log and error in deploy newspaper. Those are the following:

    Warnings in the whitelist log:

    2013-04-14 06:57:11 CDT: start action "API Whitelist.
    2013-04-14 06:57:11 CDT: began API whitelist
    2013-04-14 06:57:12 CDT: WARNING - there are 3 warnings (s) found for Testapp.ear.
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Testapp.ear (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - Path:Test_ViewController_webapp.war (3 warnings)
    2013-04-14 06:57:12 CDT: WARNING - path: WEB - INF * (1 WARNING)
    2013-04-14 06:57:12 CDT: WARNING - 1: "login-config' missing under element child element has recommended.
    JavaEE:web - app.
    If you want to publish your application, you may have vacuum
    < login-config / > in your web.xml file. If you require authentication, you must then
    have <>login-config and its child < auth-method > element in the web.xml file.
    Without this element (< login-config >), users can be challenged by SSO, but
    the code of the application will be run as an anonymous user. Line no.: 4.
    2013-04-14 06:57:12 CDT: WARNING - path: WEB - INF * (2 warnings)
    2013-04-14 06:57:12 CDT: WARNING - 1: recommended "jsp-descriptor" missing under element child element.
    ORCL - weblogic:weblogic - web - app.

    If you have a JSP file that is not precompiled, compile errors
    could be shown on the browser. It is recommended to include
    verbose false > < jsp-descriptor > < < > < * *-descriptor > in weblogic.xml.
    Line no.: 2.
    2013-04-14 06:57:12 CDT: WARNING - 2: recommended child element "session-descriptor" missing under element.
    ORCL - weblogic:weblogic - web - app.

    You will be asked to have cookies separate way, if several
    applications are available in the same SSO session or if you
    multiple applications with different auth-method(CLIENT-CERT, FORM, BASIC)
    in the same service instance.
    Line no.: 2.
    2013-04-14 06:57:12 CDT: WARNING - Testapp.ear had 3 WARNING (s).

    2013-04-14 06:57:12 CDT: INFO - validate white list ended with 0 error (s) and WARNING (s) 3.
    2013-04-14 06:57:12 CDT: validation whitelist past.
    2013-04-14 06:57:12 CDT: complete "API Whitelist": status SUCCESS



    and error in deploy journal:

    2013-04-14 06:57:12 CDT: start action "deploy the Application.
    2013-04-14 06:57:12 CDT: deploy Application started
    2013-04-14 06:57:15 CDT: weblogic.application.ModuleException: could not load the webapp: Test-ViewController-context-root cause DeploymentException: java.lang.ClassNotFoundException: oracle.adf.view.faces.bi.webapp.MapProxyServlet
    2013-04-14 06:57:15 CDT: State action WL: failure
    2013-04-14 06:57:15 CDT: Action FAILED with State action WL: failure
    2013-04-14 06:57:15 CDT: see the server log of your cloud service Java for more information about the failure.
    2013-04-14 06:57:16 CDT: Application Deployment failed.
    2013-04-14 06:57:16 CDT: 'Deploy the Application' complete: FAILED status


    I use jdeveloper 11 GR 2, so pls don't tell me to use jdeveloper 11 GR 1 material. because, I hv already developed an application for my final year of Bachelor and I can't migrate to the previous version. So there is only one way for me to generate the ear file and the deployment of the console.

    Thus,.
    I m not getting what is the problem and what will be the solution for this?
    What should I do?
    What changes are required?

    Please, help me out of this problem!

    Well hosting Cloud Oracle ADF applications is for the ADF * 11.1.1-then you will not be able to deploy an application developed with * 11.1.2 thereon.
    If you don't want to revert to the version support for JDeveloper, I suggest that you look in the other accommodation options.
    For example: http://multikoop.blogspot.de/2012/09/adf-essentials-in-redhat-cloud.html

  • Size of session causing Oracle ADF viewScope bloat

    I'm sure you know, ADF introduced some additional scopes (pageFlowScope, viewScope and backingBeanScope) on top of the standard JSF ones. Our use of one of the stretches of the ADF, viewScope, seems to be the cause of the size of our session to swell over time.

    Objects that are view scope (for example, our Backing Beans) are managed by the ADF and seem to be put in the session in an org.apache.myfaces.trinidadinternal.application.StateManagerImpl object $PageState. The number of these objects when the session is equal to the org.apache.myfaces.trinidad.CLIENT_STATE_MAX_TOKENS in our web.xml configuration file.

    Once all the chips are 'used', sailing around the application, one of these objects is removed from the session and (should be) garbage collected at some point. However, the recovery of this space is observed much later, after the end of the session. For this reason, what a load of test the application, we see the use of heap space gradually, increasing before causing the JVM to crash.

    Tracking the creation and destruction of our objects is done by adding instructions log in the default constructor and the finalize method (which overrides the finalize on object method). Statements by logging on the creation of objects are visible when we would expect them, but logging of the finalize method statements are seen only after the end of the session. When a garbage collection is triggered using Mission JRocket Oracle control we see the use of heap down significantly, but observe no logging calls the finalize method.

    Anyone got any ideas on why the garbage collector would not be able to recover items from sight after having been removed from the session?

    Thanks in advance.

    P.S. I found already VIEW SCOPE IS NOT RELEASE PROPERLY in ADF which is a closesly related thread, but unfortunately could not use the answers there to solve our problem. I also posted this same question on Stack Overflow (http://stackoverflow.com/questions/13380151/lifetime-of-view-scoped-objects-oracle-adf). I'll try and update the two sons if I find a solution.

    Published by: 971217 on November 14, 2012 07:08

    Hello

    I tried to reproduce the problem on JDeveloper 11 GR 2 (11.1.2.3), but after 5 minutes to go back and hard, my server does not crash. However, I did some changes to your code. You can try to replicate using the following minor change?

    Instead of
    / * Method to redirect to page two. */
    Public Sub goToPageTwo()
    {
    VR;
    {
    FacesContext.getCurrentInstance ().getExternalContext.redirect ("pageTwo.jspx");
    }
    catch (IOException e)
    {
    e.printStackTrace ();
    }
    }

    I changed it to
    public String button_action() {}
    Return "goPage1";
    }

    where "goPage1" is a case of control flow, I set on my taskflow boundless.

    Thank you

    Juan Camilo

  • Get jsessionid ADF form

    KIM

    I have the ADF form with two text - first and last name fields? and with a single button.
    BPEL process call button. In the message, I have three parameter - name, lastname and jsessionid (jsessionid page that call BPEL process)
    Name and Lastaname get binding, but with jsessionid I have a problem.

    Where can I get jsessionid to BPEL?

    Help, please.

    Hello

    Here is a code to access the session ID

            FacesContext fctx = FacesContext.getCurrentInstance();
            ExternalContext ectx = fctx.getExternalContext();
            HttpSession session = (HttpSession) ectx.getSession(false);
    
            String sessionId = session.getId();
            System.out.println("Session Id = "+ sessionId);
    
            Cookie[] cookies = ((HttpServletRequest)ectx.getRequest()).getCookies();
    
            //reset session
            sessionId = null;
    
            if (cookies != null) {
                for (Cookie brezel : cookies) {
                    if (brezel.getName().equalsIgnoreCase("JSESSIONID")) {
                        sessionId = brezel.getValue();
                        break;
                    }
    
                }
            }
            System.out.println("JSESSIONID cookie = "+sessionId);
    

    The getID method returns a slightly different string (it is longer) should not ask questions in your use case. Go for the cookies get JSessionID fails for cases in which the jsessionId is added to the URL (you can configure an application to prohibit the use of cookies. GetID therefore seems to be the best choice

    Frank

Maybe you are looking for