Skip to main content
Last updated January 07, 2014 07:52, by steven.davelaar
Feedicon  
<h2>ADF Samples - ADF Bindings</h2> [[ADFSamples | Main Table of Contents]] __TOC__ ===Data Bindings=== {| border="1" |- | <span id="ABA256"/>[[#ABA256|ABA256]] | [https://jdevsamples.googlecode.com/files/CacheResultsApp.zip Cache Results for ADF Iterator Property] {11.1.2.4.0] 06-JUN-2013 [http://andrejusb.blogspot.com/2013/06/cache-results-for-adf-iterator-property.html [[image:info.png]]] |- | <span id="THA016"/>[[#THA016|THA016]] | [http://java.net/projects/smuenchadf/sources/samples/content/BlogVariableIterator.zip Creating Variables and Attribute Bindings to Store Values Temporarily in the PageDef] {11.1.1.6.0] 25-MAR-2013 [http://tompeez.wordpress.com/2013/03/25/creating-variables-and-attribute-bindings-to-store-values-temporarily-in-the-pagedef/ [[image:info.png]]] |- |||Sample shows how to use the variable iterator to create variables and attribute bindings to store data temporarily on the page. |- | <span id="SMU163"/>[[#SMU163|SMU163]] | [http://java.net/projects/smuenchadf/sources/samples/content/BindLiteralSelectBooleanRadioToValueInDB.zip Binding SelectBooleanRadio to True/False Value in DB Row] {11.1.1.5] 24-NOV-2011 |- |||This example shows how to bind a "T"/"F" value to a data-driven set of selectOneRadio components. Run the CreateTable.sql script to create the DEPT_WITH_BOOLEAN table, then run Example.jspx. When you commit, the "T"/"F" value in the SELECTED column in the table will reflect the change to the selected radio group button |- | <span id="SMU164"/>[[#SMU164|SMU164]] | [http://java.net/projects/smuenchadf/sources/samples/content/MethodActionThatCallsManagedBeanWithoutDataControlInvolved.zip Method Action Invoking Managed Bean Method Without Making Bean a DataControl] {11.1.1.5] 24-NOV-2011 |- |||This example illustrates how to configure an ADFM method binding to invoke a managed bean method without having to turn the bean into a data control. Turning a bean into a data control just to invoke a bean method on it is one of the most common mistakes I see ADF developers doing. The MyBean bean is registered in the adfc-config.xml file and the method action binding in the page def for view1.jspx references the bean using the InstanceName property of the binding. Note that the EL expression you provide needs to use the older-style with the dollar-sign rather than the pound-sign. Run the page in the example and click the only button in the page. You'll see the message "Foo" print out in the log window. |- | <span id="ABA127"/>[[#ABA127|ABA127]] | [http://jdevsamples.googlecode.com/files/PageDefVariables.zip Page Definition Variables to Store Temporary Page Values] {11.1.1.x] 23-OCT-2011 [http://andrejusb.blogspot.com/2011/10/page-definition-variables-to-store.html [[image:info.png]]] |- | <span id="ABA094"/>[[#ABA094|ABA094]] | [http://jdevsamples.googlecode.com/files/ADFRegionCommunication.zip CreateWithParams Operation for Oracle ADF BC 11g] {11.1.1.x] 06-FEB-2011 [http://andrejusb.blogspot.com/2011/02/createwithparams-operation-for-oracle.html [[image:info.png]]] |- | <span id="ABA055"/>[[#ABA055|ABA055]] | [http://jdevsamples.googlecode.com/files/DynamicIterator.zip Dynamic Iterator Binding to Reuse View Link Relationship for Master-Detail] {11.1.1.x] 18-APR-2010 [http://andrejusb.blogspot.com/2010/04/dynamic-iterator-binding-to-reuse-view.html [[image:info.png]]] |- | <span id="JPU013"/>[[#JPU013|JPU013]] | [http://adf-samples.googlecode.com/files/BindingAttributeTracker.zip Customizing ELResolver to intercept the evaluation of ADF binding values] {11.1.1.2] 11-DEC-2009 [http://jobinesh.blogspot.in/2009/12/customizing-elresolver-to-intercept.html [[image:info.png]]] |} ===Data Controls=== {| border="1" |- | <span id="SDA015"/>[[#SDA015|SDA015]] | [https://java.net/projects/smuenchadf/sources/samples/content/CustomBeanDCDefinition.zip How to Use a Custom Data Control Bean Definition] {11.1.2.4] 17-JUN-2013 [http://www.ateam-oracle.com/adf-mobile-preserving-the-current-row-across-pages/ [[image:info.png]]] |- |||You can register a subclass of oracle.adf.model.adapter.bean.BeanDCDefinition in the ImplDef property of the AdapterDataControl element in DataControls.dcx. If you do this and restart JDeveloper, the data control shows up as an empty node in the data control palette. This sample contains a JDeveloper extension that you can install which solves that problem and will show your data control correctly again. |- | <span id="DSI024"/>[[#DSI024|DSI024]] | [http://ejbdatacontrol-samples.googlecode.com/files/DeleteEJBApp.zip EJB DC - Deleting Multi-Selected Rows From Adf Table] {11.1.2.3.0] 17-JAN-2013 [http://deepakcs.blogspot.in/2013/01/ejb-dc-deleting-multi-selected-rows.html [[image:info.png]]] |- |||Let us take a scenario where in users wants to delete multiple records in the ADF table. In EJB this can't be achieved in straight forward way, we have to manually get all the selected row keys and delete the rows data using EntityManager API. |- | <span id="DSI022"/>[[#DSI022|DSI022]] | [http://ejbdatacontrol-samples.googlecode.com/files/JPASingleTableApp.zip EJB DataControl - JPA Single Table Inheritance] {11.1.2.2.0] 04-SEP-2012 [http://deepakcs.blogspot.in/2012/09/ejb-datacontrol-jpa-single-table.html [[image:info.png]]] |- |||JPA supports three types of inheritance, In this article will try "single table inheritance using EJB datacontrol". For more information on JPA inheritance go through the link. In single table inheritance, a single table is used to store all of the instances of the entire inheritance hierarchy. The table will have a column for every attribute of every class in the hierarchy. A discriminator column is used to determine which class the particular row belongs to, each class in the hierarchy defines its own unique discriminator value. |- | <span id="DSI010"/>[[#DSI010|DSI010]] | [http://ejbdatacontrol-samples.googlecode.com/files/EJBTableGeneratorApp.zip EJB DataControl - Configuring Sequential ids using JPA @TableGenerator] {11.1.2.0.0] 19-MAY-2012 [http://deepakcs.blogspot.in/2012/05/ejb-datacontrol-configuring-sequential.html [[image:info.png]]] |- |||In this article I'm trying to explain how JPA feature used to generate and assign the unique sequence numbers to JPA entity using @TableGenerator. |- | <span id="DSI008"/>[[#DSI008|DSI008]] | [http://ejbdatacontrol-samples.googlecode.com/files/EJBJoinFetch.zip Display Lookup values from related ejb entities using JOIN FETCH] {11.1.2.0.0] 15-MAY-2012 [http://deepakcs.blogspot.in/2012/05/display-lookup-values-from-related-ejb.html [[image:info.png]]] |- |||JOIN FETCH - The purpose of JOIN FETCH is to fetch the related objects from the database in a single query. So in this article, I'm trying to explain how can we use jpql JOIN FETCH and expose those attributes to EJB data control layer. |- | <span id="DVA003"/>[[#DVA003|DVA003]] | [https://github.com/donatasnicequestion/Blog-on-Software-and-Beyond-it-/raw/master/samples/adf/JsonRestSampleApp.zip Detecting emotions by using JSON and REST services in Oracle ADF] {11.1.2] 13-MAY-2012 [http://donatas.nicequestion.com/2012/05/detecting-emotions-by-using-json-and.html [[image:info.png]]] |- | <span id="DSI005"/>[[#DSI005|DSI005]] | [http://ejbdatacontrol-samples.googlecode.com/files/EJBUpdateMultipleRows.zip Update multiple rows using EJB Data Control] {11.1.2.0.0] 08-MAY-2012 [http://deepakcs.blogspot.in/2012/05/update-multiple-rows-using-ejb-data.html [[image:info.png]]] |- |||Let us take a scenario where in users wants to edit multiple records in the ADF table. So in EJB this can't be achieved in straight forward way, we have to manually get all the selected row keys and merge them to the database in programmatic way. |- | <span id="DVA002"/>[[#DVA002|DVA002]] | [https://github.com/donatasnicequestion/Blog-on-Software-and-Beyond-it-/raw/master/samples/adf/UserRegistrationApp.zip Using JMX Data Control in Oracle ADF to manage users in Weblogic LDAP] {11.1.2] 01-MAY-2012 [http://donatas.nicequestion.com/2012/05/using-jmx-data-control-in-oracle-adf-to.html [[image:info.png]]] |- | <span id="ABA149"/>[[#ABA149|ABA149]] | [http://jdevsamples.googlecode.com/files/ADFIntegration_v3.zip Update: How To Fix Data Control Initialization Error with ADF Libraries] {11.1.1.x] 24-FEB-2012 [http://andrejusb.blogspot.com/2012/02/update-how-to-fix-data-control.html [[image:info.png]]] |- | <span id="JPU070"/>[[#JPU070|JPU070]] | [http://adf-samples.googlecode.com/files/TransactionalDCSample.zip Declarative transaction support for your JPA data model] {11.1.2] 16-JUN-2011 [http://jobinesh.blogspot.in/2011/06/declarative-transaction-support-for.html [[image:info.png]]] |- | <span id="JPU057"/>[[#JPU057|JPU057]] | [http://adf-samples.googlecode.com/files/EJBDataControlSample.zip What you may need to know about pagination support in EJB and JavaBean Data Control] {11.1.1.4] 10-MAR-2011 [ http://jobinesh.blogspot.in/2011/03/what-you-may-need-to-know-about.html [[image:info.png]]] |- | <span id="ACC074"/>[[#ACC074|ACC074]] | [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/74-url-datacontrol-322460.zip Hands-on: How to use the ADF URL Data Control for parametrized queries] {11.1.1.x] 21-FEB-2011 [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/74-url-datacontrol-322457.pdf [[image:info.png]]] |- | <span id="ACC073"/>[[#ACC073|ACC073]] | [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/wssamplebase-321929.zip Hands on - Creating a search form using a POJO WS and the Web Service Data Control] {11.1.1.x] 18-FEB-2011 [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/73-handson-wsdc-321927.pdf [[image:info.png]]] |- | <span id="ACC072"/>[[#ACC072|ACC072]] | [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/72-wsprxyclient-pojodc-hands-on-321229.zip Hands-on & How-to: ADF application with EJB WS, WS proxy client and POJO Data Control] {11.1.1.x] 17-FEB-2011 [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/72-wsprxyclient-pojodc-hands-on-321228.pdf [[image:info.png]]] |- | <span id="ACC038"/>[[#ACC038|ACC038]] | [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/38-pojoeditabletree-168514.zip How-to build an editable tree with the POJO Data Control] {11.1.1.x] 28-JUN-2010 [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/38-pojo-editable-tree-169180.pdf [[image:info.png]]] |- | <span id="ACC037"/>[[#ACC037|ACC037]] | [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/p37-ojocompletedapp-168513.zip How-to build pagination into ADF POJO Data Control] {11.1.1.x] 23-MAR-2010 [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/37-adf-pojo-pagination-169179.pdf [[image:info.png]]] |- | <span id="JPU011"/>[[#JPU011|JPU011]] | [http://adf-samples.googlecode.com/files/EJBDataCaptureNew.zip Creating a Data Capture Form using EJB + JPA and ADF Binding] {11.1.1.2] 27-NOV-2009 [http://jobinesh.blogspot.in/2009/11/creating-data-capture-form-using-ejb.html [[image:info.png]]] |- | <span id="ACC036"/>[[#ACC036|ACC036]] | [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/36-findingandsettingcontrolhints-168512.zip Setting control hints on POJO entities using the ADF Bean DataControl] {11.1.1.x] 25-JUN-2008 [http://www.oracle.com/technetwork/developer-tools/adf/learnmore/36-pojo-control-hints-169178.pdf [[image:info.png]]] |}
 
 
Close
loading
Please Confirm
Close