Archive for June, 2008
How to Access Attributes of a Declarative Component from a Managed Bean
Thursday, June 26th, 2008In an earlier how-to document I explained how to build and work with declarative components in ADF such that it displays data passed from the containing page. As you would have guessed to this time already, there are more usecases to cover for declarative components. The usecase in this article describes how to access an [...]
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 [...]
ADF Faces: How-to use the table sort listener property to override sorts
Wednesday, June 11th, 2008Only a small code snippet to share, but for sure this might become handy if you need it. In ADF Faces 10.1.3 the table has a sort listener that allows you as the developer to intercept the user sort initiated by a click on the table header. You can use the sort listener to override [...]
How-to build hierarchical Select Choices in ADF Faces RC
Friday, June 6th, 2008Apparently, in the JavaServer Faces you are able to build hierarchical select choice lists that display the list entries categorized by their parent records. For ADF Faces RC, hierarchical select choices are an enhancement request filed and wont be available in the initial production release of JDeveloper 11. However, with a bit of programming - [...]
ADF Faces RC – How-to use the Client and Server Listener Component
Wednesday, June 4th, 2008One of the most interesting features in Ajax is the ability of an application to send user information to the server without user recognition. A positive use of this feature is the auto suggest feature, which provides the user with a list of possible select values based on the user input into a text field. [...]
ADF Faces: Building tree structures from rekursive queries in ADF BC
Monday, June 2nd, 2008Another lost example: The workspace linked by this blog entry shows how to build a tree from a rekursive query in a ViewObject. You will notice that the tree model has been build manually and that this functionality isn't provided for declarative use.
Setup Instructions
Make sure you have the HR schema accessible (the workspace uses “hrconn” [...]
