Archive for September, 2007
JDeveloper 11 Preview 2 is out on OTN !
Thursday, September 27th, 2007Just in case you haven’t heard the drums yet. Latest news is - and we kept word, didn’t we ? - that JDeveloper 11 Preview 2 is out on OTN. You can grab it from here.
Note that this version is good to test and feedback on migrating JDeveloper 10.1.3 ADF Faces projects to Trinidad in […]
ADF Faces: Passing parameters to a dialog launched from a selectInputText field
Thursday, September 27th, 2007The usecase covered in this blog is quite simple: A user enters information into a af:selectInputTextField, which then should be read in the pop-up dialog, e.g. a LOV, that you open when clicking onto the torch icon. The problem appears to be the request scope, which in the JSF lifecycle no longer contains the value [...]
ADF Faces: If the request parameter is out of scope
Tuesday, September 25th, 2007Request parameters in JavaServer Faces can be passed either on the request URL or using the f:param element on an action command or form.
PLAIN TEXT
XML:
<f:param name="parameterName" value="Value1"/>
However, if a request parameter needs to be persisted, or be accessible for PPR and other out-of-scope actions then one option is to use a JSF PhaseListener [...]
ADF Swing: Working with MDI windows and ADF (Working with Internal Frames - part II)
Friday, September 21st, 2007The ADF Swing development team created a simple example for MDI window usage in JDeveloper 11 that I ported to JDeveloper 10.1.3.3. It provides a simple view using Swing JInternal frames to show master/detail screens that are bound to Oracle ADF and that can be opened, closed and re-open as you please.
The code opening the [...]
ADF Faces: Using af:poll to refresh a table
Tuesday, September 18th, 2007A question on OTN was of how to implement the af:poll component so that it frequently checks and updates a table binding. In this blog entry I share a working solution with you that not only polls for new data but also ensures that the currently selected row remains selected after the poll - and [...]
ADF Faces: How-to smart filter the af:SelectOneChoice with JavaScript
Friday, September 14th, 2007The af:selectOneChoice component in ADF Faces shows a dropdown list for users to choose a value that then is added as a value to the target form attribute. Putting focus on the selectOneChoice component and then pressing e.g. the "S" key shows the first list item that starts with a "S". Pressing a subsequent "A" [...]
ADF Faces: Showing Reports
Tuesday, September 11th, 2007In a previous blog entry I showed how to download files from a server for the user to save on his local client. Recently questions came up of how to integrate parameterized report pages in ADF Faces applications. While you could call the JavaServer Faces external context to redirect a JSF page request to a [...]
ADF: Clearing cached data when working with Web Services in ADF
Tuesday, September 11th, 2007A question on OTN was about building a search form with ADF accessing Web Services. The actual building part of the search form is pretty straight forward, as you would expect from ADF, and involved a web Services method to be dragged and dropped from the data control palette as a parameter form, as well [...]
ADF Faces: Localizing selectOneChoice labels
Wednesday, September 5th, 2007The SRDemo ADF reference sample shows how to build JSF web applications that support multiple languages in their UI. The aspect not covered in SRDemo is how to translate the labels of list boxes, like in a selectOneChoice component.
This blog entry explains how to create translatable labels for selectOneChoice values that are stored in [...]
