JavaServer Faces
New on ADF Code Corner: How to access remote task flows from your ADF applications
Tuesday, July 13th, 2010ADFc remote task flows are bounded task flows that are deployed as Java EE applications to a server for clients to access. Remote task flows use JSPX documents for their views and are open for direct browser access. Like bounded task flows in ADF libraries, remote task flows are a design pattern for sharing business [...]
ADF Code Corner: How-to copy/paste the value of a table cell to other – selected – table rows
Tuesday, June 1st, 2010This blog article describes the solution to a very specific customer problem and requirement (aka. use case) to copy the value of a table cell to the same column in multiple selected table rows. The idea behind this use case is to enable application users to bulk update status information by copying an existing status [...]
New on ADF Code Corner: How-to create a tree table from a single View Object and how to get a backstage access to the data rows
Thursday, May 6th, 2010A frequent question about ADF bound ADF Faces views is how to show a hierarchical structure of data based on a single recursive view object. A table structure that is a good candidate for such a view object is the employees table in the Oracle HR sample schema. The employees table has a self reference [...]
New on ADF Code Corner: Invoking Contextual Events from a DVT Graph
Tuesday, April 13th, 2010The contextual events framework in Oracle ADF defines a publish / subscribe mechanism that leverages the ADF binding layer to notify ADF regions about user interaction performed in other regions, the parent page or a ViewPort (page fragment). Oracle JDeveloper provides declarative help to setup contextual events for input and action components, but not yet [...]
ADF Code Corner : How-to Edit Bounded Task Flows in a new Browser Tab (Tab Browsing)
Thursday, February 25th, 2010Just finished a new blog article about launching a bounded task flow in a new browser tab. This article addresses the popular tab browsing feature in browsers, showing how – assuming the business use case requires it – you do the same in ADF Faces. The specialty is that the tab browsing is not initialted [...]
How-to access the selected row data in a TreeTable or Tree
Monday, November 9th, 2009The ADF Faces af:treeTable component displays hierarchical data in a combined tree and table structure. In this, the leading column is displayed as a tree, while subsequent columns, which could represent different hierarchy levels, are displayed in a table format. If you use ADF to bind the af:treeTable to business data, then a tree binding [...]
ADF Code Corner: How-to pass values from a parent page to a popup dialog
Wednesday, November 4th, 2009To display values of the current table row in a popup dialog, or read current row data values in Java, developers use a simple but effective binding trick: To access the values of a selected row, you create attribute bindings for all attributes of interest of the iterator that the tree binding, which populates the [...]
JSF 1.2: Invoking a method binding programmatically in Java to add pre- post triggers
Monday, October 29th, 2007On his "Not Yet Documented" example page, Steve did provides tip 122 "Running Custom Backing Bean Code Before/After Default Table Selection Listener", which explained how to call a method binding such that you could add pre- and post- "trigger" codes. An example expression to use this for is the #{bindings.
.collectionModel.makeCurrent} call that by default is [...]
JSF: Hook into the JavaServer Faces page load
Thursday, August 9th, 2007"onPageLoad" is what many developers like to intercept to prepare model data for the loaded page. For handling onLoad events, the ADF framework - which is hooked into the JSF lifecycle - allows developers to customize the ADF page lifecycle. This customization can be done for all JavaServer Faces pages or individual pages. In the [...]
