ADF Programming Quickies Page on ADF Code Corner
By frank.nimphius | June 17, 2009
Where to put all the little code snippets you research when helping customers on OTN or internally if your trousers just don’t have enough pockets. For this I created a new page on ADF Code Corner that I’ll use to provide tiny code examples that are not big enough for a blog entry or article and that go without sample to download. I could twitter it, but then I would have to sign up for an account. So better use ADF Code Corner. [Read More] [ADF Code Corner]
Topics: ADF Faces RC, JDeveloper, ADF | No Comments »
Advanced Expression Language Techniques
By frank.nimphius | May 22, 2009
Expression Language is a dot notated scripting format that allows you to access in memory and Java objects. In JavaServer Faces, you use Expression Language to to bind UI components to managed beans or to the Oracle ADF binding layer. Using EL from a page or page fragment in Oracle JDeveloper 11g is as easy as opening the Expression Builder dialog to select the object to reference. However, usecases exist that need you to work with Expression Language in Java. For example, developers that create JavaServer Faces component instances dynamically at runtime need to apply Expression Language to the component to access the binding layer to read or write data. This blog article focuses on how to work with Expression Language in Java. [Read More] [Get More]
Frank
Topics: ADF Faces, ADF Faces RC, ADF | No Comments »
Implementing auto suggest functionality in ADF Faces Rich Client
By frank.nimphius | April 9, 2009
No other component represents Ajax and the Web 2.0 idea more than the auto suggest component. Auto suggest, or auto complete as it is referred to as well, shows a list of values in a drop down list that is filtered by the user input in a text text field. But its not the auto suggest component itself that represents the new web, its the behavior that demonstrates partial page updates the best. This articles explains an approach to implement auto suggest in ADF Faces Rich Client of Oracle JDeveloper 11g.
Frank
Topics: ADF Faces RC, ADF | No Comments »
Learning ADF - A blogged tutorial
By frank.nimphius | March 16, 2009
Vikram Kohli from Oracle blogged a tutorial application, including the database scripts. To quote from Vikram’s blog
“ADF 11g is simply great. Though there are many documents provided my oracle for learning ADF 11g. But still I felt there are are need for more documents. So when I started learning ADF 11g, I decided to build the sample application and document it. And finally this weekend I got some time to finish up this document.”
For those interested, here’s the link
http://kohlivikram.blogspot.com/2009/03/oracle-adf-11g-sample-application.html
Frank
Topics: General News, ADF | No Comments »
A declarative approach to base a router decision on the outcome getEstimatedRowCount
By frank.nimphius | February 19, 2009
This article describes a declarative approach to use the outcome of the ADF Business Components getEstimatedRowCount method in a router decision within a bounded task flow. The usecase is a bounded task flow that creates a new record if no record exist before navigating to an edit form. If a record exist then the same taskflow directly navigates to the edit page. [Read More]
See also: ADF Code Corner
Topics: ADF Faces, ADF Faces RC, Taskflow | No Comments »
How-to restrict the list of values retrieved by a model driven LOV?
By frank.nimphius | February 7, 2009
A new feature of the Oracle ADF Business Components business layer in Oracle JDeveloper 11g is model driven List of Values (LOV). Using model driven LOV, the list resource is configured on the View Object attribute for which the list of values should be shown. Usecases may demand that the list of values should be filtered by the current user responsibility. For example, the sales manager for North America should not see customers from other regions when using a LOV in a new sales forecast. Others may want to use this as a security precaution in that the filter should not unveil any information that is not supposed to be seen by the authenticated user. This article explains how model driven LOV can be filtered in ADF Faces RC. [Read More]
Topics: ADF Faces RC, ADF | No Comments »
DVT Component Demo on OTN
By frank.nimphius | February 3, 2009
Many developers find the ADF Faces RC component demo useful to understand how the components work. A similar demonstration is available for the Data Visualization Components (DVT) and is downloadable from OTN.
Frank
Topics: Uncategorized, ADF Faces RC | No Comments »
ADF Security Part V recorded and uploaded to ADF Code Corner
By frank.nimphius | January 13, 2009
Thanks to a little pressure by those who found the three previous recordings on ADF Security useful, I eventually recorded part 5 that introduces ADF Business Component security. I will provide part 4 about Security Expression Language later and decided for now to do part 5 first as this seemed to have higher a demand.
Topics: ADF Security | No Comments »
How-to cancel an edit form, undoing the edits with ADFm Save points
By frank.nimphius | January 9, 2009
This how-to document describes one of the two options available to cancel an edit form in ADF Faces RC without a required field message being raised by the client validator. Canceling an edit form with ADF requires more than just setting the immediate property set to true on the command button. It requires some housekeeping for the changes performed on the ADF binding layer.
Two strategies exist to implement a cancel button for an ADF Faces / ADF edit form that uses client-side and server side validation: a) restoring state with a save point set in ADFm and b) a client Java method exposed on the ADF Business Component business service. Both strategies are similar in that they use the immediate property on a ADF Faces command button to cancel the edit, but are different in their implementation of the data clean-up. n this article, the focus is set on model save points that can be set programmatically or implicit in bounded taskflows.
Topics: ADF Faces RC, ADF, Taskflow | No Comments »
ADF Faces RC: How-to cancel an edit form, undoing the edits
By frank.nimphius | December 23, 2008
Two strategies exist to implement a cancel button for an ADF Faces / ADF edit form that uses client-side and server side validation: a) a bounded taskflow restoring the previous state with a declarative savepoint and b) a client Java method exposed on the ADF Business Component business service. Both strategies are similar in that they use the immediate property on a ADF Faces command button to cancel the edit, but are different in their implementation of the data clean-up. When discussing the problem with Steve Muench, he came up with the the declarative approach that uses a bounded taskflow to clean up the data modification when cancel is pressed. Its a straight forward approach that is easy understand and implement. Especially when re-use is not a requirement, the declarative feature might be seen to complex for such a little functionality, which is why in this how-to document we document the simpler Java version as well. This how-to document describes one of the two options available to cancel an edit form in ADF Faces RC without a required field message being raised by the client validator. Canceling an edit form with ADF requires more than just setting the immediate property set to true on the command button. It requires some housekeeping for the changes performed on the ADF binding layer.
Topics: ADF Faces RC | No Comments »
« Previous Entries
