ADF
How-to find and set control hints on POJO entities in bean Data Controls
Wednesday, June 25th, 2008A very useful feature that ADF brings to Java EE application development is the ability to specify control hints for enitities in a central place for all UI component to use. A common usecase for this are labels that appear as prompts on a web page, e.g. in a ADF Faces form layout. Users of […]
How-to Refresh a Bound Taskflow that is added as a Region to an ADF Faces RC Page and that is displayed in a Popup Dialog
Thursday, May 29th, 2008Every technology seems to have its superstar; a feature that developers love and use more than any other feature. Though in ADF Faces RC, there seem to be more than one super star feature, the clear winner of Oracle ADF Faces RC pop idol feature contest is a bound taskflow that is added to a […]
ADF: How-to work declaratively with methods that require objects as input arguments
Thursday, February 21st, 2008If you are working with a POJO model - basically anything else than ADF Business Components - then you may have seen the problem of ADF not creating the full parameter form for method signatures that require an object as an input parameter.
As you see from above image, though the method has two input [...]
ADF Faces: Building a search form showing the results in a taskflow using an af:popup component
Tuesday, February 19th, 2008One of the areas that really rocks in JDeveloper 11 is taskflows. To program usecases that involve taskflows can keep you busy for weeks if the goal is to provide a library of code examples. The usecase explained in this blog post is quite simple and is based on frequent requests posted on the JDeveloper [...]
ADF Faces RC: refreshing a table UI from a contextual event
Thursday, February 7th, 2008Ric Smith published two examples for contextual events - actually only one that really uses contextual events - that show how to enforce navigation on the parent taskflow through the detail flow.
Example 1: Not using contextual events
Example 2: Using contextual events
My usecase differs only slightly from Ric's example, but it differs good enough to [...]
ADF: Getting the iterator binding from an attribute binding in ADF
Monday, November 12th, 2007A question on OTN was about obtaining the iterator binding of an attribute binding. The following code obtains this information from a managed bean
PLAIN TEXT
JAVA:
FacesContext fctx = FacesContext.getCurrentInstance();
ValueBinding vb = fctx.getApplication().createValueBinding("#{bindings}");
DCBindingContainer dcb = (DCBindingContainer) vb.getValue(fctx);
DCControlBinding dctrlb = dcb.findCtrlBinding("DepartmentName");
[...]
ADF: Clearing cached data when working with Web Services in ADF
Tuesday, September 11th, 2007A question on OTN was about building a search form with ADF accessing Web Services. The actual building part of the search form is pretty straight forward, as you would expect from ADF, and involved a web Services method to be dragged and dropped from the data control palette as a parameter form, as well [...]
ADF: Parameters vs. Variables
Tuesday, August 28th, 2007Two binding elements of a pageDef file are parameters and variables. Variables are value holders in the pageDef file that e.g. are bound to input text fields through attribute bindings that are mapped to the variable. This way it is possible to declaratively build search pages in which the user enters data that is then [...]
ADF: Using a Web Service result as an input argument to ExecuteWithParams
Tuesday, August 14th, 2007A not so uncommon ADF binding usecase that is frequently asked on OTN is of how to use the outcome of a Web Service in an argument to a method call. Interesting also is what happens if the Web Service response is delayed due to network latency or similar issues?
The example I built is [...]
