Skip to main content
Last updated January 07, 2014 07:52, by steven.davelaar
<h2>ADF Samples - ADF Bindings</h2> [[ADFSamples | Main Table of Contents]] __TOC__ ===Data Bindings=== {| border="1" |- | <span id="ABA256"/>[[#ABA256|ABA256]] | [ Cache Results for ADF Iterator Property] {] 06-JUN-2013 [ [[image:info.png]]] |- | <span id="THA016"/>[[#THA016|THA016]] | [ Creating Variables and Attribute Bindings to Store Values Temporarily in the PageDef] {] 25-MAR-2013 [ [[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]] | [ Binding SelectBooleanRadio to True/False Value in DB Row] {] 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]] | [ Method Action Invoking Managed Bean Method Without Making Bean a DataControl] {] 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]] | [ Page Definition Variables to Store Temporary Page Values] {11.1.1.x] 23-OCT-2011 [ [[image:info.png]]] |- | <span id="ABA094"/>[[#ABA094|ABA094]] | [ CreateWithParams Operation for Oracle ADF BC 11g] {11.1.1.x] 06-FEB-2011 [ [[image:info.png]]] |- | <span id="ABA055"/>[[#ABA055|ABA055]] | [ Dynamic Iterator Binding to Reuse View Link Relationship for Master-Detail] {11.1.1.x] 18-APR-2010 [ [[image:info.png]]] |- | <span id="JPU013"/>[[#JPU013|JPU013]] | [ Customizing ELResolver to intercept the evaluation of ADF binding values] {] 11-DEC-2009 [ [[image:info.png]]] |} ===Data Controls=== {| border="1" |- | <span id="SDA015"/>[[#SDA015|SDA015]] | [ How to Use a Custom Data Control Bean Definition] {] 17-JUN-2013 [ [[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]] | [ EJB DC - Deleting Multi-Selected Rows From Adf Table] {] 17-JAN-2013 [ [[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]] | [ EJB DataControl - JPA Single Table Inheritance] {] 04-SEP-2012 [ [[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]] | [ EJB DataControl - Configuring Sequential ids using JPA @TableGenerator] {] 19-MAY-2012 [ [[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]] | [ Display Lookup values from related ejb entities using JOIN FETCH] {] 15-MAY-2012 [ [[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]] | [ Detecting emotions by using JSON and REST services in Oracle ADF] {11.1.2] 13-MAY-2012 [ [[image:info.png]]] |- | <span id="DSI005"/>[[#DSI005|DSI005]] | [ Update multiple rows using EJB Data Control] {] 08-MAY-2012 [ [[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]] | [ Using JMX Data Control in Oracle ADF to manage users in Weblogic LDAP] {11.1.2] 01-MAY-2012 [ [[image:info.png]]] |- | <span id="ABA149"/>[[#ABA149|ABA149]] | [ Update: How To Fix Data Control Initialization Error with ADF Libraries] {11.1.1.x] 24-FEB-2012 [ [[image:info.png]]] |- | <span id="JPU070"/>[[#JPU070|JPU070]] | [ Declarative transaction support for your JPA data model] {11.1.2] 16-JUN-2011 [ [[image:info.png]]] |- | <span id="JPU057"/>[[#JPU057|JPU057]] | [ What you may need to know about pagination support in EJB and JavaBean Data Control] {] 10-MAR-2011 [ [[image:info.png]]] |- | <span id="ACC074"/>[[#ACC074|ACC074]] | [ Hands-on: How to use the ADF URL Data Control for parametrized queries] {11.1.1.x] 21-FEB-2011 [ [[image:info.png]]] |- | <span id="ACC073"/>[[#ACC073|ACC073]] | [ Hands on - Creating a search form using a POJO WS and the Web Service Data Control] {11.1.1.x] 18-FEB-2011 [ [[image:info.png]]] |- | <span id="ACC072"/>[[#ACC072|ACC072]] | [ Hands-on & How-to: ADF application with EJB WS, WS proxy client and POJO Data Control] {11.1.1.x] 17-FEB-2011 [ [[image:info.png]]] |- | <span id="ACC038"/>[[#ACC038|ACC038]] | [ How-to build an editable tree with the POJO Data Control] {11.1.1.x] 28-JUN-2010 [ [[image:info.png]]] |- | <span id="ACC037"/>[[#ACC037|ACC037]] | [ How-to build pagination into ADF POJO Data Control] {11.1.1.x] 23-MAR-2010 [ [[image:info.png]]] |- | <span id="JPU011"/>[[#JPU011|JPU011]] | [ Creating a Data Capture Form using EJB + JPA and ADF Binding] {] 27-NOV-2009 [ [[image:info.png]]] |- | <span id="ACC036"/>[[#ACC036|ACC036]] | [ Setting control hints on POJO entities using the ADF Bean DataControl] {11.1.1.x] 25-JUN-2008 [ [[image:info.png]]] |}
Please Confirm