Oracle of the MAF 2.0.1 - Java syntax

Hello


It seems that the newly released Oracle MAF 2.0.1 supports still only Java 1.4 syntax. There are many libraries for Android that I would use, requiring at least version 1.5 or even longer.


Does anyone know cca when JDK8 support?


Thanks a lot for the info.


Best regards

Daniel

Post edited by: DanielF 'Syntax of Java' added in

Hi, Daniel.

Our goal is to update the MAF JVM Java 8 somewhere next year. As usual, it could change our plans on the road; Please do not see this as an official engagement. That said, what are these libraries and what you're trying to achieve?

Best regards

Frédéric Desbiens

Senior Product Manager

Mobility and development tools

Twitter: @BlueberryCoder

blog: http://blogs.oracle.com/blueberry

Tags: Oracle Mobile

Similar Questions

  • Oracle of the MAF 2.2: pull down to refresh

    Hi all

    I use jdev 12.1.3

    Recently, I have updates the MAF Oracle at new 2.2 release.

    I'm exploring the new in version.

    When you use 'Pull down to Refresh', using amx: refreshContainer, I'm not able to map the required properties for the component.

    I don't know what to spend for the full "Refresh the Expression" value to amx:refreshContainer.

    I tried passing the true or false using expression EL, but it did not help me and stuck the cooling section and collapsed.

    Please let me know what could be the possible value in this property.

    If there is a working example of this component, please let me know.

    Kind regards

    KP

    no need to add anything, its depends on your company, if you use for example amx:listView inside the amx:refreshContainer you add the action to the level of amx:refreshContainer that call the java method that refresh the data in the list, it's like:

  • Oracle of the MAF: Cannot install the Patch of MAF (2.0.0.0.41.140623.0901)

    OPERATING SYSTEM: OS X 10.9.4

    JDev: 12.1.3

    Hi all

    I didn't know that there was a patch for 12.1.3 for the MAF to the Oracle. So I tried to update, looked ok, that was until I went back into the center of update and the update was still there. I then ran JDev via the command line (remember I use OS x and Windows not) and got the following result:


    ***************************************************************************************************************************************************

    Installing updates...

    Installing the Patch Users/EdZz/.jdeveloper/tmp/update/p18030351_20000_MAF_Core.zip...

    Setup Oracle interim Patch version 13.2.0.0.0

    Copyright (c) 2014, Oracle Corporation.  All rights reserved.

    Oracle homepage: / oracle/jdeveloper/12_1_3/jdeveloper /...

    Inventory Center: / Users/EdZz/oraInventory to: / oracle, jdeveloper, 12_1_3, jdeveloper /... oraInst.loc

    OPatch version: 13.2.0.0.0

    YES version: 13.2.0.0.0

    Location of the log file: / oracle, jdeveloper, 12_1_3, jdeveloper /... /cfgtoollogs/opatch/opatch2014-08-29_10-46-58AM_1.log

    OPatch detects the House of Middleware as ' / oracle/jdeveloper/12_1_3.

    August 29, 2014 10:47:06 oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl

    INFO: Install box control created with the access level 0

    Application of the interim fix '18030351' to the OH ' / oracle, jdeveloper, 12_1_3, jdeveloper /..'

    Check the environment and performing preliminary controls...

    The following patches are already installed in the home of the Oracle.

    [18030351]

    Please roll back existing identical patches first.

    Phase change system OPatch failed to start:

    Location of the log file: / oracle, jdeveloper, 12_1_3, jdeveloper /... /cfgtoollogs/opatch/opatch2014-08-29_10-46-58AM_1.log

    ***************************************************************************************************************************************************

    I didn't know what was going on, so I checked in the last log file, opatch2014-08-29_10-46 - 58AM_1.log, to see what was going on...


    ***************************************************************************************************************************************************

    29/08/2014 [10:47:06]     OPatch invoked as follows: "apply - silent /Users/EdZz/.jdeveloper/tmp/update/p18030351_20000_MAF_Core.zip - invPtrLoc/oracle/jdeveloper/12_1_3/jdeveloper /... oraInst.loc '".

    29/08/2014 [10:47:06]     YES-67077:

    Oracle homepage: / oracle/jdeveloper/12_1_3/jdeveloper /...

    Inventory Center: / Users/EdZz/oraInventory

    from: / oracle, jdeveloper, 12_1_3, jdeveloper /... oraInst.loc

    OPatch version: 13.2.0.0.0

    YES version: 13.2.0.0.0

    YES location: / oracle, jdeveloper, 12_1_3, jdeveloper /... / Yes

    Location of the log file: / oracle, jdeveloper, 12_1_3, jdeveloper /... /cfgtoollogs/opatch/opatch2014-08-29_10-46-58AM_1.log

    29/08/2014 [10:47:06]     History of patch file: / oracle, jdeveloper, 12_1_3, jdeveloper /... /cfgtoollogs/opatch/opatch_history.txt

    29/08/2014 [10:47:06]     OPatch detects the House of Middleware as ' / oracle/jdeveloper/12_1_3.

    August 29, 2014 10:47:06 oracle.sysman.oii.oiii.OiiiInstallAreaControl initAreaControl

    INFO: Install box control created with the access level 0

    [August 29, 2014 10:47:06]   From ApplySession Fri Aug 29 10:47:06 2014 WST

    [August 29, 2014 10:47:06]   Starting apply Session to Ven. 29 aout 10:47: 06 2014 WST

    [August 29, 2014 10:47:06]   OPatch will do the following:

    [Discovery of oracle Home]: Configure and Validate Oracle Home information.

    [Prerequisite to apply]: invoke the prerequisites to see if the patch can be applied.

    [Patch conflict detection to apply patch]: check if no conflict with already installed patches at Oracle.

    [August 29, 2014 10:47:06] - Oracle Home discovery -

    [August 29, 2014 10:47:06]   YES - 67086:ApplySession fix provisional application '18030351' to OH ' / oracle, jdeveloper, 12_1_3, jdeveloper /..'

    [August 29, 2014 10:47:06]   Application of the interim fix '18030351' to the OH ' / oracle, jdeveloper, 12_1_3, jdeveloper /..'

    [August 29, 2014 10:47:06]   Start applying the patch to local system to Ven. 29 aout 10:47: 06 2014 WST

    [August 29, 2014 10:47:06]   Check the environment and performing preliminary controls...

    [August 29, 2014 10:47:24] - cars type dectet -

    [August 29, 2014 10:47:24]   Start the initScript apply to Fri Aug 29 10:47:24 WST 2014

    [August 29, 2014 10:47:24]   Complete the initScript apply to Ven. 29 aout 10:47: 24 WST 2014

    [August 29, 2014 10:47:24] - required to apply.

    [August 29, 2014 10:47:24]   Prior running check...

    [August 29, 2014 10:47:24]   YES-67632:

    The following patches are already installed in the home of the Oracle.

    [18030351]

    Please roll back existing identical patches first.

    [August 29, 2014 10:47:24]   OPatch will clean the directories "scratch, backup.

    You will always be able to restore patches after this cleaning.

    Do you want? [y | n]

    [August 29, 2014 10:47:27]   Y (auto-répondu by - silence)

    [August 29, 2014 10:47:27]   The user responded with: Y

    [August 29, 2014 10:47:27]   Size of the directory ' / oracle, jdeveloper, 12_1_3, jdeveloper /... / .patch_storage "before cleaning is 110078213 bytes."

    [August 29, 2014 10:47:27]   Delete the directory "/ oracle, jdeveloper, 12_1_3, jdeveloper /... /.patch_storage/18030351_Jun_23_2014_12_49_34/Backup.

    [August 29, 2014 10:47:27]   Delete the directory "/ oracle, jdeveloper, 12_1_3, jdeveloper /... /.patch_storage/18030351_Jun_23_2014_12_49_34/Backup.

    [August 29, 2014 10:47:27]   Size of the directory ' / oracle, jdeveloper, 12_1_3, jdeveloper /... / .patch_storage "after cleaning is 110078213 bytes."

    [August 29, 2014 10:47:27]   UtilSession: Save for the restoration area was cleaned. For a complete list of files/directories

    removed, please see the log file.

    [August 29, 2014 10:47:27]   YES - 67005:OPatch phase of changing the system will not start:

    [August 29, 2014 10:47:27]   YES - 67035:System is intact, OPatch will not restore the system

    [Aug 29, 2014 10:47:27 AM]   --------------------------------------------------------------------------------

    [August 29, 2014 10:47:27]   The following warnings occurred during execution of OPatch:

    ([29 August 2014 10:47:27] 1) YES-67632:

    The following patches are already installed in the home of the Oracle.

    [18030351]

    Please roll back existing identical patches first.

    [Aug 29, 2014 10:47:27 AM]   --------------------------------------------------------------------------------

    [August 29, 2014 10:47:27]   Ven. 29 aout 10:47 ApplySession finish: 27 WST 2014

    [August 29, 2014 10:47:27]   Total time spent waiting for user input is 0 seconds.  Ven. 29 aout 10:47 finish: 27 WST 2014

    [August 29, 2014 10:47:27]   Location of the log file: / oracle, jdeveloper, 12_1_3, jdeveloper /... /cfgtoollogs/opatch/opatch2014-08-29_10-46-58AM_1.log

    [August 29, 2014 10:47:27]   Description of the battery: oracle.opatch.ExitOPatchException:

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.opatchprereq.PrereqIdenticalPatch.buildOutputPrereqResult(PrereqIdenticalPatch.java:308)

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.opatchprereq.PrereqIdenticalPatch.prereq(PrereqIdenticalPatch.java:85)

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.opatchprereq.PrereqAPI.checkIdenticalPatch(PrereqAPI.java:11787)

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.OPatchSessionHelper.runApplyPrereqs(OPatchSessionHelper.java:5558)

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.ApplySession.processLocal(ApplySession.java:3339)

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.ApplySession.process(ApplySession.java:5380)

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.OPatchSession.main(OPatchSession.java:2314)

    [August 29, 2014 10:47:27]   StackTrace: oracle.opatch.OPatch.main(OPatch.java:660)

    ***************************************************************************************************************************************************

    This is my current of MAF oracle extensions installed:

    maf01.png

    Any ideas?

    There is a bug where even after installation of the patch you will see in the center of update.

    But with the version in the image sound joint extension done.

    That IS the only thing that you wanted to talk, or there are also other issues?

  • Oracle of the MAF: Activate the Navigation controls for goLink

    Hello!

    I have installation media icons to make it easy for our community of users to 'love' or 'share' content, connect, tweet, etc...

    When the user clicks on the icon URL is launched in the display pages Web of the MAF.  UNFORTUNATELY the navigation controls are grayed out.  For this reason my users aren't able to return easily to the mobile application.   How to enable navigation controls for a URL that is launched in a goLink?

    Of course: I have the URL in my white list (under MAF - application.Xml-> Security).

    Please let know us at your earliest.  Thank you!

    TreeStrepek

    The solution to this is to
    ..............................

    1. Yes - set whitelist URL as shown above.
    2. Create each destination site in as long as separate function type = "Remote URL"
      1. This launches the Web site inside of a display of web pages (navigation, web inter view control, then another social media link resets source feature can be selected)
    3. Set the AMX page with components commandLink (icon only, no text)
    4. For each commandLink (that is to say-twitter icon or fb icon, etc...)
      1. Action = #{newsBean.goTwitter}
    5. The newsBean class will have a method "goTwitter".  Inside there is 1 line of code.
      1. gotoFeature ("URL remote FeatureID").

    It's beautiful.  It works as expected.

  • Oracle of the MAF: Incorrect alignment in the user interface

    Currently working on the MAF to design an application. but I am unable to align the fields in perfect order... I described the width of each field to be the same. but still do not get the same alignment for all fields when folding of the emulator. Please suggest on this issue. It will be very useful. Thanks in advance

    I'm not sure what you aim to achieve specifically but in your example, the fields are not actually inside the panelGroupLayout component - is this intentional?

    Also - what using an amx:panelFormLayout to surround the fields?

    autoCapitalize = 'auto' AutoCorrect 'auto' inlineStyle = = "" max-width: 20 cm; "/ >"

  • Oracle of the MAF error ' cannot read the DataControl uses on loadDataControl for the id:

    Need help!

    I created a simple SOAP web service for a remote database that works very well in 12 c WebLogic Server and also in the Jdeveloper HTTP Analyzer. When I use the same web service in the attached code, I get the following error (I've included output System.out.println in Ref. to the flow of the code) I use Jdeveloper 12 c MAF 2.0.0.0.41 on Mac OSx 10.9.

    Chk #0

    Processing line # 1

    Chk #1

    Chk #2

    [SEVERE - oracle.adfmf.framework - AmxBindingContext - loadDataControlById] Cannot read the DataControl uses on loadDataControl for the id: WLFNewActWS. [SEVERE - oracle.adfmf.framework - SynchronizationDC - syncDataFromOfflineToOnline] [Ljava.lang.StackTraceElement;@467c53d3

    @


    Sorry about that, I think I'm wrong you.

    OK, I created an example to test what goes wrong.

    1. server side, create a project named Employee_ws

    a. Department_ws.java

    public interface {Department_ws}

    public boolean addDepartment (a Department);

    }

    b. Department.java

    public class {Department

    public Department() {}

    Super();

    }

    int departmentId.

    String departmentName;

    locationId int;

    managerId int;

    {} public void setDepartmentId (int departmentId)

    this.departmentId = departmentId;

    }

    public int getDepartmentId() {}

    return departmentId.

    }

    {} public void setDepartmentName (String departmentName)

    this.departmentName = departmentName;

    }

    public String getDepartmentName() {}

    return departmentName;

    }

    {} public void setLocationId (int locationId)

    this.locationId = locationId;

    }

    public int getLocationId() {}

    return locationId.

    }

    {} public void setManagerId (managerId int)

    this.managerId = managerId;

    }

    public int getManagerId() {}

    return managerId;

    }

    }

    c. Department_impl.java

    @WebService

    / public class Department_impl implements Department_ws {}

    public Department_impl() {}

    Super();

    }

    @Override

    @WebMethod

    {} public boolean addDepartment (@WebParam (name = "arg0") a Department)

    If (Department! = null) {}

    int departmentId = department.getDepartmentId ();

    String departmentName = department.getDepartmentName ();

    int locationId = department.getLocationId ();

    managerId int = department.getManagerId ();

    Connection Conn;

    try {}

    Conn = ConnectionFactory.getConnection ();

    conn.setAutoCommit (true);

    Statement šment = conn.createStatement ();

    String inset_sql =

    "INSERT INTO dept (department_name, location_id, department_id, manager_id) VALUES ('+ '.

    departmentId + "," "" + departmentName + "'," + locationId + "," + managerId + ")";

    šment. Execute (inset_sql);

    Returns true;

    } catch (Exception e) {}

    System.out.println (e);

    }

    }

    Returns false;

    }

    }

    d. ConnectionFactory.java

    import java.sql.Connection;

    to import java.sql.DriverManager;

    import java.sql.SQLException;

    Connect to the database

    public class {ConnectionFactory

    public ConnectionFactory() {}

    Super();

    }

    protected static connection conn = null;

    public static connection getConnection() bird Exception {}

    If (conn == null) {}

    try {}

    String driver = "oracle.jdbc.driver.OracleDriver";

    String url = "jdbc:oracle:thin:@localhost:1521:orcl";

    User String = "employee";

    String password = "employee";

    Class.forName (driver);

    Conn = DriverManager.getConnection (url, user, password);

    } catch (SQLException e) {}

    System.Err.println (e.getMessage ());

    }

    }

    return conn;

    }

    public static {} Sub closeConnection()

    try {}

    If (conn! = null) {}

    Conn.Close ();

    Conn = null;

    }

    } catch (Exception ex) {}

    throw new RuntimeException (ex);

    }

    }

    }

    You can run Department_impl.java to start the Web service. i.e. http://127.0.0.1:7001 / Employee_ws-Client-context-root/Department_implPort? WSDL

    Server side sql:

    CREATE USER employee IDENTIFIED BY employee DEFAULT TABLESPACE users

    Temp TEMPORARY TABLESPACE

    Users WE QUOTA UNLIMITED;

    GRANT create employee to logon.

    GRANT alter used to logon.

    GRANT create any employee at table;

    GRANT create trigger employee TO;

    GRANT create any employee to view;

    GRANT create sequence employee TO;

    GRANT create synonym employee TO;

    GRANT create type employee TO;

    GRANT create employee to procedure;

    CREATE TABLE (DEPT

    DEPARTMENT_ID NUMBER (7, 0) NOT NULL,

    DEPARTMENT_NAME VARCHAR2 (50).

    NUMBER OF LOCATION_ID (7, 0),

    MANAGER_ID NUMBER (7.0)

    );

    2 create a mobile application of CRG named Dept

    a. Department.java (even for the server)

    b. SynchronizationDC.java

    import java.util.ArrayList;

    import java.util.List;

    Import oracle.adfmf.framework.api.AdfmfJavaUtilities;

    Import oracle.adfmf.framework.exception.AdfInvocationException;

    public class SynchronizationDC {}

    public SynchronizationDC() {}

    Super();

    }

    public void syncDataFromOfflineToOnline() {}

    It's just for testing, so I build Department manually instead of mobile db data, please replace in your business logic

    A Department = new Department();

    department.setDepartmentId (1);

    department.setDepartmentName("1");

    department.setLocationId (1);

    department.setManagerId (1);

    NamesList list = new ArrayList (1);

    List ParamsList = new ArrayList (1);

    List TypesList = new ArrayList (1);

    namesList.add ("arg0");

    paramsList.add (department);

    typesList.add (Department.class);

    try {}

    AdfmfJavaUtilities.invokeDataControlMethod ("Dept_WS", null, "addDepartment", namesList, paramsList,

    typesList);

    } catch (AdfInvocationException e) {}

    System.out.println (e);

    }

    }

    }

    c. new an AMX pag called Dept.amx

    "http://www.w3.org/2001/XMLSchema-instance" xmlns:amx ="http://xmlns.oracle.com/adf/mf/amx"

    xmlns:dvtm ="http://xmlns.oracle.com/adf/mf/amx/dvt" >. "

    Text = "syncDataFromOfflineToOnline."

    Disabled = "#{!}" Bindings.syncDataFromOfflineToOnline.Enabled}"id ="cb3"/ >

    d. deploy on Android Simulator

    Click the button and a new record have been db insert through the webservice, search the remote db recording

    If above does not solve your problem, please let me know, thanks.

    Byron

  • Oracle of the MAF: List of Style Classes

    Hello Oracle Community.

    I meet definitions of style classes in various articles/discussion forumns from time to time.    Is there a master list of the classes of style available somewhere?  I want her to be.  Can you tell me where please?

    Thank you very much!

    TreeStrepek

    Xavier Ribas  Thanks for the help.

    The list of style master classes is @ JDEVELOPER_HOME/jdev/extensions/oracle.maf/Android/Oracle_ADFmf_Framework.zip! Android/Build/java_res/Assets/www/CSS/AMX-mobileAlta-1.3.css.

    New mobile Alta style includes many default style classes.  Here are some listed for goLinks (pasted here simply as an example):

    /* ------   ------ */

    a,

    . AMX-goLink,

    {.amx commandLink

    color: #2F6BAC;

    text-decoration: underline;

    font size: 17px;

    }

    a.adfmf - goLink noUnderline.

    a.adfmf - commandLink noUnderline.

    . AMX - goLink.adfmf - goLink noUnderline.

    . AMX - commandLink.adfmf - commandLink noUnderline.

    . AMX - commandLink.adfmf - commandLink-noUnderline .amx-panelPage-facet-header.

    . AMX - goLink.adfmf - goLink-noUnderline .amx-panelPage-facet-header.

    . AMX-panelPage-facet-primary > .amx - commandLink.adfmf - commandLink-noUnderline label.

    . AMX-panelPage-facet-secondary > .amx - commandLink.adfmf - commandLink-noUnderline label.

    . AMX-panelPage-side-footer > .amx - commandLink.adfmf - commandLink-noUnderline label.

    . AMX-panelPage-facet-primary > label .amx - goLink.adfmf - goLink noUnderline.

    . AMX-panelPage-facet-secondary > label .amx - goLink.adfmf - goLink noUnderline.

    . AMX-panelPage-side-footer > label .amx - goLink.adfmf - goLink noUnderline.

    .adfmf-goLink - noUnderline.amx - goLink: active,.

    .adfmf-commandLink - noUnderline.amx - commandLink: active,.

    .adfmf-goLink - noUnderline.adfmf - alternateColor goLink: active,.

    .adfmf-commandLink - noUnderline.adfmf - commandLink-{alternateColor: active}

    text-decoration: none;

    }

    .adfmf-goLink - icon.amx - goLink: after {}

    content: "";

    background-image: url (.. / css/images/amx-android-ltr.png);

    Width: 15px;

    height: 15px;

    background-position:-54px 63px;

    background-repeat: no-repeat;

    background-size: 180px 299px;

    position: relative;

    margin: 3px 0;

    display: inline-block;

    }

    . AMX-goLink: active,.

    . AMX-{commandLink: active}

    background-color: #D7ECFE;

    border-radius: 2px;

    text-decoration: underline;

    border-radius: 2px;

    font size: 17px;

    }

    . AMX - goLink.adfmf - goLink alternateColor,.

    . AMX - commandLink.adfmf - commandLink-alternateColor {}

    color: #56656E;

    text-decoration: underline;

    font size: 17px;

    }

    . AMX - goLink.adfmf - alternateColor goLink: active,.

    . AMX - commandLink.adfmf - commandLink-{alternateColor: active}

    background-color: #E1E3E5;

    border-radius: 2px;

    text-decoration: underline;

    border-radius: 2px;

    font size: 17px;

    }

    {.adfmf-goLink-icon.adfmf-goLink-alternateColor.amx-goLink:after}

    content: "";

    background-image: url (.. / css/images/amx-android-ltr.png);

    Width: 15px;

    height: 15px;

    background-position:-86px 63px;

    background-repeat: no-repeat;

    background-size: 180px 299px;

    position: relative;

    margin: 3px 0;

    display: inline-block;

    }

    . AMX - goLink.amx - disabled,

    . AMX - commandLink.amx - disabled,

    goLink .adfmf - icon.amx - disabled.amx - goLink: after {}

    opacity: 0.5;

    pointer-events: none;

    }

  • Oracle of the MAF: How get text of a page from the amx and show them in another page of amx

    I created a simple form using amx as below:

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < amx:view xmlns: xsi =" http://www.w3.org/2001/XMLSchema-instance "

    ' xmlns:amx = ' http://xmlns.Oracle.com/ADF/MF/AMX "xmlns:dvtm =" http://xmlns.Oracle.com/ADF/MF/AMX/DVT ">

    < amx:panelPage id = "pp1" >

    < amx:facet name = "header" >

    < amx:outputText value = "Header" id = "ot1" / >

    < / amx:facet >

    < amx:facet = "primary" name >

    < amx:commandButton id = "cb1" / >

    < / amx:facet >

    < amx:facet = "secondary" name >

    < amx:commandButton id = "cb2" / >

    < / amx:facet >

    < amx:panelFormLayout id = "p1" >

    < amx:inputDate id = "i1" label = "Date" / >

    < amx:selectBooleanCheckbox id = "s1" label = "CheckBox" / >

    < amx:selectBooleanSwitch id = "s2" label = "Switch" / >

    < amx:selectOneRadio id = "s3" label = "Radio button" >

    < amx:selectItem id = "s4" / >

    < / amx:selectOneRadio >

    < amx:inputText id = "i2" hintText = 'enter something '.

    Label = "Edit Text" > < / amx:inputText >

    < amx:inputText id = "text1" label = "" enter password: ""

    secret = "true" / >

    < / amx:panelFormLayout >

    < amx:commandButton id = "c1" text = "Send" action = "getFormDetails" > < / amx:commandButton >

    < / amx:panelPage >

    < / amx:view >

    I want to extract the text entries, check box, option button, and display them in another page of amx. Please help me.

    Hello

    Here is an example.

    Assuming that there is a taskflow (as feature) which uses two activities with the name View1 and view2, with a case of View1 to View2 control flow is getFormDetails.

    code View1.AMX:

    "http://www.w3.org/2001/XMLSchema-instance" xmlns:amx ="http://xmlns.oracle.com/adf/mf/amx"

    xmlns:dvtm ="http://xmlns.oracle.com/adf/mf/amx/dvt" >. "

    value="#{pageFlowScope.TestBean.userNameValue}"/ >

    code View2.AMX:

    "http://www.w3.org/2001/XMLSchema-instance" xmlns:amx ="http://xmlns.oracle.com/adf/mf/amx"

    xmlns:dvtm ="http://xmlns.oracle.com/adf/mf/amx/dvt" >. "

    TestBean.java (which is located in pageFlowScope).

    mobile plan;

    public class TestBean {}

    private String _userNameValue;

    Private boolean _checkboxValue;

    public TestBean() {}

    }

    {} public void setUserNameValue (String _userNameValue)

    This ._userNameValue = _userNameValue;

    }

    public String getUserNameValue() {}

    Return _userNameValue;

    }

    {} public void setCheckboxValue (boolean _checkboxValue)

    This ._checkboxValue = _checkboxValue;

    }

    public boolean isCheckboxValue() {}

    Return _checkboxValue;

    }

    }

    Arun-

  • A-team - MAF Persistence Framework - is available for the MAF and it is an approach recommended by Oracle for Application Data Sync?

    Hi OTN community.

    My query is on Oracle team Persistence framework (http://www.ateam-oracle.com/going-mobile-with-adf-implementing-data-caching-and-syncing-for-working-offline/).

    It is available for the MAF and it is an approach recommended by Oracle for the implementation of data synchronization?

    Can anyone please share their experience using this extension.

    We are currently reviewing the best approach for the implementation of data synchronization.

    Best regards

    Deepak

    See: persistence of the MAF Oracle for SQLite

    Frank

  • How to use installation of Oracle MCS with MAF database offline

    Hi all

    I want to integrate my mobile application with the installation of database offline for service mobile cloud and its policies, to store my data if my app doesn't have any internet connection, but whenever my mobile app gets the internet connection my data stored in the cache / offline automatically gets synchronized to the mobile cloud service.

    Can someone give me the MAF MCS utility class to achieve it or any which sample or any video will be really appreciated.

    Thank you.

    Hi, diattou, another alternative is to operate the accelerator of persistence A-team (AMPA) - latest version here: http://www.ateam-oracle.com/a-team-mobile-persistence-accelerator-release-12-1-3-2-now-available/.  You can consume any product Remaining in the MCS and let A-team Accelerator persistence generate all Classes Java necessary for you.

    MAF 2.3 and 2.4 (coming in first part of 2016) will integrate these read offline connection and written in a declarative way.  In the meantime, however, AMPA is a good way as well.

    Thank you

    Joe Huang

  • Bug in the MAF/JDev - Exception thrown in the preview

    Hi, I just started to develop for MAF on my local PC.

    I was recently in London attending a practice for mobile, so I opted to try the same tutorial, we had here on my PC.

    In the tutorial, you just create 2 features, a workflow and a local HTML help page.

    Then, you create a JAVA bean to be a data controller.

    The created workflow originally has 2 views - EmpList and graphic with a transition of ran.

    After that the data controller is created, I started creating the first view: empList, when I click on preview, JDeveloper encounters an Exception, and my UI is broken.

    The Application browser is empty, and the only solution that worked to restore my user interface is as follows:

    https://community.Oracle.com/thread/1009459?start=0 & tstart = 0

    It's really annoying to do it every time

    Kind regards

    Ognjen

    I paste the error details here - NPE in o.j.model.ApplicationContent:62:

    Execution of null action (959) [AdfcDiagramEditor] [for (EmpsTaskFlow.xml, ViewController.jpr, Employees.jws)]

    NULL: Jul 13, 2015 10:31:21 oracle.bali.inspector.multi.MultiObjectModel _updateProperties

    INFO: SelectionModel has no selected items

    Call to order: [for (empList.amx, < none >, < any >)]

    Call to order: initialize the contents of the file [for (empList.amx, < none >, < any >)]

    Calling command: Insert panelPage with activated facets [for (empList.amx, < none >, < any >)]

    NULL: Jul 13, 2015 10:31:26 oracle.bali.inspector.multi.MultiObjectModel _updateProperties

    INFO: SelectionModel has no selected items

    Command: all pages

    13 July 2015 10:31:34 oracle.bali.xml.model.XmlContext deliverSetupEventHelper

    GRAVE: Exception thrown during the execution of installation hook oracle.adfmf.amx.dt.editor.databinding.AMXXmlContextSetupHook@23aa90f4 context JDevXmlContext@540205355 (home.amx, null, null)!

    java.lang.NullPointerException

    at oracle.jdeveloper.model.ApplicationContent.getInstance(ApplicationContent.java:62)

    at oracle.adfmf.common.util.McAppUtils.getApplicationAdfMetaInfUrl(McAppUtils.java:408)

    at oracle.adfmf.common.util.McAppUtils.getApplicationXmlURL(McAppUtils.java:371)

    at oracle.adfmf.common.util.McAppUtils.getApplicationControllerProject(McAppUtils.java:1984)

    at oracle.adfmf.common.util.McAppUtils.getDefinedDataControls(McAppUtils.java:1854)

    at oracle.adfmf.amx.util.AMXUtils.registerDataControls(AMXUtils.java:609)

    at oracle.adfmf.amx.dt.editor.databinding.AMXXmlContextSetupHook.setup(AMXXmlContextSetupHook.java:69)

    at oracle.bali.xml.model.XmlContext.deliverSetupEventHelper(XmlContext.java:1391)

    at oracle.bali.xml.model.XmlContext.deliverSetupEventAtXmlContextCreation(XmlContext.java:1342)

    at oracle.bali.xml.gui.jdev.JDevXmlContext.deliverSetupEventAtXmlContextCreation(JDevXmlContext.java:834)

    at oracle.bali.xml.model.XmlContext._initializeModel(XmlContext.java:326)

    at oracle.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2328)

    at oracle.bali.xml.model.XmlContext.setModel(XmlContext.java:346)

    at oracle.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1782)

    at oracle.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1732)

    at oracle.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:192)

    at oracle.adfmf.common.util.McAppUtils.getXmlModelFromXmlSourceNode(McAppUtils.java:877)

    at oracle.adfmf.amx.dt.editor.PreviewEditor.resolveCellFormatHeight(PreviewEditor.java:790)

    at oracle.adfmf.amx.dt.editor.PreviewEditor.updateAMXToStage(PreviewEditor.java:509)

    at oracle.adfmf.amx.dt.editor.PreviewEditor.editorShown(PreviewEditor.java:280)

    at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.riseEditorShown(SplitPane.java:1914)

    at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayoutBottomTabs(SplitPane.java:757)

    at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayout(SplitPane.java:615)

    at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.whenCurrentEditorChanges(NbEditorManager.java:1612)

    at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1026)

    at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1021)

    at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.whenCurrentEditorChanges(TabGroupState.java:811)

    at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.setCurrentSplitPanePos(TabGroupState.java:192)

    at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.activateEditor(TabGroupState.java:496)

    at com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.activateEditor(TabGroup.java:464)

    at com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.focusEditor(NbEditorManager.java:1476)

    at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.whenEditorTabMousePressed(SplitPane.java:1523)

    at com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.mousePressed(SplitPane.java:1511)

    at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)

    at java.awt.Component.processMouseEvent(Component.java:6502)

    at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)

    at java.awt.Component.processEvent(Component.java:6270)

    at java.awt.Container.processEvent(Container.java:2229)

    at java.awt.Component.dispatchEventImpl(Component.java:4861)

    at java.awt.Container.dispatchEventImpl(Container.java:2287)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4489)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)

    at java.awt.Container.dispatchEventImpl(Container.java:2273)

    at java.awt.Window.dispatchEventImpl(Window.java:2719)

    at java.awt.Component.dispatchEvent(Component.java:4687)

    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)

    at $200 (EventQueue.java:103) java.awt.EventQueue.access

    in java.awt.EventQueue$ 3.run(EventQueue.java:694)

    in java.awt.EventQueue$ 3.run(EventQueue.java:692)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)

    in java.awt.EventQueue$ 4.run(EventQueue.java:708)

    in java.awt.EventQueue$ 4.run(EventQueue.java:706)

    at java.security.AccessController.doPrivileged (Native Method)

    in java.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)

    at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)

    at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

    java.lang.NullPointerException

    o.j.model.ApplicationContent.getInstance(ApplicationContent.java:62)

    o.adfmf.common.util.McAppUtils.getApplicationAdfMetaInfUrl(McAppUtils.java:408)

    o.adfmf.common.util.McAppUtils.getApplicationXmlURL(McAppUtils.java:371)

    o.adfmf.common.util.McAppUtils.getApplicationControllerProject(McAppUtils.java:1984)

    o.adfmf.common.util.McAppUtils.getDefinedDataControls(McAppUtils.java:1854)

    o.adfmf.amx.util.AMXUtils.registerDataControls(AMXUtils.java:609)

    o.adfmf.amx.dt.editor.databinding.AMXXmlContextSetupHook.setup(AMXXmlContextSetupHook.java:69)

    o.bali.xml.model.XmlContext.deliverSetupEventHelper(XmlContext.java:1391)

    o.bali.xml.model.XmlContext.deliverSetupEventAtXmlContextCreation(XmlContext.java:1342)

    o.bali.xml.gui.jdev.JDevXmlContext.deliverSetupEventAtXmlContextCreation(JDevXmlContext.java:834)

    o.bali.xml.model.XmlContext._initializeModel(XmlContext.java:326)

    o.bali.xml.model.XmlContext._setSourceModel(XmlContext.java:2328)

    o.bali.xml.model.XmlContext.setModel(XmlContext.java:346)

    o.bali.xml.addin.XMLSourceNode._createAndInitXmlContext(XMLSourceNode.java:1782)

    o.bali.xml.addin.XMLSourceNode._getXmlContext(XMLSourceNode.java:1732)

    o.bali.xml.addin.XMLSourceNode.getXmlContext(XMLSourceNode.java:192)

    o.adfmf.common.util.McAppUtils.getXmlModelFromXmlSourceNode(McAppUtils.java:877)

    o.adfmf.amx.dt.editor.PreviewEditor.resolveCellFormatHeight(PreviewEditor.java:790)

    o.adfmf.amx.dt.editor.PreviewEditor.updateAMXToStage(PreviewEditor.java:509)

    o.adfmf.amx.dt.editor.PreviewEditor.editorShown(PreviewEditor.java:280)

    com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.riseEditorShown(SplitPane.java:1914)

    com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayoutBottomTabs(SplitPane.java:757)

    com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.doLayout(SplitPane.java:615)

    com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.whenCurrentEditorChanges(NbEditorManager.java:1612)

    com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1026)

    com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.whenCurrentEditorChanges(TabGroup.java:1021)

    com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.whenCurrentEditorChanges(TabGroupState.java:811)

    com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.setCurrentSplitPanePos(TabGroupState.java:192)

    com.oracle.jdeveloper.nbwindowsystem.editor.TabGroupState.activateEditor(TabGroupState.java:496)

    com.oracle.jdeveloper.nbwindowsystem.editor.TabGroup.activateEditor(TabGroup.java:464)

    com.oracle.jdeveloper.nbwindowsystem.NbEditorManager.focusEditor(NbEditorManager.java:1476)

    com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.whenEditorTabMousePressed(SplitPane.java:1523)

    com.oracle.jdeveloper.nbwindowsystem.editor.SplitPane.mousePressed(SplitPane.java:1511)

    j.a.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:280)

    j.a.Component.processMouseEvent(Component.java:6502)

    jx.s.JComponent.processMouseEvent(JComponent.java:3320)

    j.a.Component.processEvent(Component.java:6270)

    j.a.Container.processEvent(Container.java:2229)

    j.a.Component.dispatchEventImpl(Component.java:4861)

    j.a.Container.dispatchEventImpl(Container.java:2287)

    j.a.Component.dispatchEvent(Component.java:4687)

    j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4832)

    j.a.LightweightDispatcher.processMouseEvent(Container.java:4489)

    j.a.LightweightDispatcher.dispatchEvent(Container.java:4422)

    j.a.Container.dispatchEventImpl(Container.java:2273)

    j.a.Window.dispatchEventImpl(Window.java:2719)

    j.a.Component.dispatchEvent(Component.java:4687)

    j.a.EventQueue.dispatchEventImpl(EventQueue.java:735)

    j.a.EventQueue.access$ 200 (EventQueue.java:103)

    j.a.EventQueue$ 3.run(EventQueue.java:694)

    j.a.EventQueue$ 3.run(EventQueue.java:692)

    j.security.AccessController.doPrivileged (Native Method)

    j.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    j.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:87)

    j.a.EventQueue$ 4.run(EventQueue.java:708)

    j.a.EventQueue$ 4.run(EventQueue.java:706)

    j.security.AccessController.doPrivileged (Native Method)

    j.security.ProtectionDomain$ 1.doIntersectionPrivilege(ProtectionDomain.java:76)

    j.a.EventQueue.dispatchEvent(EventQueue.java:705)

    o.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)

    o.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)

    j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)

    j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)

    j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)

    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)

    j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)

    j.a.EventDispatchThread.run(EventDispatchThread.java:91)

    Just a little update:

    I upgraded MAF 2.1.3 and now I do not get the exception more.

    Kind regards

    Ognjen

  • The MAF project has been configured with an unsupported JDK

    Hello

    I am facing problem in jdevloper for implementation of the MAF. I have provided the JDK 1.8 version. But it still gives the following error.

    'D:\Jdev ADF Home\mywork\MyMobileApp\ApplicationController\ApplicationController.jpr' project has been configured with an unsupported JDK.  Make sure that the "profile 2 Compact MAF JDK 1.8 & quot; is used.

    Type or a variable 'oracle.adfmf.application.LifeCycleListener' not found.

    Jdev Version: Studio Edition Version 12.1.3.0.0

    Extension of the MAF: 2.1.0.0.41.150115.1352

    Please suggest me to fix this problem.

    Thank you

    SAN

    Simply change name Java SE 1.8.0_40 to the MAF JDK 1.8 Compact 2 profile

    I guess it will solve your problem.

  • How to display images of blob of rest at the request of the MAF service

    Hello how are you? I am new to Oracle application development MAF and I try to display an image stored in the database with BLOB format, and I would like to know how she could show this picture in a form.

    You have a binary encoded in Base64. If you add this string before the data "imagen", " data:image/png;base64, " then you can use this string as the source attribute in the component of the image.

  • [MAF - AMPA] Strange behavior of the MAF with REST service

    Hi MAF Experts.

    I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.

    Pattern:

    1. Start of the CRG App
    2. Opening of session
    3. Dashboard (the content is rendered)
    4. Go to any other aspect (lets say a list of products)
    5. Open product list (content do not get returned)
    6. Kill the MAF application
    7. Start of the CRG App
    8. Dashboard (the content is rendered)
    9. Go to the product list
    10. List of products (content gets rendered)

    I put a few breakpoints on EntityCRUDService and RestPersistenceManager.

    So far it return the list of entities and display the correct data (from watches in debug mode)

    Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).

    TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())

    , () -> {

    Auto Sync all actions pending first, pass false for inBackground because

    We want to process actions pending before the reading distance

    getDataSynchManager (.synchronize (false));

    The list of entities < E > = executeRemoteFindAll();

    If (entities! = null)

    {

    When an error occurs (for example server is not available, the method returns the value zero)

    setEntityList (entities);

    }

    });

    Any suggestion?

    All the rest service are configured with AutoQuery = true in the persistence - mapping.xml

    See you soon,.

    Hendry

    Hendry,

    Thanks your testcase, I was able to understand the problem.

    It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.

    We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.

    We will publish the new generation soon on GitHub so that others can benefit in the same solution.

    Steven Davelaar,

    Oracle Mobile A-team.

  • Unable to deploy the MAF application on the emulator or device in the last downloaded SDK

    Hello

    Jdev: 12.1.3

    I was working at the request of the MAF with old android SDK, which has been downloaded a few months back.

    I downloaded the latest SDK the android site form. But now the app is not deployed.

    It throws the below error:

    After a throwugh search blogs I have deployed the apk file directly on the device, but then the initial screen of Red Oracle load forever and I do not get the intended page.

    Please help me.

    [11: 08:52] Server Android Debug bridge closure...

    [11: 08:52] undeployment.

    [11: 08:52] - incomplete deployment.

    [11: 08:52] deployment failed due to one or more errors returned by "C:\Hari\Softwares\Android\android-sdk\platform-tools\adb".  What follows is a summary of the returned error:

    Failure [DELETE_FAILED_INTERNAL_ERROR]

    MAF 2.0.1.2.0 is not compatible Android 5 Lollipop (API 21).  You can leave installed in the SDK, but all 21 API also download API 19 and use instead.

    Lollipop support is coming in the next version of MAF due.

    CM.

Maybe you are looking for

  • Pavilion 15-ab157nr: wireless card replace in 15-ab157nr

    Hello I bought a Pavilion 15-ab157nr some time ago and have had several problems with the internet connection. I think they come from the map, a Realtek RTL8723BE. I want to upgrade to a better card, but I can't find information on what might work as

  • Product key of Windows 8 has only 23 characters

    The product key that came with the disc of Windows 8 I bought has just 23 characters, I can't put the disk to re - install because the requirements now demand a 25-character product code, please help Original title: product key Windows 8

  • Creative cloud update, I get an error code 50 - what does this error code means?

    Download and install an upgrade to creative cloud, I get an error code 50.  I look for a list of error codes with no luck.  Can someone tell me what this error code means and what is the solution?  Thanks in advance.

  • One record per person, either the min year or year max

    Asked to show one record per person according to the following criteria: the number of years between the startyear and the courseyear is less than 4 use of the first year of course if if the number of years between the startyear and the courseyear is

  • adrelink is existing with the State 1

    mistakes: -. /usr/lib/gcc/i386-RedHat-Linux/3.4.6/libgcc_s.so: reference to the undefined'dl_iterate_phdr@GLIBC_2.2.4 '. Relink the module 'FNDCPASS' failed. Relink the module 'FNDCPPUR' failed. Relink the module 'FNDCRM' failed. Relink the module 'E