• Categories
  • Search


Working with the ADF Faces Diagrammer component

Duncan Mills from Product Management became the go-to expert for ADF Faces Data Visualization Tools (DVT) Diagrammer matters. Duncan put together a yet 11 part tutorial that he released on the DVT product blog. Below is the complete list of links to all 11 documents for your and mine easy and convenient access https://blogs.oracle.com/data-visualizations/entry/a_guide_to_diagram_part1 https://blogs.oracle.com/data-visualizations/entry/a_guide_to_diagram_part2 https://blogs.orac...

Tuesday, December 9, 2014 | ADFv | Read More

JDeveloper 11g R2 and 12c: How-to "virtually" press a button on page load

A frequent asked question is about how to press a command button upon load of a page or view. If you are on JDeveloper 11g R2 or JDeveloper 12c, then the solution to this programming challenge is the use of JavaServer Faces (JSF) 2 system events (If you are on JDeveloper 11g R1 then you are on JSF 1.2 and this JSF functionality doesn't exist). System events are phase listeners that you  associate with a component instead of a view or page as a whole. In the use case mentioned...

Thursday, September 5, 2013 | ADFv | Read More

Accessing ADF Faces components that are read-only from JavaScript

Almost as a note to myself and to justify the time I spent on analyzing aproblem, a quick note on what to watch out for when working trying to access read-only ADF Faces components from JavaScript.  Those who tried JavaScript in ADF Faces probably know that you need to ensure the ADF Faces component  is represented by a JavaScript object on the client. You do this either implicitly by adding an af:clientListener component (in case you want to listen for a component event) or...

Monday, December 17, 2012 | ADFv | Read More

How-to get the binding for a tab in the Dynamic Tab Shell Template

The Dynamic Tab Shell template does expose a method on the Tab.java class that allows you to get access to the ADF binding container for a tab. At least in theory this works, because in practice this call always returns a null value (a bug is filed for this). To work around the problem, you can use code similar to the following to get the ADF binding for a specific tab DCBindingContainer currentBinding = (DCBindingContainer)...

Sunday, October 7, 2012 | ADFv | Read More

Displaying Exceptions Thrown or Caught in Managed Beans

Just came a cross a sample written by Steve Muench, which somewhere deep in its implementation details uses the following code to route exceptions to the ADF binding layer to be handled by the ADF model error handler (which can be customized by overriding the DCErrorHandlerImpl class and configuring the custom class in DataBindings.cpx file) To route an exception to the ADFm error handler, Steve used the following code ((DCBindingContainer)BindingContext.getCurrent().getCurrentB...

Thursday, September 20, 2012 | ADFv | Read More

Iterating selected rows in an ADF Faces table

In OTN Harvest May 2012; http://www.oracle.com/technetwork/developer-tools/adf/learnmore/may2012-otn-harvest-1652358.pdf I wrote about "Common mistake when iterating <af:table> rows". In this entry I showed code to access the row associated with a selected table row from the binding layer to avoid the problem of having to programmatically change the selected table row. As it turns out, my solution only worked fro selected table rows that are in the current iterator query...

Wednesday, September 12, 2012 | ADFv | Read More

Visit the Oracle Blog


Contact Us


Integrated Cloud Applications & Platform Services