Archive for February, 2008
ADF Faces RC: Increase performance of pages that hold custom CSS and JavaScript code
Thursday, February 28th, 2008Its tempting to put custom CSS and JavaScript into the body part of a ADF Faces RC page because its easy to do and not forbidden. Looking at my blogging samples that use JavaScript, I am guilty too of not implementing best practices. But how would I have known until recently that I found an [...]
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 [...]
No more excuses not to get smart on ADF !
Thursday, February 21st, 2008The ADF product management team added two new features to the OTN web page for JDeveloper that allow you to always get the latest and greatest hints and tips from the JDeveloper and ADF blogger community, as well as searching the blog entries. This puts all the information back into a central position, which is [...]
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: How-to issue a PPR event from a f:subview and how-to PPR of subviews
Thursday, February 14th, 2008As many developers use subviews in JSF to partition their application, I though of diving deep into the options to PPR from and to a subview. The following image shows a very simple usecase in which the button of the first panelBox refreshed the date of the second panel box and - vice versa - [...]
JDeveloper 11: recovering the disappearing log window
Thursday, February 14th, 2008More a note to myself than a full blog entry: It may happen with JDeveloper 11 TP that a closed log window doesn't open again. To solve the issue, rename or delete the "windowinglayout.xml" in the jdeveloper/system11.1.1.0.22./o.ide directory
ADF Faces RC: Programmatically closing a popup from a managed bean
Thursday, February 14th, 2008The ADF Faces popup dialog - af:popup - is a new component in JDeveloper 11 that is used to show additional information or functionality in a popup - in opposite to a new browser window as it would be the case using the dialog framework that also existed in JDeveloper 10.1.3 (also known as "browser [...]
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 [...]
Custom skins deployment strategies for MyFaces Trinidad and ADF Faces Rich Client
Wednesday, February 6th, 2008The skinning article of the developer guide on MyFaces Trinidad is the best document to start with if you are interested in learning what skinning is and how to use skins. Skinning is a unique feature for JavaServer Faces in ADF Faces and MyFaces Trinidad to define a custom look and feel for web applications [...]
ADF Faces RC: How to programmatically add an event listener to a dynamically created component
Friday, February 1st, 2008JavaServer Faces is a very flexible technology and allows developers - at runtime - to create new component instances to their JSF page on an if needed basis. One possible usecase is a tab panel, on which the developer needs to dynamically add a new tab. While adding a new tab is pretty straight forward [...]
