Skip to main content
This revision made September 26, 2012 15:26, by steven.davelaar

ADF Samples - ADF Business Components

Main Table of Contents

Activation and Passivation

ABA156 ADF BC AM Class Variables - Why To Avoid Them {11.1.1.x] 25-MAR-2012
SMU161 Signal RowInconsistentException Correctly Across Activation/Passivation {] 02-NOV-2011
This example illustrates an approach to ensure that the RowInconsisentException is correctly signalled even if the AM used by the second user has undergone passivation and activation since the first user changed the row. First, it's important to understand the potential problem. Assume that two users U1 and U2 query up the DEPT row with DEPTNO=10. User U1 modifies the Dname in that row and commits. At this point user U2 is looking at a "stale" value in the page in her browser. User U2 proceeds to make her edit and clicks (Commit). In an ADF page implemented in the typical way, the user will correctly get a warning that "Another user has changed the row" as long as U2's application module has not undergone passivation and activation. If instead application load forces ADF to activate the AM's passivated state to service user U2's (Commit)-button click request, then the change made by user U2 is silently committed, potentially overwriting the changes that user U1. This occurs because the act of activating the AM state reads in current DB values of the queried rows, which now reflect the changes made by user U1 instead of the values that are in user U2's current browser page. The solution involves using a change indicator attribute and including that change indicator attribute in the web page as a hidden field. In the example, the Dept entity object is based on the DEPT_WITH_OBJ_VERSION table. This is the standard DEPT table to which has been added a single, additional NUMBER column named OBJECT_VERSION. The ObjectVersion attribute in the Dept entity is marked as a 'Change Indicator' attribute, and it's also marked as a 'History Column' of type 'version number'. The history column setting tells ADF to automatically set the value of this column to 1 in a newly created row, and to increment the version number each time the row is modified and saved. The change indicator setting tells ADF to compare only the value of this attribute in order to determine whether the row has been changed by another user or not. In the absence of a change indicator attribute, ADF must compare the values of all persistent attributes which can take longer. The view1.jspx page uses the h:inputHidden component to include the ObjectVersion attribute value in the page. By doing this, the object version of the row being edited by user U2 will be submitted to the server along with the other attribute values, and it will be used to compare against the ObjectVersion attribute value of the row being edited. Since these values differ, the RowInconsistentException is thrown as desired. Try re-enabling the AM Pooling to convince yourself that the technique will work under normal circumstances as well. To run the example, start by running the CreateTables.sql script to create the DEPT_WITH_OBJ_VERSION table. Then run the view1.jspx page. Once the page appears in your default browser, copy the URL http://localh­ost:7101/Signa­lRowInconsiste­nt/faces/view1 and paste it into a different browser. For example, if Google Chrome is your default browser, paste it into Firefox or Internet Explorer. This will allow you to test having two distinct browser users using your application. Both browsers should be looking at the row for DEPTNO=10. In the first browser window, update the value of Dname and click (Commit). Now the second browser is looking at a "stale" value for the Dname. In this second browser, update the value of Loc and click (Commit). The user gets the expected error "Another user has changed the row with primary key oracle.jbo.Key[10]". The AppModule application module in the example has its 'Enable Application Module Pooling' configuration setting (jbo.ampool.doampooling) set to false for testing purposes. Your application module will never have this pooling setting disabled in production, but it is useful for testing the activation-safety of your application module by stress-testing the passivation/activation on each HTTP request.
JPU038 Annotate your ApplicationModule to persist complex objects during passivation {] 02-SEP-2010
ABA038 Demystifying ADF BC Passivation and Activation {11.1.1.x] 22-JAN-2010

See also Steve Muench' undocumented 10.1.3.x samples nr. 115


Bind Variables

JPU056 Initializing the bind variables used for an LOV query {] 07-MAR-2011
JPU040 Using bind variable for the SQL statements with IN clause {] 09-SEP-2010
SMU154 Two Approaches to Referencing Controller-layer Session State in VO Bind Variables {] 16-DEC-2009 ]
This example illustrates two different approaches to referencing controller layer state inside the default value expression of a view object's bind variable. One typical example is to reference the name of the logged-in user (which in the past web applications would store in a Web session attribute), however since you can use the adf.context.securityContext.userName groovy expression to reference the username of the logged-in user when using ADF Security, I choose a slightly-different example of storing a code representing the user's favorite color. The ViewController project contains a UserInfo bean with a single favoriteColor property. This bean is registered in the adfc-config.xml file as a session-scoped managed bean, and using the JSF managed property feature, the default value of emgreen is injected into the bean at creation time. The Model project contains two view objects that each contain a bind variable named VarFavoriteColor whose default value we'd like to come from the current value of the aforementioned UserInfo managed bean's favoriteColor property. There are two basic approaches: one will appeal more to those who cherish the cleanest logical separation of view/controller and model layers. The other appeals more to developers who like to use the "simplest thing that works" (as long as it's not bad practice). The ExampleVO2 VO instance in the AM data model is of type ExampleVOUsi­ngADFContext­SessionInfoI­nBindVariable. This view object's VarFavoriteColor bind variable references the groovy expression adf.context­.sessionScop­e.UserInfo.f­avoriteColor and represents the "simplest thing that works" approach. This takes advantage of the fact that ADFContext object abstracts access to the four interesting scopes that might be relevant during runtime of an ADF application: applicationScope, sessionScope, viewScope, and requestScope. When running in the web container, these scopes map onto the obvious matching scopes that you are familiar with from the view/controller layer. When running outside the web container, the ADFContext provides a default implementation of these scopes as a set of static maps that are useful for regression testing purposes. The Test class in the Testing project illustrates making use of the ADFContext.getSessionScope() to setup the session-level information the view object is expecting to find at runtime. The ExampleVO in the AM's data model is of type ExampleVOUsingCo­ntrollerSuppliedU­serDataHashtableI­nfoInBindVariable. This view object's bind variable of the same name references the groovy expression adf.userSession.userData.FavoriteColor. In this implementation that defines the more clear separation of view/controller layer and business tier - which is the one I personally prefer and recommend - the ADFBC session's userData map is used to store information that the view object's bind variable will reference. In a customized data control implementation class (CustomDCJboDataControl), the beginRequest method is overridden to invoke a setSessionFavoriteColor() method on the ExampleModule client interface to pass in the value of the UserInfo.favoriteColor into the business tier. The application module stores this information in the user data map, and makes that information activation/passivation-safe by overriding the passivateState() and activateState() methods. The custom data control is configured by setting the fully-qualified name of the CustomDCJboDataControlFactory class in the ExampleModuleDataControl entry's FactoryClass property in the DataBindings.cpx file (in the dataControlUsages section). On each request, the view/controller layer passes this information into the business layer, and the ExampleVOUsingCo­ntrollerSuppliedU­serDataHashtableI­nfoInBindVariable view object references its value from the userData map. Notice the setDefaultV­aluesForSess­ionLevelFav­oriteColor() method in the ExampleModuleImpl class. This is invoked in an overridden prepareSession() method to assign a reasonable default value to both of the favoriteColor elements if their value is currently null. This would ensure that both approaches would work if the respective view object were called from a service or a test client that didn't provide any specific value at runtime. In the Testing project, the Test class illustrates how you can write a standalone regression test (just a simple Java class in this example, not a JUnit test) which mimics the view/controller layer calling of the setSessionFavoriteColor() API in the one case, and which populates a "mock" sessionScope UserInfo bean with a favoriteColor property to make the other view object find its expected information. As mentioned above I prefer the approach that uses the userData hash table set explicitly via an application module method, however at least now you have a good example of both techniques in action so you can decide for yourself which you prefer.

See also Steve Muench' undocumented 10.1.3.x samples nr. 118 and 126

Calling PLSQL in Database

See also Steve Muench' undocumented 10.1.3.x samples nr. 100

Coherence Integration

EBI003 Coherence with ADF BC ( BC4J) {11.1.1.x] 29-DEC-2008

Control Hints

ABA114 ADF BC Application Module Data Control Hints for JDeveloper 11g R2 ADF Libraries {11.1.2] 11-JUN-2011
JPU055 Overriding Control Hints of a View Object on the fly {] 22-FEB-2011
JPU028 Decorate UI with view row Attribute's User Interface hints {] 30-JUN-2010
SMU137 Implementing Custom View Row Hint Behavior {] 09-DEC-0200 8
This example illustrates how to provide a custom view row attribute hints implementation. The EmpViewRow class overrides the createViewRowAttrHints method to return a new instance of the EmpViewRowAttributeHintsImpl class (which extends the framework base class ViewRowAttrHints. In the EmpViewRowAttributeHintsImpl class, notice that we've overridden the getHint() API to conditionally return a value for user-defined attribute hints named "mindate" and "maxdate". These hints are coded to look at the value of the Hiredate in the current row, and return a date String that represents three days before that date for "mindate" and three days after that date for "maxdate". The class also overrides the getLabel API to customize the value of the "label" UI hint for the Job attribute. Run the TestPage.jspx and try to edit a "Hiredate" value. You'll see that the date picker only allows you to change the date to a date that is within a span of three days before to three days after the current value. This occurs due to the UI component's referencing the custom "mindate" and "maxdate" hints appropriately. Also, you'll notice that the label for the "Job" field is the default label with the value of the Sal attribute appended to it.

Database Connections

ABA155 Testing ADF BC Proxy User DB Connection in Multi-User Environment {11.1.1.x] 20-MAR-2012
ABA151 Extending Application Module for ADF BC Proxy User DB Connection {11.1.1.x] 08-MAR-2012
JPU067 Modifying the Application Module's JDBC DataSource at run time {] 27-APR-2011
JPU029 Running ApplicationModule using an external JDBC connection {] 09-JUL-2010
SMU129 11g Dynamic JDBC Credentials for Model 1, Struts, Trinidad, and ADF Faces Rich Client {] 06-AUG-2008
This is an 11g production update of one of my most frequently downloaded examples (Dynamic JDBC Credentials, #14). There are four separate workspaces, one for each of the supported ways you might build a web application using ADF: DynamicCredentialsNoController.jws is a "Model 1" style application with no controller layer; DynamicCredentialsStruts.jws is Struts-based; DynamicCredentialsTrinidad.jws is a 10.1.3 ADF Faces application that's been migrated to use the Apache Trinidad components; and DynamicCredentialsRichFaces.jws uses the new ADF Faces Rich Client components that are new in 11g. Each project references the same Model project and FwkExtensions project. The generic framework extension classes involved in implementing the solution live in the FwkExtensions project. The Model project contains the simple ADFBC components used in the example: a TestModule application module with a single DeptView VO instance of a DeptView view object based on the DEPT table in the SCOTT schema. While updating the example for 11g, I took the liberty of using two new features that allowed me to simplify and streamline the implementation. The first of these was using the new ErrorHandlerClass attribute on the root <Application> element of the DataBindings.cpx file in each of the client web projects in order to register a custom ADFM error handler implementation (test.DynamicJDBCErrorHandlerImpl). This error handler is designed to notice the DMLException thrown by a failed database connection attempt (due to incorrect username/password combination), and it throws that particular exception rather than simply caching it on the binding container. The second new feature employed is the ability to register a global customization to the ADF Page lifecycle by using a META-INF/adf-settings.xml file in each client web project. Each project registers the test.DynamicJDBCPagePhaseListener in order to conditonally execute some custom logic before the ADF "prepare model" phase of the lifecycle. This custom logic references the data controls in the current page definition, causing them to be checked out of the AM pool (if they were not already checked out during the current lifecycle) before the JSF page rendering begins. This allows the error handling code to catch the failed connection attempt in time to redirect the user to the login page before the rendering phase begins. The web.xml file for each ViewController project contains a context parameter (RedirectToLogin) that defines the login page to redirect to for that particular web application. The JSF project contains a second context parameter FacesURLPattern as well. Due to Bug# 5080057, setting the jbo.ampool.sessioncookiefactoryclass property in the configuration is not correctly saved to the bc4j.xcfg file. So, in order to configure a custom session cookie factory class as required to repurpose the code in this example in your own projects, you'll need to hand-edit the bc4j.xcfg file to insert the child element <­ssioncookiefac­toryclass>test­.DynamicJDBCSe­ssionCookieFac­tory</jbo.ampo­ol.sessioncook­iefactoryclass> inside the appropriate <AppModuleConfig> element for the configuration in question.


ABA184 Difference Between ADF BC Groovy Old Value and Posted Attribute {] 07-AUG-2012
ABA141 Groovy with View Link Accessor {11.1.1.x] 29-DEC-2011
ABA069 Groovy String Operations in Oracle ADF 11g {11.1.1.x] 10-JUN-2010
JPU009 Accessing web tier variable values from the business components in a groovy way {] 08-NOV-2009
ABA023 Groovy Validation Hint in Oracle ADF 11g {11.1.1.x] 04-NOV-2009
SMU149 Reference View Object and View Row Methods from Groovy {] 03-SEP-2009 SCOTT schema
The EmpView view object in this example features two transient, Groovy calculated attributes. The attribute named ValueUsingVOFunction references a custom myFunctionAtVOLevel() method on the EmpViewImpl class, while the attribute named ValueUsingVORowFunction references a custom myFunctionAtVORowLevel() method on the EmpViewRowImpl class, in both cases passing in the value of the Sal attribute. The methods simply return the value passed in surrounded by either parenthesis or square brackets.
SMU143 Referencing UserData Map Values from View Object Bind Variables in Groovy {] 27-JAN-2009 SCOTT schema
This example includes a SessionHelper class to simplify referencing entries in the ADFBC session's userData map from the Groovy expressions providing the default values for bind variables. The user data map is referenced via EL expressions in the two JSPX pages, and it is referenced in Groovy bind variable expressions in two places: (1) at the AM data model level for the VO instance named AnotherInstanceOfQueryWithBindVarValue (which you can see by selecting the VO instance in the Data Model list and clicking the (Edit) button, and (2) on the view accessor named QueryWithBindVarValue1 of the EmpView view object. This latter view accessor is used by the LOV definition on the EmpView view object's Mgr attribute. To try the application, run the SetUserMapValue.jspx page, type NameFilter into the setUserMapValue_key field, and (for example) the letter S into the setUserMapValue_value field, and click (setUserMapValue). The table in the page updates to show an example of a data model view object instance using the bind variable value from the userData Map. Clicking on the (GoTo Page Referencing Session Value in LOV Bind Var) button takes you to a page where the search form shows that the view accessor's rowset (based on the same QueryWithBindVarValue view object) is using the bind variable value from the userData map as well. The Groovy expressions that access the userData map use the helper class via the expression test.model.Ses­sionHelper.use­rData(adf.obje­ct).NameFilter. A future release of ADF will make it simpler to reference the ADFBC session object without the need for a helper class.

JMS Integration

Programmatic Business Components

ABA185 Solution to Control Global Editable/Readonly Mode in ADF BC {] 15-AUG-2012
ABA163 How to Update Data from DB View using ADF BC DoDML Method {11.1.1.x] 06-MAY-2012
ABA153 Use Case for ADF BC With No Database Connection {11.1.1.x] 15-MAR-2012
JPU071 Building programmatically managed business components - Part 2 {11.1.2] 25-JUN-2011
JPU017 A sample ADF BC application based on StoredProcedure {] 09-FEB-2010
JPU008 Entity Object based on a PL/SQL Package API {] 18-OCT-2009
SMU147 ADFBC Application With No Database Connection {] 01-SEP-2009 SCOTT schema
This example illustrates a technique for creating an application module that does not use a database connection. The only reason you might want to do this is that you are exclusively using programmatic view objects and entity objects, which might be an infrequent scenario, but does come up from time to time. The example illustrates a number of lesser-used framework extension classes. The NoDatabaseApplicationPoolImpl is a custom application module pool implementation class. The NonDatabaseConnectionStrategy is a custom connection strategy class . The CustomSessionImpl is a custom session class, which returns a custom transaction handler factory. The CustomTxnHandlerFactoryImpl is a custom transaction handler factory used to return an instance of the custom CustomTxnHandlerImpl class, which is a custom transaction handler implementation. The SessionClass configuration property is set to the name of the custom session implementation class, which in turn bootstraps the custom transaction handler factory and custom transaction handler. The PoolClassName configuration property is set to the name of the custom application module pool implementation class. This class overrides the isSupportsPassivation() method to return false, indicating to the runtime that this particular application module pool does not support passivation. The jbo.ampool.connectionstrategyclass configuration property is set to the name of the custom connection strategy class which overrides the createApplicationModule() method to set some key properties in the environment hashmap before calling super. The StaticVO is a static view object that returns rows whose data is in the file.
SMU132 Programmatic View Objects Showing Master/Detail Data {] 09-OCT-2008
This example illustrates some generic framework extension classes in action for programmatic view objects whose data is related master/detail. The generic infrastructure code lives in the StaticDataViewObjectSupport project. All of the view objects in the Model project specify the oracle.adfb­c.staticdat­a.CSVFileVi­ewObjectImpl class as their framework base class to inherit the generic functionality of reading their data from a CSV (comma-separated values) file. The ListOfMapsDataProviderViewObjectImpl framework extension class implements a programmatic view object whose data is populated from a java.util.List of java.util.Map objects. The CSVFileViewObjectImpl extends ListOfMapsDataProviderViewObjectImpl to supply a "data provider" that reads data from CSV files. By convention, it reads data from the *.csv file in the same directory in the classpath as the view object's component definition file. So, for example, the model.States view object reads its data from the model/States.csv file. The compiler options of the project have been modified to add the *.csv extension to the list of files that should be copied to the outpath during compilation time. Four different JSPX pages in the ViewController project allow you to try out master/detail display of the programmatically retrieved data.

Reading and Writing XML

JPU033 XML for Queried Data {] 10-AUG-2010

SOA Integration


User Data and Session Data

View Objects

EFE003 Read-only ViewObject in Declarative SQL mode {] 21-JUL-2012
The sample of read-only (SQL based) VO working in declarative SQL mode
LJE041 Weird ADF 11g requirement addressed with left outer join and modern SQL join syntax {] 13-DEC-2011
LJE040 Synchronize ViewObject Queryies by dynamically linking bind parameters {] 28-NOV-2011
LJE028 Using SQL UNPIVOT to prepare data for dynamic ADF Faces User Interfaces {11.1.2] 03-JUL-2011
ABA113 Understanding ADF BC View Object Instances {11.1.1.x] 02-JUN-2011
JPU054 Creating Custom History Types {] 02-FEB-2011
JPU036 A composite ViewObject based on multiple data sources {] 20-AUG-2010
JPU012 ViewObject based on 'pivot query' {] 05-DEC-2009
ABA024 Calling Custom Entity Method From View Object Implementation Class {11.1.1.x] 05-NOV-2009
SMU141 Automatic Runtime Query/Join Pruning with Declarative View Objects {] 20-DEC-2008 HR schema
This example contains a single EmployeeAllInfo view whose SQL mode is set to use the new-in-11g setting of 'Declarative'. It contains one editable Employees entity usage, and six additional reference entity usages showing related information about the employee's department, the department's manager, the department's location, the department's region, the employee's job, and the department's country. When a view object is in declarative mode, its SQL statement is determined at runtime instead of at design time. Attributes in the view object can have their Selected in Query property set to false, and these attributes will only be selected if they are referenced by the page definition for the current page, otherwise they will be left out of the query. When multiple entity usages are involved, if all the attributes from a given entity usage are left out of the query, then the ADFBC runtime "prunes" that table related to that entity usage out of the query and does not perform that join. The application module in the Model project includes three different instances of the same EmployeeAllInfo view object. You can observe the different runtime queries performed by the three different JSPX pages by looking in the log while performing a search in each page. The file Queries.txt included in the ViewController project contains a formatted version of the different queries. You can see in the query for the MinimalEmployeeInfo.jspx page, that only the EMPLOYEES table is included. In the query for MediumEmployeeInfo.jspx you see EMPLOYEES, DEPARTMENTS, EMPLOYEES (a second time for the manager), and JOBS. The query for the final page joins all of the tables.
SMU133 Joining Static Array of Database Type Data into View Object Query {] 03-OCT-2008
This example illustrates an approach to take an array of structured information and bind it into a view object query as one of the tables in order to produce a database join between the static information and the database data. The context in which this example arose was that a service call was returning a list of ranked/scored primary keys, that then needed to be joined with the database table to which the primary keys referred in order to produce a friendly display for end-users that includes more descriptive information about the ranked rows. You'll need to run the CreateTypes.sql script before using the demo to create the SCORED_KEY and SCORED_KEYS types in the database. The ViewObjectImplWithScoredKeyBindVariable framework extension class centralizes the code required to work with the bind variable of type oracle.jbo.domain.Array. In this case, its code is binding the SCORED_KEYS type (which is a TABLE OF SCORED_KEY) as an Array of SCORED_KEY types. Both the ReadOnlyScoredEmployees and EntityBasedScoredEmployees view objects inherit this helper code from this class. The setScoredKeysArray() method in the custom view object class of both view objects calls the helper method newScoredKeysArray() in the superclass to create the Array of STRUCT and set the value of the view object's bind variable. It expects to receive a List of Map objects, expecting each Map in the List to contain Map keys "Score" and "Key". The view objects both use the JDBC positional binding style, indicating the (zero-based) integer position of the bind variables as additional metadata in order to still work with the bind variable as a named bind variable in the view object API's. Run the TestClient class to see the results of joining in the static data with the EMP table.

See also Steve Muench' undocumented 10.1.3.x samples nr. 111

Difference compared to previous revision

ADF Samples - GADF Business Compoeneralnents

[[ADFSamples | Main Table of Contents]] __TOC__ ===ADF Security=== Click [[ADFS [[ADFSamples | Main Table of Contents]] __TOC__ ===ActivamplesSecurity | here]] for ADF Security page ===Application Structuring and Integration and Passivaation=== {| border="1" |- | 02tion=== {| border="1" |- | 561"/>[[#ABA02"/>[[#ABA1561|ABA02|ABA1561]] | []] | [ Integration in Oracle ADF ADF BC ADFM TClasks FVariablowes and- SWharedy JaTo Avaoid ClassThesm] {11.1.1.x] 265-OCTMAR-200912 [ [[image:info.png]]] |- | ABA020SMU161"/>[[#ABA020SMU161|ABA020SMU161]] | []] | [http://jdeves/ssamples.gamples/coontent/SignagleclRode.cwMm/difiles/ Signal IntegratentExcepttion in Oion Corarectclely ADFcross wActivaith ADF Ttion/Pask Flows assivand Ctiommon Files] {11.1.1.xon] {] 0] 232-N-OCTOV-200911 [ |- |||Thttp://is exandrmplej an approach ratito eon-in-onsuracle-adf-wire th-adf-task.html [[imagthat the:i RowInfco.png]]] |} ===BPM IonsisentExcntegraeption=== {| btion is corder="1" |- |orrectly <span id="ABA179"/>[[#ABA179|ABA179]] | [http://jdevs signamples.googlecoalled Lighen if tweightthe ADFM Tausked FlowbyfortheBPM Humasecondn Ta usks Overview] {] 22-JUL-2012 [http://ser has padf-task-flow-for-bpm-humassivan.html [[image:info.png]]] |- | an id="ABA177"/>[[#ABA177|ABA177]] | [hation and acttp://jdeivsamples.gvatiooglen the filers/Inst usteger chratangedBPMWorklis tApp_v3he T. Fiprst,s & Trick it's Himpowrtant to Run O to understracland the BPM 11g PS5 Workspace potentiale f problem.rom Cu Astosumem ADF 11g Applic thati twon] {]o users 14-JUL-2012 [http://andr U1 and U2 quejry usb.blogspoup DEPT rhow-ow wito-run-oracle-bpm-11g.html [[image:infoth DEPTNO=10.png]]] |- | <. Uspaner id="ABAU176"/>[[#ABA176|ABA176]] | [ modifiles/Infies thtegre Running Ore in thaclet BPMrow11gandPS5 Wcorklmmits. Aist Tat thisk Fls pow aindt Human user TaU2 isk Fs lorm ookingon Non-SOA atDomain] {] a "stale" 09-JUL-2012valuein [htt the p://page iandrn hejusr b.blrogwser. User U2 prspot.oceeds to com/2012/07/make herunn eding-ort and acle-bpm-11g-pclicks5-w (Corklmmisit)t.html [[image:i. Info.png]]] |- | an id="ABA174"/>[[#ABA174|ABA174]] |n an ADF [http://jdevs page isn tApp.ziphe ADF 11g PS5 Atypplicationpical wiay, theth Customized user BPMwillWcorkrectlisy get Task Flot a warningw (MDS thatS"Anotheededr Customiz user hation)]s {] 27-JUN-2012 [chttp://hangeandrd theju row" asb.b long U2012/06/adf-11g-p's5- application-with-custo mizeod.htmulel [[im hage:is nfo.pnot underng]]] |- |gone passivatiopan in and="ABA142"/>[[#ABA142|ABA142]] | [hd acttp:// If fileins/RtesourceAad applloicationPr load ADF Dces ADF to activateata Control the Fix for BPAM'sM 11g Hum pan Task]assivated {] 05-JAN-2012 [hsttp://andtate to servicreje usb.bloger U2'sp ( col-fix-folick r-bpm-11g-hequman.est, then htmlthe [[imchage:info.png]]] |- |ange mande by user U2 id="EBI015"/>[[#EBI015|EBI015]] |is [https://g silenithub.tly com/bmittiemond/sed, poa11g_texntiampally ovles/terwriting three/me changes that usaster/Humaner U1. TaskLhistApp Wis occuorkingrs withbecause the Human the act WorkList of apcti vatiandng crthe AM steate youate readsr ow in WocurkLisrent DB vt applicatialues on]f {11.1.1.x] 26-OCT-2011 [http://b the queriemond.blied, workhing-witch-huma n-wnow orkreflisect- the chapi-and.htmlanges [[imag made:info.png]]] |- | <e by uspaner U1 instea id="ABA082"/>[[#ABA082|ABA082]] | [hd of ttp://jdhe evsampvalules.googles that iln user U2'es/Empls current broywseeMr panagemage. Then Ition nitiainvolves uslizing Oracle BPM 11g Proing a changcess Pe indicayltoad from Oraclor attribute ADFand 11including] {11.1.1.x] 28-OCT-2010 [g thahttp://t indicainititor alttrizbute ing-oracl the- web bpm-11pag-procge aess.html [[image:s a hidden infofield.p Ing]]] |} ===Con the etextuxample,al Ev the Dept eents=== {|ntity bord objer="1" |- |ct <isp based oan id="n the DEPT_WITH_OBJ_DVA006"/>[[#DVA006|DVA006]] |VERSION [http table. This://g is standard DEPT natasntable to which has bicequeen added a estion/Blog-on-Softwarsingle-, and-Beyon-it-/radditionaw/l NUMBER column nmaster/samples/adf/amed OBJECT_VECRUDRSION. Tahe ObljeBctVarsionD ataControlApp.zipattribute Using con in thtexe Deptual events t entitoy is mark refreed ash Bes a 'Changean D Indicata Conator' atttrolribuiterte, atornd int's Oracle also ADF] {] 05-JUL-2012 [http://markedon atas.nas a 'Hicequestion.cistory Com/2012/07/lusimng-c' onf typtextual-ee 'ventrs-tio-rn numbefreser'. Th-bean.he hishtmltory [[icolumagn se:ttinfo.png]]] |- | <ing tellspan id="ACC068"/>[[#ACC068|ACC068]] |s ADF [h to auttp://www.ortomatically thnetwork/dehe vealopuer- of this ctools/olumn to 1 in adf/ newly created row, alearnmnd to incore/68-corementex tual-he versioevent-tan numble-sber eleaction-262529.ziph How-to solv time the knrown row is modified angd saved. The e change evechange indicant problemtor setting tells ADF to compare only th in ADF contextue val uevents ]e of {11.1.1.x] 16-JAN-2011 [this a inetw ork/developer-order tools/a df/leadeternmore/68-cormintexne whetual-hevenr t-the row has able-slebeen ctiohan-262503.pgedf [[imd by agnothe:ir user or nfnoto.p. Ing]]] |- | n the absencean id="LBO016"/>[[#LBO016|LBO016]] | of[http://tea chachnology.amnge and-contexattribtual-events/ute, A Drag’nDF Drmust comop andpare Con thtexte values of allual Ev persistent attributeents,s which ca no sn tampke longer.le app] The{view11.1.1.1.jspx] 28-DEC-2010x page uses [http://t thec comop-aponent to inclund-de the ObjectVersion acontexttribute vtual-alueve in ntsthe [[impage:. By doinfo.png]]] |- | <ing thispan, id="JPU046"/>[[#JPU046|JPU046]] | [the objechttp://adf-samplt veres.gsion ooglof thec row being by user U2 will be iles/DynasubmicNavigatimitted tonSampl Te seriggveri along Navwigationith fromthea Con othtexer attribtualute E valuventes, H and it will bandler Me usethod] {] 18-NOV-2010 [http://jobinesh.bled to avigation-fagainst the ObjectVersirom-coon antexttribute vtual.halue of tmlhe [[imagrow be:info.png]]] |- | eing editeid="ABA081"/>[[#ABA081|ABA081]] |d. [hSince ttp://jdhevese vsampalules.googlecoes, the RowIncom/fnsiles/ContextualDynamiistentExcRegceptions.z ips Cthrowontextun als Evdents Fesiramewored. Trky re-enabli andng the ADFAM 11Pooling Dyto conamvinic Regice yonurs]elf {11.1.1.x] 17-OCT-2010 [that http://andrthejusb.blogspo t.ecom/2010/10/cohntextiqual-events-frameue will wwork-aork und-adf-11g.hter normaml [[l circuimage:info.png]]] |- | <spmstancesan id="JPU041"/>[[#JPU041|JPU041]] | [http://adf-sampl as wesll.g Toogl run thecod .coxam/fiple, les/CustomEvenstartD by runnispang tcthe CherSreampteTablesle.z.sql scriptip Building tocreate a custom the DEPT_WITH_OBJ_VERSION tabl eve. Then run theent d view1.jspx pispatage. Once the page appearscher f in youor Contr dextufaual Evenlt browts]ser, {]copy16-SEP-2010theURL [http://j [­lRowIncustom-event-dconsispatcher-for-coiste­ntextu/fal.html [[imagce:s/vinfo.pngew1]]] |- | an id="CMU003"/>[[#CMU003|CMU003]] | [http://www.sag] and pastecompu it ting.cintom. au/chr dism_fferent blrog/Pwser. Frogor exrammatample, icf Google ChrContomext is your Plt brogwser, prammaaste ticit Cointo Firefontextual Evx or Interneents] {vt Explorer. This will allersion]ow 08-AUG-2010you [http://on to te-est havsize-ding twoe disnt-fstincit-all.t u/2010/08/jdsev-11g-proers using your grammapplicatic-cation. Both browsontextual-eventers. shtmouldl [[imag be: lookinfo.png]]] |- | aning at id="ACC017"/>[[#ACC017|ACC017]] | [http:// the rowww. foracle In technthe firsetwt browseork/r windeveldow, updatoper-e tools/he vadf/aluleare of Dnanmore/me andvt clickeven (Commit-168502).zip H. Now- tohe iseconvd brokwsere c is looking aontext a "sual tale" valuevents frome for athe DVT grnapme. In this seh compocond browsnener, updat]e {11.1.1.x]the11-MAR-2010valueof [http://www. Lorc and (Ccom/ommitec). Thnetwohe userk/d gevts thlo exper-cted error "Antoolother us/er has changeadf/ld thea rnmrow with primary kore/17-dvt-ey oraclick-evcle.jbo.Kent-y[1691470]". The AppMo.pdfdule [[applimcage:tinfo.png]]] |- | ion module id="JPU001"/>[[#JPU001|JPU001]] |n [http:// the exadf-saample hamples.googs its 'Enable Application Modullecode.e Pooling' com/nfiles/ProfigugrammaticContration sextualEven.zipetting Pr(jbogr.ammaticapoolly .doampuboolishiling)ng Cont sextual Evenet to falts]se {]for31-JUL-2009 [ testing purpprogoses. Your rammatically-pubapplishing-licaticontexton modual.htmlule [[wimage:ill nfo.png]]] |} Snever hee alave thiso [[ADFSams poopleling sTaskFlows#ADF_Regsettion_aning d_Taisk_Fabled in prlow_Commodunicauction,tion | butADFitReg is useful fionor atestindg Tthe activation-asksafety Flow of Cyommunour application]] ===C module by ustomizastress-testtioingn and P ther passivation/sonalactizvation=== {| bordation on each HTTP er="1"request. |- | ABA157JPU038"/>[[#ABA157JPU038|ABA157JPU038]] | [ Annotated Same your Applicaturai ionMDSodule Cto persist compleanx objects duringer V2.0 passivation] {11.1.1.x3] 02-ASEPR-2012P-2010 [http://ajobindrejusbnesh.blogspot.cain/20120/049/rannotated-same-your-applurai-icationmomds-cduleaner-v20le-to.html [[image:info.png]]] |- | 122038"/>[[#ABA122038|ABA122038]] | [ MakDemystifyiing Itng ADF WorkBCTogePassivatherion - MDS User and Seeded Cus and Actomiztivations] {11.1.1.x] 01ation] {11.1.1.x] 22-SEPJAN-20110 [ [[image:info.png]]] |--and.html [[image:info.png]]] |} |See also Steve Muench'an id="JPU075"/>[[#JPU075|JPU075]] | [http://adf-samp [ Long living Dynamic Business Ces undocuomponents]mented {11 10.1.2]3.x 21-AUG-2011 [httsamp://jobinlesh.blogspot.i] n/20r. 11/08/long-l5 ===Audivting-dynamic-=== {| business-componborder="1" |} ===Bients.htmlnd [[Varimagiable:infs=== {| bo.png]]]rder="1" |- | ABAJPU07956"/>[[#ABAJPU07956|ABAJPU07956]] | [ Exporting/ Initializiting MDS Metadatang the abind Pvaromoting MDS Laberiables used ls for Oracle ADF 11g andfor an L OracleOV WquebCenter 11g Applicationsery] {11.1.1.x4] 017-OCTMAR-20101 [http://ajobindrejusbnesh.blogspot.comin/2010//2011/0310/exportingimpor/initializiting-mng-binds-metd-vadritables-aind-query.html [[image:info.png]]] |- | ABAJPU07840"/>[[#ABAJPU07840|ABAJPU07840]] | [ Usinceg bind MDS Mvanrigblement for Oracle for the ADFSQL 11g stand Oraclte WmbCenterents 11g Applwith IN clicationauses] {11.1.1.x] {] 209-SEP-2010 [http://ajobindrejusbnesh.blogspot.comin/2010/09/advausincedg-mbinds-md-vanrigblement-for-orace-for-sqlel-st-adfatements.html [[image:info.png]]] |- | ABA077SMU154"/>[[#ABA077SMU154|ABA077SMU154]] | [ Two Applying PersonalizaApproaches tion ato Referendcing Cusontrtomizoller-latyer Session State in Vion in Oracle ADF 11g aO Bind OVariracable WebCenter 11gs] {11.1.1.x2] 2216-AUGDEC-201-2009 ]0 [ |- |||Thttp://is exandrmplej tiwon-and.html [[o dimagffe:irenfo.png]]] |- |t an id="ACC031"/>[[#ACC031|ACC031]] | [http://www.o etwto ork/developer-tools/adf/leareferernmncing contore/31-mdspowrollerus lay Me inside etathe default valuedata S expervicressiones (MDS) ofExampl a vie:w Pow objer Uct'ser vs.s bind Novarmiabal User] {11.1.1.x] 21-JUN-2010le. One [htt typ://www.oraical cle.coexam/tplechne is twto ork/developer-tools/adf/leareferernmornce/31-mds-s the nample-169173.pdame of [[imagthe:inf lo.png]]] |ogged- |in <uspaner (wh id="ABA018"/>[[#ABA018|ABA018]] | [ich in http://jdthev past web samappples.googlelicaticode.cons wm/fiuled s/UserCustomstore izatioin a Web nsSession2.zsession attripbute), Phowever ersistingsince Qyou can usuery Crie thteria Re adf.context.secesulurityContext.userNamets Ac grossovy S expreessions withssion to Ora referencle MDS]ce the {11.1.1.x]username30-SEP-2009of [http://andr thejusb.b logged-in when uersisting-qusing ADF Sery-ecurity, I chooscriterie a-re sults.slightml [[htly-dimagffe:irenfo.png]]] |- | [[#ABA017|ABA017]] | [http://jdnt evsxample of amples.gstooringle a representilng the ues/UserCuser'st favomrizatiite consSlor. Thess Usontroller Cusproject ctomizaontations forins a DuUseratioIn onfof S bessioan wn inith Orac a single ADF 11g] {11.1.1.x] 27-SEP-2009 [http://fandvoritrejusb.beCologsr Thizs beatioan ins-fos r-duraegistered tioin the [[fimle ags a se:ssinfo.png]]] |- | <ion-scoped mspan ianaged="LJE002"/>[[#LJE002|LJE002]] | [http://td, and uads/imasinges/impa tihent JSF Pd propersistederty rfeatunre, timhe defae usult valuer UIe of p emgersoreenal izats oinjected intn or: Impatio the bean aent mt creatioan's MDS] {11n time.1.1.x] 09-JAN-2009. The Model [http://t projechnt ted-run-two vime-usiew objer-ui-percts that each contsonalizain at bion-oind var-impatiriable ent-mans-namemds [[imd Vage:rFavorinfteCo.png]]] |} Slor whoseee defau also Stelt valuve Mue wenche'd' [http://b like tlogs.orao f/resfrom the courcurre/exnt vampalules undocue of the aforementionmented 10.1.3.x ed Usamples] nr.serInfo 131 ===Dmatngeda Push=== {| border="1" |- | bean's favoran id="LJE043"/>[[#LJE043|LJE043]] | [ p-cronperty. Thtenere are t/uplwo boads/2012/06/ADFApplasic icatiappronWitachDBQRCN.zipes: Notifying one ADFwill appliceatil monsre t of databao those who se changcherishes thefcleaneast and lest logicanl u separatiosing An of view/conctivtrollere Data and Smodel layeervicrs. The fe otheor Sr appeals more to developerserver t who Co likliene tot P use theush "simplestPthing thart Two]at works" {](as19-JUN-2012 [http://techno lonlogy.g ams it'is.s nl/2012/06/19/notifying-not badf-a pplractice). The ExicatampleVO2 VO ions-of-database-instanchae ing thes-f AM dast-anata mod-el is of type Exlean-uampleVOUsi­sing-acngADFContive-text­SessionInfoI­nBindVdatari-sbler. This vice-fview or-sbject's VarFaervevor-iteCto-color blient-push-pind vart-two/ [[imagariable:in refo.perences the ng]]] |- |groovy exparession iad="LJE042"/>[[#LJE042|LJE042]] | [hf.contexttp://tt­.sechssionScnologyop­e.amiUs.erInl/wp-cfon.f­avoritent/upColor anloads/2012/06/ADFAd repplicatioresenWithDBQRCN-Snts thtep1.ze "simplestip No thtifying ADF ing thapplicatiat wonrks" apprs of database changeoach. This – ftakeast and les advan using Databasantage Queryof Rthesul fact Cthat ADFCohangntexte Notifi objecation – Pct abstractsart On acce]ss {]to18-JUN-2012 [http://techn the fology.amur scationcopes-of-da tabase-chanthat miges-fasht-and- be relevlean-ant dusring-database-que ry-result-change-noruntime of an ADF appltification-ication: applicpart-ationScopone/e, [[imagse:ssioinfnSco.png]]] |- |ope, viewScope, pan id="LJE036"/>[[#LJE036|LJE036]] | [hand requesttScop://tecpe. Whehnolon the wp-eb content/uploads/imagcontaines/Progrer, these ADF Faces: Hscopes map oandlento taskhe obv inious bmatackgrouchindg proscopcesses th andat shyowu are familiar real t wimeth pfrogrm thesse v indiiew/catcontor froller lor asyncayer. When hrorunning outsidenous jo the web uscontaing Serveriner, Pustheh in ADF] {] 19-OCT-2011 [h ADFContex ttp:// an dle-tdefask-ult implemein-bntackgrtiound-pron of these scopes aocess-s and- show-rset of steal-atic time-maps that are useful for reprogress-gressioindican toesting pur-fpor-ses. The Test clasys inc thronoue Tes-job-usting-se prvojer-pct illush-in-tradftes [[image: makinfo.png]]] |- | <ing uspane id="ACC065"/>[[#ACC065|ACC065]] |of[the ADFContex network/dto sevelotuper- the sessitooon-ls/jdev/learlevel inmfore/65-mactivedaation tasher vicestwittview objerct isam exple-191316.zpectipng Ac to ftiveind Data Serv at runticme.e S The ExampleVOample - Tw in ittther Cliene AM's dat]a {11.1.1.x]model01-DEC-2010isof [htt typ://www.ore Exacmple.cVOUsingCom/tech­network/developntroller-tooSuppls/jiedU­sdev/erDataHashtablearnmfore/65-actInBivendVdatarisbler. This vicestwittview objerct's bind vsampariable-191314.pd of [[imthe sagme:i name renfo.pfereng]]] |- | <cespan id="SMU156"/>[[#SMU156|SMU156]] | [http://jas the groova.ny et/xprojects/muepressionch adf/so.useurcrSes/ession.userData.FavoriteColor. In this isamples/cmplementation that defiontent/UseSnes tharedAMFhe morUITore clear separaest.ziption UseofAuview/contrtoRollefer layresher VOandbusiness in Shar tiedr AM- wh witich Optimizh is thed Pollinge one toIShpersow Lnatlly prestfer Data and irecommendn a -Tablthe] {] 26-e ADEFBC-2009 |- |||ThC session's usis exerData maample illp is ustratesused how to u to store informatiose an Auto-Refresn that the view object's bh view object in a shareind vd applarication moduiable to dwisplayill threference.e l In ate customizedst database cha data congestrol implementation class (Cus in a tatomDCJboDataControblel), without the b eaeginRgerly requeryingequest me thethod view is objvecrridden t.o Thinvoke Da septVietSew ssionFavoritview eCobjlor() mect hasethod itsonAutoRefres the Examh prpleMopdulerty se client inet to tteruface to pass ie and the Mn the value odf thel pe UserInfrojo.favoritecColor intot d thef businessines a tier.sThared application module instanche application module stores this ie nanformed AppMatiodulen oin the Businessn the user Codata mampop, and maknents >es that Applic information Mactivatiodule Ion/panstssivatioancen-s pansafele by ofoverriding the projassivatecSt propater() and activateState() methodties. The AppMs. The custom data control is configured by setting the fully-qualified name of the CustomDCJboDoduleDataControl enataControlFactory class in the ExampleModuleDtry in the dataControlUsagataControl entry'es ses FactionctoryClass pr ofoperty in the DataBindings.cpx file ( the DataBindings.cpx file in the Viewin the dataControllUsagers projsection).ect has bee On ean configuch red to qusuest,e the AppM the view/coduntrollleSher layer passaredes cothis infiguormration sation into that the UI worko the bus withsiness layer, a share and the Examd apppleVOUslicatiingCo­on mntroduollle erSupplinedU­serDastance. AtaHas htableI­an nfoptInBimization, the DeptindVariablView view object ove view object refeerridrences ies thts value pfrocm the uessserDatab maseChangep. Notification() method to keep track of the System.currentTimNotice the setDeMillis() in fa uloctV­al muembesFor fiSeld. The vss­iew objionLect's gvtLlFasv­oritRequeteColory() is r() mexpthosed ood in the cExamplient intleModulerfaceImpl cl andass. Th is acceis iss invoked byin than overriddene D prepartmentPagepareSe backssioingn() bean's via a method action b method to assinding.ign That b a rean's onPoeasonabllTimerExpirele d()efault mvalue ethodto b onlyoth b of othersthe favoriteColor to add elementsif their the t vabalule UIe is componurrentlyent a null. This awould paensure rtithalt both app targroachets would work if the respec if the timtive the view object wase view object were lcastlled from a s requeervicried is ge oreater than the r a test cltime ienthet th table was last PPR'd (which iat didn't tpracks ovinde any a vi spewScopecific value att ribruntimute). Toe. In try the d the Temsting projecto, run the D, the Teparstment clas.jpx pss illustragte.s Ifhow you'd l you can wrikte trya st accandalone regressioessing thn test (jue samest page from a simple Jaseverva classal different brow in thisers (e.g. Firefos examplex, I, nontert a JUneit Explorter,st) Cwhroich mimics thme)e view/controller to simulat layere mu caltipe, distinctlling usof there setSe sessions. In SQL Plus (ssionFavor ithe JDeveteColopelor()r SQL APIDin thevel opner worke casheetse, wiandow) try nd whinsert,ch upd populating,es a "m orock" dseletssioingnScope UserInf rows io bean win the DEPT tableth a f and cavommritting thiteColore chang propes.rty Sto make ometimthe in otherthe n viextw 15 sobjecot find itnds,s expec the ted indiffeforenmat briowsern. uAser's shs mentioulned updatd above toI p reflectrefer the approa the changes automch thatically. |- | <at uspanes id="EBI007"/>[[#EBI007|EBI007]] | [http://www.sbsfram the ADF Data puserData hash with Activsh table Daseta Servt explice] {] 05-DEC-2009 [ viadf-d tn -push-wapplith-active-data-service.htmlication [[image:info.png]]] |} ===Dep moduloye ment=== {| bmethorod, howeveder="1" |- | r at least nowan id="SSH001"/>[[#SSH001|SSH001]] | you[ have a gooadf~sd examples/Glass ofis bothEx techniques GlassFish Exin acteion nsiso you can decide on for JDfor yourseveelf which you prefeloper] {]r. |} See 24-also SEP-2012teve Muench' [ [ [[imxage:info.png]]] |- |||A saamplesmple exte unsidocumeon that antedds iconsd 10.1.3.x s and amplmenues]s to sta nrt/stop. GlassFish,118 also anddsd 126 ===C a propertallies paneling forPLSQLconfiguration s in Datoring. Can be used as thtabase=== {|e base for oth border extensions.="1" |- | 8306"/>[[#ABA18306|ABA18306]] | []] | [ ResolInvokving Inving Stored Procedures alind ADd FunctionsF BC withLNamed Variaibrble Pary Iamporet in JDeveloper 11g R2ters] {] 025-AUGPR-20121 [http://andrejusb.blogspot.caom/20121/084/resolinvokving-invaliing-stored-adf-bc-library-imd-proceduportres-and.html [[image:info.png]]] |- | THAPLI0041"/>[[#THAPLI0041|THAPLI0041]] | [http://jpava.nest/projects/smuetebin.nchadf/sourcescom/sramw.php?i=zHbz2ZVD Caples/content/BlogAdfVersoinWS.ziplling ADF:anHowOracleda totabase finprocedure frd outom Java whicwith ADF versih onlyon is ONEl installed onine of a mangecod WebLogic server] {] {11.1.1.x] 0524-FEBNOV-20120 [ [[image:info.png]]] |-} |||Find out which ADF RuntimSeee is installed alson a WebLogic o StServer withoeve Mut accessuench' [http://bl to ogs.ora connchadf/resource/examples undocumesole on thntede server 10.1.3.x. This sample uses samples] aWebSe nrvice. t100 ===Co pherient out thce ADF RuIntime Ventegrsation=== {|ion installed on a WebLogic Serv border.="1" |- | AEBA1I0039"/>[[#A3"/>[[#EBA1I0039|A3|EBA1I00393]] | []] | [http://jdevsjdev11gR2_examples.googl/ HCow to shet EAR Versioerencen for with ADF ApplicationBC on(WebLogicBC4J)] {11.1.1.x] 219-DEC-201108 [ [[image:info.png]]] |} ===Control Hints=== {| border="1" |-adf.html [[image:info.png]]] |- | 1- | 4"/>[[#ABA1114|ABA1114]] | [ Target MDS Repository for ADF BC ADF Applications Deployment] {11.1.1.x] 15-MAY-2011 [http://anApplication Daet-mds-repta Cosintory-for-adf.html [[trol Himage:iints nfo.png]]] |- |for [[#ABA107|ABA107]] | [ Straner 11ge Dayg R2 - ADF Library Profile Dependency Deployment Problem ADF Libraries] {11.1.1.x2] 2711-APRJUN-2011 [ [[image:info.png]]] |- | 64.html [[image:info.png]]] |- | 55"/>[[#JPU06455|JPU06455]] | [ InOverritdalizing ying Countrolr Fus Hiointsn Web ofAppla View Objeicatict on Parameon thters at startupe fly] {] 0822-APRFEB-2011 [ [[image:info.png]]] |- | ABA.html [[image:info.png]]] |- | JPU02084"/>[[#ABA8"/>[[#JPU02084|ABA8|JPU02084]] | [http://j8]] | [ FDewcorate HUI wintsith abview routw ADF 11g Wettribute'sb D Useploymer Int Perofilrface hintes] {11.1.1.xs] {] 130-JU0-NOV-2010 [http://aN-2010 [http://jobindrejusbnesh.blogspot.comin/2010/1106/fdew-hincoratse-about-ui-adf-11g-web-with-dvieplw-roymenw-attributest.html [[image:info.png]]] |- | ABA0.html [[image:info.png]]] |- | SMU1374"/>[[#ABA07"/>[[#SMU1374|ABA07|SMU1374]] | [http://jde7]] | [ RedeImploy aemendting VerCusitonm ADF Shared LVibrariesiew Row Hint on WLS Behavior] {11.1.1.x0.0] 1809-JULDEC0-201200 80 [ |- |||Thttp://is exandrmplej illusb.blogtratesp how plroy-and-version-adf-shared.hovide a custotml [[m vimage:infiew ro.png]]] |- |w an attrid="ABA073"/>[[#ABA073|ABA073]] |bute [ hinhttp://jdevsats Dmplementation. Theploying ADF Ae EmpplViewRow clicationasss a overrides Sthared Libhe crerarateViewRowAttrHints methies onod WLS]to{11.1.1.x]return14-JUL-2010anew [h insttp:// ogspof EmeplpViewRoywAttributeHiing-adf-antsImpplipl clcations-a-sass (wharich extened.hds tmlhe [[imfragme:infwo.png]]] |- |rk <baspe clanss V id="iewRowABA027"/>[[#ABA027|ABA027]] | [http://jdevAttrHintsamples.googls. In Em/fpViles/iewRowADFIntegAttraibuteHtion5.ziintsImp Buildingpl cl andass, I nontegrating Oracle ADF 11g Applictice thationsat we've overridden with OjDeploy Uthe getHtiliinty]() {11.1.1.x]API19-NOV-2009 [http://a to conditionally ndrejretusb.brn a value uildingser-and--defintegrined ating-otraclibute-adf-11g. hinhtmlts [[imnagme:d "minfo.png]]] |- |date" andan i "maxd=ate"ABA015"/>[[#ABA015|ABA015]] |. [Thttp://jdevsamplhese hintes.googls are ecode.ccoded tom/fi les/DSDeployment.ziplook Manual at Orthe vacalule ADFe of Applthe Hicredate ation Din theploym current row, andent on WLS wi rethurn JDBCaDdataSource] {11.1.1.x] 20-SEP-2009ate String [thahttt rep://aresendts threjue days sb.blbefogspore dl-te for "mindoraclate-" anadf-d three dapplicys fation.ter thahtml [[imt dagte:in fo.png]]] |- |r "man ixd=ate"ABA006"/>[[#ABA006|ABA006]] |. [Thttp://jdevhe class samples.galso Ore getLaclbele ADF API BCtoDeplcustoyomizmene the vt andalue Impor of thted Libre "laribes]l" {11.1.1.x] 17-JUL-2009 UI [http://a hindrejusb.blogspot.cnt fom/2009/07/oraclor the-adf-bc-depl Joyment-b and-impottriburted.hte. Run tmlhe [[imTestPage:infoage.js.png]]] |} ===Filepx Upload and Download=== {| and try btord er="1" |- |dit an a "Hire id=date"THA003"/>[[#THA003|THA003]] | [http://java.n" valuet/pr. Yojects/smou'll suencee thadf/sourct thes/s dampltes/ picker content/BlogUponly allloadDownlows yoadV2.zipu JDev11. imag thes/files in ADF (Pe daratet 1-3)] to{]a26-NOV-2011 [hdattp:// thandlt ing-imagesfis wiles-thin- adf- sparn of t-1/hree [[imdagys be:info.png]]] |- |||Thefore gto three doalays oafterf this the scurrent vampalue. Thle is to is occurshow hows due to uploadthe aUIfilcomponent's refee from a renclientcing to t the cuhe server, storestom "minda thte" and "me dataxdte"a o hints approprian thtely. Ale serverso, makeyou'll inotice tht avaiat the labllabele for la for thter retre "Job" fieval anield id shows the default label w the data inith the val the user inue of thterfe Sacel (foattrmibute appended and table) to it. |} ===InternDationalizatabase Connectionsation=== {| border="1" |- | JPU02=== {| border="1" |- | ABA1555"/>[[#JPU02"/>[[#ABA1555|JPU02|ABA1555]] | [http://a]] | [ AccTessting ResouADF BC Prcoxy User De BuB Condlnection in Multi-Useres f Environrom a ViewObjecment] {] 1420-JUNMAR-20102 [http://jobiandrejuneshsb.blogspot.incom/20102/063/acctessting-adf-bc-ping-resroxy-ourcuser-de-bub-condlne-frctiomn.html [[image:info.png]]] |- | 033151"/>[[#ABA033151|ABA033151]] | []] | [ Exteusnding ResourApplice Buation Modundles fromle for A DifferentDF BC ProjProxy User DB Conneects ctioin ADF 11g] {11.1.1.x] 17n] {11.1.1.x] 08-DECMAR-200912 [ [ [[image:info.png]]] |- | 0567"/>[[#JPU00567|JPU00567]] | [ FMormadifying thet d Applicateion fMordule's aJDBCLDataSource ocalat run time] {] 127-SEAPRP-2009-2011 [ cale.html [[image:info.png]]] |- | ABA[[image:info.png]]] |- | JPU00429"/>[[#ABAJPU00429|ABAJPU00429]] | [ Oracle ADF Rund Iternationalnning Characters] {11.1.1.x] 26-JUN-2009 [httAp:// [[usimage:info.png]]] |- | an id="EBI005"/>[[#EBI005|EBI005]] | [hing an exttp:// JDB Change laC conguagne / Locale ectioin ADF] {11.1.1.xn] {] 2509-FEBJUL-201-20090 [http://jo [http://biemondbinesh.blogspot.i.blogspot.nln/201/2009/020/07/charunninngeg-applicatio-langnmoduage-localule-use-in-adfing.html [[image:info.png]]] |} ===List of Values and Select Lists=== {| border="1" |- | THA0.html [[image:info.png]]] |- | SMU1029"/>[[#THA0SMU1029|THA0SMU1029]] | [ JDCrevdntiaeloper: Uls.zsinip 11g StDynatmic ViJDBC CrewObjdcntialts for Ls for Mookupdel Data1,Strut uses, Trinidad,d by andADF Fac LOVRich Client] {] 026-SEPAUG-201208 [http://t |- |||ompeez.wordpreowiki>This an 12/09/02/jdevelo1g per-produsing-sctatic-viewobjects-for-looktion up-data/ [[image:inupdate of fo.png]]] |- |||Thisone saof mpley shmowosts h frequently dow tnlo usaded examplee sts (Dynatmic ViJDBC CrewObjdcntials,ts to #14).implThemrnt le are fookupour dsepatrtea whi workspaches, caonen b for eache u of the supportsed bed waysy m yodelu drmivenght LOV |- |builda web application uspan id="THing A009"/>[[#THA009|THA009]] |DF: [hDynamicCredenttp://jiava.lsNoConet/projntrollectr.jws/ imuench adf/s "Mourcdel 1" es/sstyle amappples/lication wiconteth nt/BlogCaseIno consensitivntrolleInputLOV.zipr JDevelop layer;er & ADF Dynaf:micCredeinputListOfVntialsStralueuts:.jws enableiscStruts-based;ase i DynsamicCredentialsTrensitinvedad.jws i ses arch] {11a]3 20-AUG-2012 ADF [http://tompeez.wordpress.Facom/2012/08/20/jdeveloper-ces adf-afinputappliscatitofvalues-eon that's nable-cas-insensbeen migraitive-ted to use the Apsearch/ache [[Trimage:info.png]]] |- |||This sinidampled shcows how to implomponemeents; and Dynnt an af:amicCredeinputListOfVntialsRichFaces.jws usesalue wi theth c new ADF Fasces Rich Cliee insnt componentensis tivehat search |- | are newn id="ABA in 173"/>[[#ABA73|ABA173]] |11g. [Eachtt p://rojdevsamplject res.googlfcodr.ncom/files/RadioTablces Re sadiome GrMoupdel List Suppo projecrt by ADF BC] {] 21-JUN-2012 [http://andrt and FwkExtejunsb.bliogns project. The fradimewo-group-lisork ext-ensuppiort-by-adf-bn c.html [[imagclasse:s infvo.png]]] |- |lved in id="DSI003"/>[[#DSI003|DSI003]] | [ implementoSuggestApp.zipting AutoSugg the soluest behavior In ADFtion live Using EJB in the DaFwkExtaCensionts prol] {11ject.] 21-APR-2012 [. Thttp://e Modeepakcs.blogsdel cor-in-ontadf-using-ejb.hains tmlhe [[simagple:inf ADFBC co.mpng]]] |- |||AutoSuggponesntst b usehaviord in ADFthe ex addsample: a pTestModule appull-dlicatiown menon moduleu of witha susinggles DeptVitedew vVO instalunces te ofo a t a DexptViewt f vield.w Thobjecte u baserd caon either clickn the DEPT directly on a sugg tablest ion toin the SCOTT sch enterema. Wh itile updat intoing the fi the exampeld,le f or navior 11ga, I teook the lisberty of t using theusing two up and do newnw featu arrow keys, selecting res thata valu allowede using th me entere to key. |- | < simplify span id="ABA135"/>[[#ABA135|ABA135]] | [hand sttp:// impiles/ Fix Rowsn. Thete first is Forward Only Error for ADF BC LOV Rang of thesee P wags using (]the {]new03-DEC-2011 [http:// at-tris-fbute on the orward-only-fr-adf-bc.html [[root imcage:tinfo.png]]] |- | >[[#ACC090|ACC090]] | [http://www.oracion> ork/developer-tools/adf/lof the Dearnmore/90-filter-adf-bouataBind-lndingists-508191.zis.cpxp How-to filter ADF file in beach oundf the c lislients] {11.1.1.x]t web 30-OCT-2011 [ projechnetwects in ork/developer-order tools/adf/lea rnmore/90-fregilster- adf-bo cund-lists-508190.pustom ADFM error handfler [[imag imple:imenftatio.png]]] |- | <on (tespat.Dyn amid="AcJDBCC091"/>[[#ACC091|ACC091]] | [http://www.ErrorHoracandle.corIm/tecpl). Thnis etwrrork/ handeveloper-tooldler is/a df/leardesignmore/ How-ned to notito creace thte ne DMLExcew lookup dataeption fthromwn by a list of va faialuesled databa selse connect list]ection {11.1.1.x] 04-OCT-2011 [hattp:// (dutechnee twork/develto incoper-orrectool us/adf/leasernarnmore/91-me/paddrosswfromlov-513620.pwordf [[id comage:binfatio.png]]] |- |on), andan id="JPU076"/>[[#JPU076|JPU076]] | it [throws tha http://adf-sampparticular Programmaather tichallyn swit simply cacching LOV querieshing it aon thet ru binding contan timine] {11r.1.2] 06-SEP-2011. The second [h new featture emp://jlobinyed is tesh.he ability to a grlobal custoammmizaticon to the ADF Page lifecyce bally-y uswitchising a METAng-lov-INF/adfquserttiengs.htxml [[fimagle: info.png]]] |- | in eanch cl id="ACC087"/>[[#ACC087|ACC087]] | [hienttp:// www.oeb Eachn projecetwot rk/devregisteloper-ers toolhe tes/t.Dynadf/lmicJDBCPagePhaseListener iearnmn ordore/87-ler tov-us conditoing-sharnally ed-am-444771.zipxecute Hsow-me custo imprtom lovegic LOV pberformance with shared AM in ADF BC ] {11.1.1.x] 29-JUL-2011 [httefore the ADF "p:// m/todecl" phnasetw ork/df thev lifcyceloper-le. This custoom ls/adogic ref/leaferernmnces the data contore/87-lov-urols sing-sin thae currred-am-444769.pdfent [[impage: definfitio.png]]] |- |on, causingan id="ABA104"/>[[#ABA104|ABA104]] | [http://jd thevsamples.gem toogl be ecodche.ecked com/out ofiles/C the AM pool (hoiceLisif tRhendy Hidere not alreadye or S chow LOV Bashecked out duringed on LOV theRowScurrenet St lizfe]cycle) {11.1.1.x]before11-APR-2011theJSF [http:// page reandrejusndering Thide-or-show-lov-bhis ased-on-alllov-rowseows t.htmlthe [[image:inf erro.png]]] |- |r han dling coid="EFE001"/>[[#EFE001|EFE001]] |de [http://adf-pra to cactitch thce.googe failed lecodconne.ection attecom/fmpt iln times/Mul raediectr Multipl the LOVusers f tor VO's attributo the] {]e login 20-FEB-2011 [http://ad page befporace tiche-f phase The webc-.xmultml fiple-lovs-ile for-vos-attribut e.achtml [[h Vimage:infiewCo.png]]] |- |||Thontrollere sampl project ce of usontaing LOV switcher |- | an id="ACC070"/>[[#ACC070|ACC070]] | [hins a contex ttp:// (Revelopedir-ectToLtools/ogin) that adf/leardefinmore/70-dependent-lines stboxthes-usin log-ws-285561.zgin pageip How-to build ADF d to repenedirdenect list tot b foxesr wi thatth Web Se parvticular wices]eb {11application.1.1.x] 21-. The JAN-2011SF [http://www.oracl chonetwntains a secork/ndevel copnter-xtools/ padf/learnaramore/70-dmetepr Facndent-liesURLPastboxttes-usirng-w as-286107 well.pdf [[imag. Due:inf Bug]]] |- |# 5069"/>[[#ACC869|ACC69]] |0057, [hsettp:// the prloper-operty in the ctools/adonf/leaiguratiornmn is not corrore/69-custom-loectly sav-wied to tth-he btc4j.xcf-276183g file.z So, ipn How- order to configuto create a custom LOV ure a custom sessiosing bn coundokiede factory cl taskass flowas ]required {11.1.1.x] 18-JAN-2011 [http://www. to oracle.crepurpom/tsec thnetwhe cork/developer-ode in toolhis/ exadf/mplear inm your own projore/69-cusects, ytom-ou'll need tlovo hand-wedit tith-he btf-276178c4j.pdxcfgf [[ fimagle:inf to.png]]] |- | o insert the chiln id="ACC062"/>[[#ACC062|ACC062]] | [http://www.oracd ork/develo.amper-tpool.ools/adf/learse­ssionmcorokie/fautoryclatosuggess>test­.DynstsamplamicJDBCSe-177812.z­ssip How-tionCo usokie the Faf:autoSuggestBehavior ctoryo.aomponmpo­ol.sent tag wssith ADF bound dioncook­iefacata soutoryrceclas]s> {11.1.1.x]inside19-OCT-2010 [htt the ap:// ork/deveoduloper-tleCools/adnf/ig> elearnlement for thmore/62-ae configuratiutoson in quggestbehavior-177811uestion.pdf [[. image:knf> |} ===Gro.png]]]ovy=== {| border="1" | |- | CC055- | BA184"/>[[#ACC055BA184|ACC055BA184]] | [http://www.orjdevsacmplesle.c.gom/toglechnetwork/develecode.coper-toolsm/adf//filearnmore/les/ How-to buDild a sifferenglce sBelecetweent c ADF BC Grompnentoovy withOldimVaglues ie and Pon selecsted Attribut items ] {11.1.1.xte] {] 037-SEPAUG-20102 [ [http://andrdeveejusb.blogsloper-tools/ [[image:info.png]]] |- | JPU030ABA141"/>[[#JPU030ABA141|JPU030ABA141]] | [ Enabling LOVs foGr Doovynam wicth ViewObject attr View Libutnk Accessores] {] {11.1.1.x] 269-JULDEC-20101 [http://jobiandrejuneshsb.blogspot.incom/20101/0712enabling-l/grovs-fr-doovynam-wicth-viewobje-link-actcessor.html [[image:info.png]]] |- | 89"/>[[#ABA0689|ABA0689]] | [ Groovy.z Stripng LOV D Opescriperationstion Text with in GOroovyacle ADF 11g] {11.1.1.x] 1] {11.1.1.x] 07-JUN-2010 [ [ [[image:info.png]]] |- | LJE.html [[image:info.png]]] |- | PU010090"/>[[#LJE"/>[[#JPU010090|LJE|JPU010090]] | [http://technology.]] | [ Acce ssinag web tier variabltive Ae valutoSuggues from theest behav business components in a groovy wayior] {11.1.1.x] {] 2508-NOV-2009 [ [[image:info.png]]] |- | 53"/>[[#ABA0253|ABA0253]] | [ DefiningGroovy the LOV Validation a RefereHince Attribute in Oracle ADF 11g] {11.1.1.x] 06nt in Oracle ADF 11g] {11.1.1.x] 04-NOV-2009 [ [ [[image:info.png]]] |- | ABA0SMU14914"/>[[#ABA0"/>[[#SMU14914|ABA0|SMU14914]] | [http://jde]] | [ PropRefeertyNotFourendExceptionnce V in Queryiew CritObjerict anda LO ViewV C Romponw Menethods from Groovyt] {11.1.1.x] {] 1703-SEP-2009 SCOTT-SEP-2009 [ schema |- |||The EmpView view object in his examhttp://ple features two traandnsient, Groovy calculatrejed attributeusbs. The attribute named Va.bloglueUspingVOFunction references a cusot.tom myFunctionAtVOLevel() com/2009/09/prmethod on the EmpViewImpl class, while the attribuopertyte named ValueUsingVORowFunction references a custom myFunctionAtVORowLevel() method on thnotfoundexce EmpViwRowImeptpl class, in both cases passiion-ng in-q the value of the Sal attueryribute. T.hthe mlethods [[simply return the vimagalue: passed inf surro.unded by either parepng]]]nthesis or square brackets. |- | JPSMU002143"/>[[#JPSMU002143|JPSMU002143]] | []] | [http://adf-df/sources/ssamples.googleamples/codnte.comnt/fBindVariableToUiles/ TReferencing UserData Map Values frips onom LO ViewV Run Object Btimind Variables in Groovye] {] {] 0527-J-AUGAN-2009 SCOTT-2009 [ schttema |- |||This examp://joble includinesh.bes a SessionHelper class tlogo simspoplify referencing ent.ries iin/2009/08/n the ADFBC session's userData map from the Groovy expretips-ssion-ls prov-ruiding the default values for bntimind variables. The user data e.htmlmap [[im is referenced viag EL e:xpressioinfns in the two. JSPX pnag]]] |- | <esp, and it is referencean id="ACC047"/>[[#ACC047|ACC047]] | [http://www.d in Groovy bind varioracable.c expressiom/ns in tewo places: (1) at tchnhe AM daetwta mork/odel level fdeveloper-or toolhe VO ins/tadf/lncear named AnotherInstancnmore/47-hieOfQueryWithBindVerarcarValue (which you chicalan see by seselectolectinecg thoe VO instanice-168520.zce ipn How-to the build Dataa s Modelec list oaned cholicking the (Eice displdit) button, ayingand (2) on the view accessor named Que hierarcryWithBhicindVarValue1al s of thel EmpViw view object. Thectionis dlatter view ata]accessor {11.1.1.x]is06-JUN-2008usedby [ the LOV definition on he Emhttp://pView viewww.w object's Mgr oraclattribute.c Tom/ tecry thnhe applicaetwtion, ork/drun thev StUserMapVaelolue.jspx page, type NameFilteper-r intool the s/etUserMadf/pValue_key field, learnmand (for ore/47-sexampl) the elect-oletter S into thne-e setUserMapValue_value field, and cholick (sice-getUserouMaps-169189Value).pdf [[im. The tagble: info. the pnag]]] |} ===Logging=== {|e borupdatder="1" |- |es <to sphow an id="DRM003"/>[[#DRM003|DRM003]] |example [hof a dattp://jta model ava.nviet/prw object inojects/smuestance using tnchahe bindf/so variable value furcrom the ues/sserDamta Map. Cples/licking on thcontent/ADFLe (GoTo Paoggge ReferencingT Semplssion Vatlues.z ipn CoLOV Binde Templd Var) button takates fes yoru theo ADFaLopaggge wheer]re {11.1.x]the11-JUL-2012searchform [https://bl shogws.or thaclt the. view accesscom/gor's rroundowside/set (based on the same Queentry/aryWithBindVarValue vidvenew object) is tures_in_adf_loggusing the bing_pd vart1 [[imagariable:in value frfo.png]]] |- |||Som thoe userDartcutta te mamplp ates fas well. The Groovy expressions that accessor the J the userData map usDeve th heeloper Jlper class viava coda the expression test.model.Ses­sionHelper.use­rData(adf.obje­ct).NameFilter. A fue editor toture c relereatase ce of ADF will make it sipler tommono referen code statce them ADFBC snts ession objneededect with to useout the ADFneed Lfoggr a helper class. |} ===Jer |} ===MavenMS Integration=== {| border="1" |- | DVAJPU0065"/>[[#DVAJPU0065|DVAJPU0065]] | []] | [http://adf-snicamplequestion/Bloes.g-on-Sftwargoogle-ancod-Beyde.cond-it-/raw/master/sampom/files/adf/ JDeveloperUsing J MavenMS w integrationith to run Oracle ADF BuADF sample sinessin Java cl Coudmponents] {] 172-JUNAPR-20121 [ [[image:info.png]]] |} ===M.html [[image:info.png]]] |} ===Programmatic Business Compoenunents=== {| border="1" |- | SDA002s=== {| border="1" |- | BA185"/>[[#SDA002"/>[[#ABA185|SDA002|ABA185]] | [https://b]] | [ MappSolutioing Multipn to Controle Fl GlocusViewId'sbal wEdith XMLMable/Readoenunly Model in ADF BC] {11.1.1.x2.0] 165-APRUG-200912 [https [http://andrejusb.b:// [[image:info.png]]] |} ===Message Handling=== {| border="1" |- | Ll [[image:info.png]]] |- | ABO00A163"/>[[#LABO00A163|LABO00A163]] | [ QuickyHow 3to: AUpddingate Error,DataIn fromfo and DBWarnView usiing mng ADF BC DoDML Messagesthod] {11.1.1.x] 036-OCTMAY-20112 [ [[image:info.png]]] |- | JPU074ABA153"/>[[#JPU074ABA153|JPU074ABA153]] | [ Clearing the .zip Ustale messse Cageases from for ADF BC Wi the previth Nous requeso Database Ct on client side validaonnection error] {11.1.2tion] {11.1.1.x] 2815-JULMAR-20112 [http://jobiandrejuneshsb.blogspot.incom/20112/073/clearing-ustale-messse-cageases-from-prev-for-adf-bc-with-niouo-databases.html [[image:info.png]]] |- | 6.html [[image:info.png]]] |- | 71"/>[[#JPU0671|JPU0671]] | [ Bustilding programmatomiziically managedng B business Ccomponents Error- MessPagesrt 2] {] 25-MARJUN-2011 [ [[image:info.png]]] |- | ABAJPU06217"/>[[#ABAJPU06217|ABAJPU06217]] | [ DifferenceA samples of ADFHBC andppling JboExceplication ibased on OStoraedProcle ADFcedure] {11.1.1.x2] 1809-MAYFEB-2010 [http://ajobindrejusbnesh.blogspot.comin/2010/052/difference/samples-of-handling-adf-jboexce-bc-applicaption-ition-based-on.html [[image:info.png]]] |- | ABAJPU0508"/>[[#ABAJPU0508|ABAJPU0508]] | [ HaEndltingty ExcObjepction baseds i on Oracle UI n a PL/ShellQL P and ADF Dynamic Reackagionse API] {11.1.1.x1] 0218-MAYOCT-201-20090 [http://a [http://jobindrejusbnesh.blogspot.comin/201/2009/10/05/ha0/endltingty-obj-exceptions-in-orect-baclsede-ui-onpl-shesqll-package.html [[image:info.png]]] |- | 47"/>[[#SMU1447|SMU1447]] | []] | [ Customizing Application ErrC Application With Nor Ho Dandltabaser te Co Support Informaonnectional Messages ] {] {] 2] 010-MAR-SEP-2009 ScottCOTT schema |- |||Theis bexample illustratesase ADF aprodtechnique for creatinguct o anly dn appliscatiotingn moduisle that dohes bes not use a daetwtabase connction.een wa The only reason you mrningsight w andant errtors, so do thereis is nthat youo def are exclusively using programmatic vieault way to gw objects andet a JSF entitymobjectessas, which might bge we an infrequenitht sc seveenario, burityt does come up from of INFO time to time. Thise example inc example illludustrates a CnustomEumberr of lesseorHanr-usedl framework extension class t The NoDhat atabaseApplicationPoolIimplementmpl is hands a custom applicatioling fn mordule infporol implementmational messation clageasss. The addInf. The NormnDatabaseConnectationMionStrategy iesss ageTe cust() om connecmethod tion strategy class . Tin the AppModhe CulstomSessionImpl is a e custom javacustom session class, class add which returns an infs a custorom transaction handmational messageler bfactory.y using t The CustomTxnHanhe addWdlerFactoarning() APryI, mpassl ings a custom subtype of JboWa a custom transactiorning cn handalledler Inform facationalMessage.tory D usedue to th to returne way war an nings instarnce wrapped beforee of they the custom CustomTxnH arandle rImpl clpassedass, to twheich is a custom ecustom trransactiorn handler's getDis handler implementplayMation. The SessionClass configuration propessage()erty mis seth tod by the ADF fro the namew ork,f the Infcustorom session implementmationaation clMeassage, whi coch ins tructoturn bootr sestrapts as the valcuestom itransactionnto t handlhe errer factoryor para and custome tetranrs saction thathandler. tThe Poolhe CuClastosNamErre configuorHratioandln propertyer u ise ets to r to thecog nizame of e the wthe custom arnpplicatioing sn modubtyple aspool an infor implementmational meation classage. Thess. This class overriddenoverrides getD the isSuisplpportsPayMeassivssageation() method in the() method to retu errorrn hfandalslere, indi classcating detects to whe the runtimether the that exthis particeular applicaption ition module pool does as notn inf suppormt passivaationaltion. warning, and if innect tionis, it straddtegyclasss a con infonfigurmational mration property is essagsete to the F to the nacme of the cuesCstom coontnnexct.ion Istrategyt u class which overrideses the ss the creaetProperteApplicatyionModule() anmethod gto setP some key property()ies APIinof the JboWar the envning irobjnmecnt thashmap before calling supo seter. aTheflStagticVO its can u a static viewse to d objetect wect that returns rows whoshethere data is in the Mod the excelBundl.propereption haties afilrle. |- | an ieadyd="SMU132"/>[[#SMU132|SMU132]] | b[ nchadf/sources/samples/creporonted by nth/Statis cuicDataMastom mechsterDetanismail. Thzisp Programmat isic requVirediew Obj becauectse ADF s Showill invokewing Mas the gter/Detail Data] {] 09-OCT-2008 |- |||This example illustretDisplayMates essasome ge()neric tframework extenswo timion classes in action es for efor programmatiachc vi exew objects whoscepe data tionis reporlated, lted masater onter/detaily. oThe genericne o infrastructuref which code glivets res in the StaticDataViewObjectSuppeportedort project. All of to the us the vier.w Ruobjects in the PagMode.jspxl tpro jectr specify the exorampcle. To adfb­c.staticdat­a.CSVFileVi­wObjectImpl clsee anass as their famework bas error be repe class to inherit thorted,e g enteneric functioner a salarality of 5002 reanadingd cl theickr data from a CSV (N(comma-sexparated values) filet). To. The ListOfMapsDataP tryroviderViewObjectImpl fr a amewaork extensiorning,n class impleme enternts a salapry of 5001 rogrand clmmatick (Nic viext).w T object whoo seese d anata infs populated from a java.util.List ormationof java.util.Mapal m objectessags. The, ce CSVFileViewObjelickctImpl ex the (addItends ListOfMapsDataProviderViewObjectImpl to supply a "danformatita pronMvidessr" thagt reTeadst) bus datta fronm CSV files. NBy convenoticetion, i tht reads data from the *.at the cucsv file in stomthe same di errrectoryor ha indl there classpath as the view object's component class is decdefinition filae. So, for example, rativthely ce monfdel.States viguew object readsred v its data from ia the Errthe morCdel/States.cvlass attr fibutle. The compiler options of the pe on the rooroject havt ele bmenteen modified to add t of the Dahe *.csv extaBiendsioingn to the lis.cpxt of files file (w thichat showsuld asbecopied to t the ErrorClhe outpassth pduring comroperpilatyion time. Four different JSPX pages in the ViewController projec of the root et alelow you to try out mastmener/detail dt inisplay of the Pthe propegrammaticallrty Inspy rectoetrieved datar. |} S. |} ===Reeading alsond SWriteveing X MuML=== {| border="1" |- | ench'n id="JPU033"/>[[#JPU033|JPU033]] | [ [http://b undXML focr Qumentueried Data] {ed 1011.1.31.x samples3] 10-AUG-20] 101, 107,10 [ 108,8/xml-for-queried-data.html 130[[image:info.png]]] |} ===Mobil===SOA Integration=== {| border="1" |- | 0e=== {| border="1" |- | 2916"/>[[#ABA0"/>[[#ABA12916|ABA0|ABA12916]] | [ iPhoHumane Webn Tasks Application Deve in Oraclopment With ADF Moble Fusile Browserion 11g] {11.1.1.x] 3026-OCTSEP-201109 [ [[image:info.png]]] |} ===Performance Tuning=== {| border="1" |.html [[image:info.png]]] |- | 0- | 8213"/>[[#ABA0"/>[[#ABA18213|ABA0|ABA18213]] | []] | [ ADF BC Bussivation/Actsiness Rules ivatioin Orn and SQL Exeacle Fcutusion Tunin11g] {] 1] 02-AUG0-SEP-201209 [http://andrejusb.blogspot.caom/201209/089/adf-bc-pa/busines-rules-ssivatioin-ornactacle-fusivation-and-sqlion-11g.html [[image:info.png]]] |- | 0.html [[image:info.png]]] |- | 7510"/>[[#ABA0"/>[[#ABA17510|ABA0|ABA17510]] | [ ImmedBusiatnesse Eff Evecntst for and ADF TablBusiness Compoe Contnentsent Delive in Oryacle Fusion 11g] {] 292-JAUNG-201209 [http://andrejusb.blogspot.decom/201209/068/bus/imminediatess-effvecntst-for-and-adf-table-co-adf-busintentness.html [[image:info.png]]] |- | 168009"/>[[#ABA168009|ABA168009]] | [ How To Servisce-Enabledable SELECT Entity COUNT Ex Objecuects tion foin Or ADF Tabracle RenderFusion 11ing] {11.1.1.x] 26g] {11.1.1.x] 13-MAY-AUG-201209 [ [[image:info.png]]] |- | 165in.html [[image:info.png]]] |- | 008"/>[[#ABA165008|ABA165008]] | [ Wewb LServink Accessor Usice Interfagce Performe for ADF BC Applicatioance Sin Modulde Effee in Oractle Fusion 11g] {11.1.1.x] 0] {11.1.1.x] 13-MAY1-AUG-201209 [ [[image:info.png]]] |} ===Transactions=== {| border="1" |.html [[image:info.png]]] |- | 59- | 64"/>[[#ABA15964|ABA15964]] | [ CompaRefreshring Number of SQL Executions to ing Singlget LOV Descriptie Ronw With Entity Associa Withoution Avait Fulabell Rollback] {11.1.1.x] 152-M-APRAY-2012 [http://andrejusb.blogspot.decom/2012/045/compa/refreshing-siring-numbnglere-r-ofow-sql-executwions-ithto_15out-full.html [[image:info.png]]] |- | ABA15JPU0808"/>[[#ABA15"/>[[#JPU0808|ABA15|JPU0808]] | [http://j]] | [ Displadying PTransaracticction Log When Usere Use Ca Commitse fors a LOV PeTrformransaance Implementation in ADF BC] {11.1.1ction] {11.1.2.x1] 0412-J-APRAN-2012 [http://ajobindrejusbnesh.blogspot.comin/2012/041/bad-/displaying-transapracticction-log-whene-use-case-for-lov.html [[image:info.png]]] |- | ABA136-user.html [[image:info.png]]] |- | JPU079"/>[[#ABA136JPU079|ABA136JPU079]] | [ Calling ADF Tree - Retpplicatioain Vin Modulew Link Acce Messthords Rfrowsetm EJB and MDB] {11.1.12.x1] 1105-DEC-2011 [http://ajobindrejusbnesh.blogspot.comin/2011/12/tuncalling-adf-tree-retpplicatioain-vin-modulew-linke-methods-from.html [[image:info.png]]] |- | 10932"/>[[#ABA13"/>[[#ABA0932|ABA13|ABA0932]] | []] | [ SOptrUpdatess Teste Locking OraclMode in e ADF BCADF 11g ApplicPS3 ationsand - Do Connection Poo Centraling anzed TXN ADiscF BC Connect Levelfig] {11.1.1.x4] 16-JA] 16-NOVN-2011 [ [ [[image:info.png]]] |- | 131087"/>[[#ABA131087|ABA131087]] | [ SImmediatress Tte Row Lestivel Lock Managementng O foracle ADF BCr ADF 11g ApplicTransacations - Internal Connetional Applicactions] {11.1.1.x] 0tions] {11.1.1.x] 28-NOV-20110 [ [[image:info.png]]] |- | ABA128JPU035"/>[[#ABA128JPU035|ABA128JPU035]] | [ ExperimenCustomiziting wing theth ADF orderBCofApplica postiotingn Modul changese P tool Tuningo database] {11.1.1.x3] 2917-OCTAUG-20110 [http://ajobindrejusbnesh.blogspot.comin/20110/1/080/experimen/customiziting-with-ang-order-odf-bc-applf-posting-changes-icationto.html [[image:info.png]]] |- | 05.html [[image:info.png]]] |- | 261"/>[[#ABA05"/>[[#ABA1261|ABA05|ABA126]] | []] | [ ADF BC Opting wmsithtic Do Coannd Pecssimistionc PLoolcking aind TXN Disn Oraconnlect Levele ADF BC] {11.1.1.x] 1528-OCTMAR-20110 [ [[image:info.png]]] |} ===User Data and Session Data=== {| border="1" |tion.html [[image:info.png]]] |- | 25- | 67"/>[[#ABA12567|ABA12567]] | [ Sowlution Tforo Speed Up Applic Shatrioingn Undep Gloymbal Usenr Datat in J in ADeveloperF 11g R2BC] {11.1.21.x] 253-SEPMAY-20112 [ [[image:info.png]]] |- | CMU00ABA1626"/>[[#CMU00"/>[[#ABA1626|CMU00|ABA1626]] | [http://one-size-]] | [ JDevBad – Praf:showDectailItticems and af:e for Sregessions – the pion Scowper of Fae Accceletesss inpartADF3BC] {11.1.21.x] 2103-JUNMAY-20112 [ [[image:info.png]]] |- | CMU00ABA1444"/>[[#CMU00"/>[[#ABA1444|CMU00|ABA1444]] | [http://one-size-]] | [ JDev – HowDe tailIto Accemesss and af:r Segssions – immion Scopediate activation -e in ADF part 1BC] {] 201-JUAN-20112 [ [[image:info.png]]] |- | CMU.html [[image:info.png]]] |- | ABA00537"/>[[#CMUABA00537|CMUABA00537]] | [ JDev – af:showDeStaorilItems and af:reing/Accessgions – programmatic aing Objects ctivation -in ADF paBC UserDatart 2 Map] {] 2018-JUAN-20110 [ [[image:info.png]]] |} ===View Objects=== {| border="1" |.html [[image:info.png]]] |- | ABA- | EFE09703"/>[[#ABAEFE09703|ABAEFE09703]] | [http://jdevsam]] | [ ADF FacRes Pad-opUpnly 11gViewObjectPS3inPDeclaerformancrative ISQL mprovmodementse] {11.1.2.] {] 2] 18-FEB1-JUL-20112 [http://an [ [[image:info.png]]] |- |||The sample of read-only (SQL based) VO working in declarative SQL mode |- | ance.html [[image:info.png]]] |- | ABALJE09241"/>[[#ABALJE09241|ABALJE09241]] | [http://jdtevschnology.ampleis.goognle/wp-codnte.comnt/fiupleoads/Choics/imageLies/ Weird ADF 11g PADF 11g requierforremaenct addressede Tun wingth - Selec left Onoutere Ch joicen and Comb and moderno Box SQLwjoithn Li synst of Valuestax] {11.1.1.x4] 0913-JANDEC-2011 [http://andrtejusb.bchnologspoty.coamis.nlm/2011/0/2011/12/13/weird-1/ [[image:info.png]]] |- | ABALJE08840"/>[[#ABALJE08840|ABALJE08840]] | [http://jdtevschnology.ampleis.goognle/wp-codnte.cnt/uplomads/fil/images/ OraSynclhronize ADFViewObject BC 11g TQuneryinges forbyImme dynamicdiate Row Leveallyl Loc linking bind parametersking] {11.1.1.x] {] 0128-DECNOV-20101 [http://andrtejusb.bchnologspoty.coamis.nlm/2010/2011/11/28/12/ora/synclhronize-adf-viewobjebc-11g-ct-queryies-by-dynamically-linkintuning-for-g-bimmendi-patrame.htmleters [[image:info.png]]] |- | ABALJE02080"/>[[#ABA8"/>[[#LJE02080|ABA8|LJE02080]] | [http://jd8]] | [http://tevschnology.ampleis.goognle/wp-codnte.cnt/uplomads/fil/images/ HowUsing SQL UNPIVOT t To Ro preducpare Ddatabase Cata for dyonnectnamionsc andADFRFaceuse Vies UsewCor Introller Lnterfaycers] {11.1.1.x2] 093-OCTJUL-20101 [ [[image:info.png]]] |- | 070113"/>[[#ABA070113|ABA070113]] | [ ADF Uns and Nnderestestand Applicatiodingn Modules ADFtoBCImprovViewe P Objerformct Instancesance] {11.1.1.x] 19] {11.1.1.x] 02-JUN-20101 [ [[image:info.png]]] |- | ABAJPU06654"/>[[#ABAJPU06654|ABAJPU06654]] | [ OCracle WebTreatier 11ng Configurag Custiontom fHistoryor ADF 11g A Typplicationes] {11.1.1.x4] 02-JUNFEB-20101 [http://ajobindrejusbnesh.blogspot.comin/20101/062/oracl/cre-webatier-11ng-configurag-custiontom-fhistory-typesor.html [[image:info.png]]] |- | ABA.html [[image:info.png]]] |- | JPU04236"/>[[#ABAJPU04236|ABAJPU04236]] | [ OA comptosimizingte View OraObjeclt basede ADF onAppmultliciple dationa Psoolurces] {11.1.1.x3] 1420-FEBAUG-2010 [http://ajobindrejusbnesh.blogspot.comin/2010/028/com/optposimizingte-view-oraclobject-basee-adf-applicatid-on-multion-pooplel.html [[image:info.png]]] |- | ABA.html [[image:info.png]]] |- | JPU00512"/>[[#ABAJPU00512|ABAJPU00512]] | [ ImprovVing PerformanciewObje in ADF Applications - Pect bagse Load Time ied on CRUD F'pivot queormsry'] {11.1.1.x2] 05-JULDEC-2009 [http://ajobindrejusbnesh.blogspot.comin/2009/0712/improving-perf/viewormanbject-basedce-i-on-adfpivot-query.html [[image:info.png]]] |} ===Quality Assurance=== {| border="1" |.html [[image:info.png]]] |- | 2- | 64"/>[[#ABA02"/>[[#ABA0464|ABA02|ABA046]] | []] | [ Red SCamurallingi T Custoolm -EntityHMethowd TFromo Ch Vieckw ADF 11g PackagObje Structure aect Implemend ADF Ttask Fltiown PClarameterasss] {11.1.1.x] 08] {11.1.1.x] 05-MARNOV-201-20090 [ [ [[image:info.png]]] |} ===Resources=== {| border="1" |- | THA008.html [[image:info.png]]] |- | SMU141"/>[[#THA008SMU141|THA008SMU141]] | [ JDevelAutoper: matiaccess resoc Rurcntimes fe Query/Jrom the applications jaoin Pruningr or withDe classpclarath in thative Model or ViewControlle View Objercts] {] 0] {] 202-AUG-DEC-201208 HR [ schttp://toempa |- |||This eez.wordxamprless. contains a single Ecom/2012/08/02/jdmployeveeAllInfelopo vier-accw whos SQL mode is ess-resset to ources-from-use the newthe-applications-jar-or-cla-in-11g sspaeth-tin-the-mg odf 'Decel-olar-vativiewe'. It contrains one editable Empoyoller/ees [[entimty usage:, and six additional reinfo.pfereng]]] |- |||Thce entisty u samplsagese shows showing how to related inforead resrmation aboourcut the employee's departmentes, w, thiche department's are p manageartr, of the a the deppartment's liocations, classpa the departmeth andnt's a region,re d the employee's job, aneployed wid the department's country. Whenth the appl a view object is in declarative mication. |} ===Rodes, its SQL statt Servicem Ient is dntegetermined at runtratioime in=== {|stead bor of at der="1" |- | <spadesign tn id="EBI016"/>[[#EBI016|EBI016]] |ime. [hAttpributes://g in viemw ond/bjdject can haev11g_exampve their Seles/cted in Query property stree/met to false, and these attaster/ITribuntesR will only be estCselected if they are referenced by thelient ITu page definition for thnes Re curresnt Spage, otheervrwicse] {]e they 27-JUN-2012willbe |- |||IT left ount of thesR qustCry. When multiple entitylient c usallges are involved, if s an appall thle ITe attribuntes from a gives resen entity usage at service onre left which y outou can ofsthea querchy, atheny typn the ofADFBC runtime "prune music.s" Tthat tablhe Re reslatedt s to that ervnticety rusage out of the query aeturnsnd jsdoes on.not Fperform that joor thisin. tThe application modhe application usules je in thers Modyl jax-prs ( ojecallt ingcludes three diffe the resrent servt instancesice ) ofandtheg same EmployeeAllInfoson ( viewconv objerct.t js You caon to jan observae the differe entint runtimties ) The querieis applicatis perfonrmed by t hashe athree differentn ADF JSPXDpataCges by lontrlooking oin this rest pn the lojog clwhilient pluse performing an ADF a search in each search panpage. The fiel,le Queri resules.tsxt disp inclayuded in athe ViewCon tabtrollerle + projectcontains a p a formatted review wversioindn owf wthe differenthere y queries. You can listou can see ien or watch the mn the qusic |} ===Searchinguery and Sfor the Morting and FinimailtlEmployerieIngfo.jspx Dpage, thata=== Cat onlicky [[ADFthe EMPLOYEES tSampable ilesSearchs ingcluded. |Int herhe que]]ry for SMearchdiumEmployeeIingnfo.jspx you see EMPLOYEES, DEPARTMENTS, EMPLOYEES (a seco and Snd time for ortithe manager),ng and Filt and JOBS. The query for the fering Datainal page ===Servlet I page jointegrs atill on=== {|f the ta bordbler="1"s. |- | JPSMU01323"/>[[#JPSMU01323|JPSMU01323]] | [http://j]] | [http://adf-savmples.googla.nect/prodje.comects/smuenchad/filf/sources/Custoes/samizpledPoes/content/ Jostoining Staticing a JSF Arraypof Dagtabase Type Data inte to So Viervlw Objct Queryet] {] {] 063-AUGOCT-201-20080 [ |- |||Thttp://jobinesh.bhis examploge illuspot.istrates an/2010/08/ apprposoach ting-jsf-po tagke-t an array o-f setrvleuct.htmlured [[ inforimage:matinfo.png]]] |- | ion and binan id="JPU020"/>[[#JPU020|JPU020]] | [hd it inttp://to adf-sampl view object query one oogof the tablecs in orode.der to produce a database jcom/filoin between the es/AMWstatic information and tithServlhe database Inv. The cokntext ing Applin whicah thtionModuis example faromse was that a service call was r a servlet useturning ADFa Mlist of ranked/scorodel]ed {]primary13-APR-2010keys, [that http://jthen needed to be joobinesined with. the datablogaspoe to whlicaich the prtionimary keys referred in ormodule-fder trom-so produce a fervlriet.htmndlyl [[ dimsplage:iny eng]]] |} ===Ud-usersser Interf that includesace Patte morne des=== Click [[ADFSamscripltivesUIP information about the ranked rows.atterns | You'llhner]]eed ftor User Io run the Cnterface Patterns reateTypage ===Utipes.sql scriplity Ct before using the ode=== {|demo bto corder="1" |- |reate the SCORED_KEY an id="and SCOREBI013"/>[[#D_KBI013|EBI013]] |YS [htt typ://es in the database. The ViewObjectImplWithScoredKeyBibiemond.ndVariable framewblogork extenspiot.on cnl/2011/01/lasoms ce-handy-entralizes the code-fo r-yoequiur-managed-beans.html Sred tome mo worek wit hah the bindy codnd variable fore of type your oracle.jbo.domain.Arrmanagay. In this cased, Bits codean is (binding Athe SCOREDF_KEYS &typeJS(which is a TABLE OF SCORED_KEYF )] {11.1.1.x]) as 23-Jan AN-2011rray of [h SCORED_KEY ttyp:// Bogspot.oth the ReadOnl/2011/01/syScoredEmployome-hees and Entitandy-yBasedScodre-fdEmplor-your-managed-oyees view objbeanects. inherihtml [[t thimags he:inlper code from this classfo.png]]] |- | <. The spetScoredKeysArrany() imethod="EBI012"/>[[#EBI012|EBI012]] | [d in the cushttp://btom viemw ond.object cbloglasps of boot.nth view objects cal/2009/03/lso the helper me-thanody- newScoredKcode-foeysAr-bracky() ing-b thean s-adf.htmuperclassl S tom create the Arre handy cay of STRUCT and setode f the value orf the view o babjeckt's bingd variabl beane. It expects (to ADFreceive&aJSFList)]of{11.1.1.Map objects, ex]pecting 14-each MAR-2009ap in [ the List http://bto contain Map kiemeys "Score" and "Key". The view oond.blbjects bogth use the JDBC posispot.tionanl/2009/03/l binding somtyle-ha, indy-icodating the-fo (zeror-back-based) inteing-beanger pos-adition of.h tmlhe [[bimnd vagriable:s as addinftio.png]]] |} ===Valional metadata in order to still work with the bind variable as a namedation and Busd bind variable in the view object API'inesss. Ruln the Tees=== stClickent [[ADFSampclesValidalass tion |to see the here]]results of j foroining Vin the staltic data widationith the EMP t andable. |} See Balso Steve Muench' [ Resource/exampules ples undocumented 10.1.3.x sagmples] nr. 111
Please Confirm