Simple matter of Oracle ADF...

Hi all

I have 2 EOs / your. 01:00, and 2 datacontrol.
Of1/VO1 is used to display the af:table with more than one line as below with the button on each line of a popup (which draws on EO2/VO2)

Homepage
------------
Emp1 popupbutton
EMP2 popupbutton

Validate cancel


Popup Page
--------------
box DEPT1
box DEPT2
box DEPT3

Validate cancel

When the user clicks the button on the popup page validation, it save the popup and homepage.

I want to just save only the data of the popup page.

Is this possible?

Any thoughts? Example of code?

Thank you

@Mike
>
I want to just save only the data of the popup page.
Is this possible?
>
Yes it is possible by using a workflow that uses a separate transaction.
These two videos show how to implement your use case.
http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/taskflow-overview-P1/taskflow-overview-P1.html
http://download.Oracle.com/otn_hosted_doc/JDeveloper/11gdemos/taskflow-overview-P2/taskflow-overview-P2.html

they are videos of 5 hours, but they deserve to look at.

@ - Suresh.CHS
>
If you commit a few VO you can use the code in the following ApplicationModuleImpl and must publish using the client interface, then add as imposing itself to the page and can run of bean.
impl code
yourVO () .getDBTransaction () .commit ();
>
It will also undertake the AM not the only VO

Tags: Java

Similar Questions

  • How to reduce the Oracle ADF deployed Mobile

    Hello

    I created simple demonstrations with Oracle ADF Mobile and the deployment file is more than 50 MB. Is there a way to reduce this size? Maybe remove some features unused llike SQLLite?

    At the moment you can't do much. Oracle is working on that. With one of the next versions the size will reduce if all goes well.  If you create the application without debugging information, the size is smaller.

    Timo

  • Oracle ADF Application Social network in the user interface integration

    Hello

    I'm new to ADF so that NSOS, I went through the tutorial of the ADF (development of RIA Web Applications with Oracle ADF) and heard a little.

    My requirement is to integrate the Social network of the Oracle ADF web application user interface. I found the link "implementation Oracle integration of social networks - 11g Release 7 (11.1.7)" "

    I find difficulty in the rest of the documentation, especially the pre-requisites.

    * I use JDeveloper version 11.1.1.7.0 and I downloaded all updates related to webcenter in my JDeveloper.

    I would ask to add a few screenshots more that explain where to find the URL of network Social Oracle JDeveloper.

    Otherwise a simple tutorial with screenshots would be a great help!

    Thank you

    MC.

    MC, the documentation you are looking at is specific to the Fusion Apps integration with Oracle Social Network developers.  If you are looking to make the ADF development credits, including work against NSO then this is probably not the starting point.  You are a developer of Fusion applications, or you are already a customer Oracle Cloud Apps with a NSO and application that you are trying to extend?  If you could give a little more background on what you're trying to achieve, we will be able to advise the right path to take.

    Thank you, Andy

  • 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

  • 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

  • The getCurrent method on the oracle.adf.share.ADFContext class is not allowed

    Hi all

    I've migrated my old project i.e 12.1.3 to new version 12.2.1.

    After the migration of the project where ever, we use ADFContext.getCurrent () .getSessionScope () .put ("dummy", 1);

    put the variable in the session. We receive the exception as Houston-25150: the getCurrent method on the oracle.adf.share.ADFContext class is not allowed. In the earlier version, but its works very well.

    What will be the question. Please can someone let me know.

    Thank you

    Amar

    This error except for security, so try to use the expression adf.context.current.sessionScope.get ("dummy") (or attempt to use this as a groovy adf.context.sessionScope.dummy expression) attribute EO and trustMode = "true" for this attribute set.

    For more details check this url

    Tarek Fathy: oracle.jbo.ExprSecurityException Houston-25150

  • How to convert a number in bar code format in oracle ADF?

    Hello

    In oracle adf application I want to convert the format of a column in my view object is displayed as a barcode without changing its data type in the database table?

    Thank you

    Check this URL:

    Blog of Ashish Awasthi (Jdev/ADF): generate the barcode Image in Oracle ADF using the OnBarcode API

  • Maven error: could not solve addiction com.oracle.adf:junit:jar: [12.1.3,12.1.4)

    Hello everyone.

    Using Jdeveloper 12.1.3 with extensions "Integration of JUnit BC4J" and "Integration of JUnit.

    I created a maven project using JUnit to create unit tests. This is dependency added to my pom.xml file in JDeveloper after configuration created the first unit test:

    <dependency>
         <groupId>com.oracle.adf.library</groupId>
         <artifactId>JUnit-4-Runtime</artifactId>
         <version>12.1.3-0-0</version>
         <type>pom</type>
         <scope>test</scope>
    </dependency>
    
    

    If I compile and run my tests from JDeveloper whatever it works but once I order my source code and build the project Hudson (Continuous Integration server), it fails. The error shown in the console of Hudson's (CommonCode is the name of the project I'm building):

    [ERROR] Cannot run the goal on the CommonCode project: could not resolve the project com.company.project.common:CommonCode:jar:1.0 - SNAPSHOT dependencies: could not collect the dependencies to com.oracle.adf.library:JUnit - 4 - Runtime:pom:12.1.3 - 0-0-> com.oracle.adf:junit:jar: [12.1.3,12.1.4): no version available for com.oracle.adf:junit:jar: [12.1.3,12.1.4) in this range-> [help 1]]]

    I have already installed the plugin maven-oracle-sync and completing my private repository (Artifactory) as described in this document. However, when I browse my private repository I can't find the artifact com.oracle.adf:junit:jar: [12.1.3,12.1.4) and I guess that's why my build has failed.]

    Why JDeveloper add a dependency that is not included when the maven-oracle-sync plugin is pushed on the maven repository?

    I forgot to mention that, when you use the following dependency for JUnit instead of one provided by Jdeveloper, the project compiles in my continuous integration server:

    <dependency>
         <groupId>junit</groupId>
         <artifactId>junit</artifactId>
         <version>4.11</version>
         <scope>test</scope>
         <type>jar</type>
    </dependency>
    
    

    Clues about why Jdeveloper adds a dependency that cannot be met by the maven-oracle-sync plugin?

    Thank you.

    Alexis

    Hello

    Please check below blog.

    https://blogs.Oracle.com/Groundside/entry/maven_and_adfbc_unit_tests

    A question which has developed recently turned around to configure your Maven POM in 12.1.3, such that you can run the JUnit Tests ADF BC successfully interactively in the IDE and headless via Maven perhaps in your work of Hudson.  Out of the box, the default value that you will end up with POM will be missing two vital pieces of information and need a little extra configuration.

    Once you have created some unit tests JDeveloper will have added dependencies for JUnit extensions JDeveloper JUnit, something like this:

    com Oracle.ADF.Library

    JUnit-4-LIFE

    12.1.3 - 0-0

    POM

    test

    com Oracle.ADF.Library

    JUnit-Runtime

    12.1.3 - 0-0

    POM

    test

    Thank you

    Amey

  • Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?

    Hi all


    We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.


    Is it possible to create a shuttle component in Oracle ADF, where the available and selected lists are tables of the adf?



    I did a POC sample on it. I can share with you. I can't put in my dropbox because dropbox is blocked in my network. Share your email. I'll send the POC through

  • Need help to unlock the user account HR in the example (rich Web Applications with Oracle ADF development)

    I am very new to Java development and have tried to launch the sample application (Development of Web Applications with Oracle ADF rich) in the start-up, the author of this app has advised developers to unlock the HR user account.

    What I did to connect to Oracle as user = system/password = system and running this SQL command 'ALTER USER HR IDENTIFIED BY NewPwd ACCOUNT UNLOCK"in Sqlplus and with a return code 2.

    Don't code 2: success or failure?

    However, the HR user is always unlocked after issuing this command, and can someone please tell me what I'm doing wrong?

    Thank you.

    Timo,

    Thanks for confirming. The essential difference is that the command must be run as

    SYS AS SYSDBA

    instead of such as SYSTEM

  • How to download a file using af: inputFile in Oracle ADF

    Can someone tell me please how to download the file to the server using af: inputFile in Oracel ADF. I searched for this topic and found, we can use the following

    <af:form usesUpload="true">

         <af:inputFile columns="10" valueChangeListener="#{backing.fileUploaded}"/>

    </af:form>

    using the above code, I can define a method that runs when some people choose some files in the form. So now, I need to know in fileUploaded method what should be the java code to download the file on the server.

    Please help me. How can I achieve this.

    Thanks in advance.

    You searched for but do not read messages completely

    Now, you gotta read this post completely to do your job

    Check - Blog of Ashish Awasthi (Jdev/ADF): downloading files path absolute server in Oracle ADF (12.1.3)

    You can also download and check the sample adf application attached with blog post

    Ashish

  • org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl: java.io.EOFException when sending an attachment in email in Oracle ADF

    Hello I'm developing a web application Oracle ADF Essentials using jdeveloper11.1.2.4. In this, I have a java program which allows you to send an email. I sent this request the Tomcat6.x and Glassfish3.1.

    My e-mail program works fine in tomcat6.x. E-mail program is sending e-mail with an attachment when running application that has deployed on tomcat. But when am under application that was deployed to Glassfish3.1 this email program gives the following exception.

    org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl | _ThreadID = 94; _ThreadName = thread 2;: java.io.EOFException

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:253)

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._readLine(MultipartFormHandler.java:237)

    at org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler._skipBoundary(MultipartFormHandler.java:223)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:102)

    to org.apache.myfaces.trinidadinternal.share.util.MultipartFormHandler. < init > (MultipartFormHandler.java:75)

    at org.apache.myfaces.trinidadinternal.config.upload.FileUploadConfiguratorImpl.beginRequest(FileUploadConfiguratorImpl.java:114)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl._startConfiguratorServiceRequest(GlobalConfiguratorImpl.java:562)

    at org.apache.myfaces.trinidadinternal.config.GlobalConfiguratorImpl.beginRequest(GlobalConfiguratorImpl.java:212)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:174)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)

    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)

    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)

    to com.sun.enterprise.v3.services.impl.ContainerMapper$ AdapterCallable.call (ContainerMapper.java:317)

    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)

    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:849)

    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:746)

    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1045)

    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:228)

    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)

    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)

    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)

    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)

    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)

    at com.sun.grizzly.ContextTask.run(ContextTask.java:71)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.doWork (AbstractThreadPool.java:532)

    to com.sun.grizzly.util.AbstractThreadPool$ Worker.run (AbstractThreadPool.java:513)

    at java.lang.Thread.run(Thread.java:745)

    |#]

    And use the following code to load a file

    / * Method to download the file to the actual path on the server * /.

    private String uploadFile (file UploadedFile) {}

    System.out.println ("will transfer");

    File UploadedFile = myfile;

    String path = null;

    If (myfile == null) {}

    System.out.println ("in uploadFile if - 279: myfile == null");

    } else {}

    All the downloaded files will be stored in the following path

    System.out.println ("in uploadFile if - 282: myfile.") = null");

    path = "D: / / EasyRunFileStore / /" + myfile.getFilename ();

    InputStream inputStream = null;

    try {}

    FileOutputStream out = new FileOutputStream (path);

    inputStream = myfile.getInputStream ();

    ubyte [] buffer = new byte [8192];

    int bytesRead = 0;

    While ((bytesRead = inputStream.read (buffer, 0, 8192))! = - 1) {}

    out. Write (buffer, 0, bytesRead);

    }

    out. Flush();

    out. Close();

    } catch (Exception ex) {}

    handle the exception

    ex.printStackTrace ();

    System.out.println ("emailPage 277" + ex.getMessage ());

    } {Finally

    try {}

    inputStream.close ();

    } catch (IOException e) {}

    e.printStackTrace ();

    System.out.println ("email 302" + e.getMessage ());

    }

    }

    }

    Please help me.

    GlassFish - sending pictures in the application of the ADF - Stack Overflow

    Citattion:

    This is a bug on that version of Glassfish server you use. Check this list for reference bugs:TRINIDAD-10033 & GLASSFISH-18446. You have to move from 3.1.2 to 3.1.2.2 it is fixed to the furthest.

  • Oracle ADF: How to develop a web application to adf with a team of 10 members

    Hello, we need to develop a web application using Oracle ADF and jdeveloper 12 c. It is a great project as we develop this application with a team of members of dimension 10. Our doubts, this is how we can develop a web application using a team.

    Suppose we have 10 modules. Each module was developed by each Member (each Member is using a different system with the same environment. JDeveloper 12 c). Finally to develop all 10 modules how we can combine all 10 modules in a single application. How we can change the links, the page flow and connection details.

    Help, please.

    Thanks in advance.

    ADF is built for the development team. Features such as the ADF libraries, bounded task flows and nested application modules allow developers to work on separate parts of the project and then merge them into a single application.

    Follow the video that Timo has pointed out and read the section of the documentation on reusable components: https://docs.oracle.com/middleware/1213/adf/develop/adf-web-component-reuse.htm#ADFFD1846

    Regarding version control (and track tasks, make automated etc generations) - an option to consider is the Cloud Oracle Developer Service.

    Here is a demonstration of how you team management version on that app JDev/ADF: by using the Service of Cloud Oracle Developer for Git version for JDeveloper/ADF apps management

  • Oracle adf dynamic Scroll tab shell

    Hi all

    I use 11.1.2.4.0, i developed ADF application with shell tab dynamic Oracle JDeveloper.

    the problem is that I have a few pages too large jsff, should I add scrolling to the dynamic tab?

    Kind regards

    If you use a container that can be scrolled if the area is too small, it should work out of the box. Check Oracle ADF: a model with a behavior, if you add a scroll of type panelGroupLayout to the region, it should amine if the tank is too small.

    Timo

  • &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

Maybe you are looking for