Posts tagged adf 11g
ADF 11g : Implementing Search for Multiple Attributes of a View Object
1Today I was asked to build a search component that searches a view object for all occurrences of a search string entered by the user. It should look like the ADF Quick Query Component, however, without choice for the attributes to search on. All attributes are search-able. I choose to combine ViewCriteria and custom method on the Application Module. Here is how I did it. (more…)
Hands-on: Synchronize your database from a webservice with JAX-WS and ADF Business Components
0This step-by-step starter hands-on provides an example how to make a JAX-WS webservice proxy in JDeveloper, and save retrieved data from this webservice in a batch-job to your own database with ADF Business Components. Duration: 60 minutes. For this hands-on example, imagine that your company wants to expand internationally and that reliable, up to date country information is absolutely critical. Recently there were some changes in the number of countries and there might be in the future. Since 1990, 33 new countries have been created. A few months ago the world welcomed a new country (South-Sudan) and yet we don’t know what will happen in Libya (maybe it will be separated in West and East-Libya?). Your company wants to weekly synchronise its internal countries database table with up-to-date country information from a recognised country-monitoring institution that delivers up-to-date country information by a webservice.
Part 1 – Create the country webservice client with JAX-WSWe are going to create a webservice client proxy for a country webservice available on: (more…)
ADF 11g : Adding a Keystroke Filter to an ADF Shuttle Component
1Recently I had to implement a selectManyShuttle Component with a filter on it. Filtering a selectManyShuttle Component has been described many times so that is no rocket science. However, this implementation asked for a keystroke filter. The user enters a value, and the shuttle is filtered immediately.
In this post I describe how to implement this feature. (more…)
ADF 11g : Using jQuery and ADF to provide a fading user feedback
1Last week someone asked me if it was possible to inform the users of his application about the fact that data has been changed. No problem I told him. Whenever you use an actionListener or action that is implemented by a method in a bean, you can use showPopup() to show a popup from a backing bean. This was however not what he wanted. The usecase is a little more sophisticated: Save data, and inform the user without showing a popup that has to be ‘clicked’ away. In this post I describe how to achieve this with jQuery (more…)
ADF 11g : Log Data Manipulation
6Today I had a request to implement a generic logging mechanism for all changes of data (DML) in an ADF application. The log needs to be persisted in a database table. This application uses ADF-Business Components and an Oracle Database. My first idea was to use database triggers for all tables (insert, delete, update for each row) and write the data to a log table. However that was not generic enough because this has to be implemented on every new table. I had to come up with an ADF solution. It’s basic, no rocket science, but useful (more…)
ADF 11g : Drag’n Drop and Contextual Events
0While going through my list of requirements for our AMIS re-usable ADF taskflow library, I ran into the following requirement: publish a contextual event on a Drag and Drop action. If you know contextual events, you immediately notice that there is no way to publish a contextual event from a Drag and Drop action. There are two types of events: ADF Binding Type events or JSF Component Type Events such as actionEvents, valueChangeEvents or clickEvents (also called eventBindings). However none of those is directly related to Drag and Drop. With some knowledge of the ADF Framework you will be able to create contextual events anyway. This post describes how to publish contextual events when a Drag and Drop action occurs. (more…)
Recent Comments