Archive for November, 2007
ADF Faces: diabling user input for af:selectInputDate
Tuesday, November 27th, 2007The af:selectInputDate components renders an input text field and a LOV button for the user to select the input date from a popup calendar. However, users may also type in the the new input date without using the calendar at all. If your application don't want the user to type in the date directly, what [...]
ADF Faces RC – Implementation strategies for global buttons in page templates
Friday, November 23rd, 2007One of the new features added to ADF Faces in JDeveloper 11 is templating. Its so cool that you might wonder how we could have been so long without. New features however lead to new usecases to document, which is good as it keeps me in the job.
A usecase that has been posted recently on [...]
ADF: Getting the iterator binding from an attribute binding in ADF
Monday, November 12th, 2007A question on OTN was about obtaining the iterator binding of an attribute binding. The following code obtains this information from a managed bean
PLAIN TEXT
JAVA:
FacesContext fctx = FacesContext.getCurrentInstance();
ValueBinding vb = fctx.getApplication().createValueBinding("#{bindings}");
DCBindingContainer dcb = (DCBindingContainer) vb.getValue(fctx);
DCControlBinding dctrlb = dcb.findCtrlBinding("DepartmentName");
[...]
New JDeveloper 11 / ADF blog from Edwin Biemont
Sunday, November 11th, 2007I received a mail from Edwin Biemont from Ordina consulting in the Netherland that he has started a JDeveloper / ADF blog. In his blog he writes about JDeveloper 11 topics, ADF and SOA. Have a look http://biemond.blogspot.com/ . The blog is also linked from my blog's home page in case you forget [...]
JDeveloper 11 – ADF Faces RC: Setting partial triggers across Naming Containers
Thursday, November 8th, 2007In JDeveloper 10.1.3 and ADF Faces, we are so used to declaratively define partial triggers in that we create an ID property value on the component to trigger a component refresh and copy and paste the same value to the partialTrigger property of the component that we want to get refreshed. Okay, there is an [...]
ADF Faces: Embedded and scrollable tables
Thursday, November 8th, 2007A requirement that is quite frequently asked for on OTN is how to create scrollable tables within an adf:table component. While this can't be done natively with ADF Faces - you will have to wait for ADF Faces Rich Client in JDeveloper 11 - there exist a CSS hack to achieve this.
In the example [...]
ADF Faces: Radiogroup in table column
Wednesday, November 7th, 2007A simple, though common requirement is to display the information in a table column using radio groups. In the example below, the database column contains the value "A" for "Male" and "B" for "Female". Since it is against any usability rule to confront an application user with "A" or "B" to input you want to [...]
ADF Faces: Dynamically enabling / disabling client validation
Tuesday, November 6th, 2007ADF Faces performs client validation by default, which means that a client side JavaScript alert is displayed for any failed validation like "required field".
Client side validation can be disabled in the adf-faces-config.xml file, which is located in the project's WEB-INF directory.
PLAIN TEXT
XML:
<adf-faces-config xmlns="http://xmlns.oracle.com/adf/view/faces/config">
<skin-family>oracle</skin-family>
<client-validation-disabled>true</client-validation-disabled>
</adf-faces-config>
In this case the above error message is [...]
New JDeveloper 11 TP2 Tutorial: Developing Ajax-Based User Interfaces with JSF: An Introduction to ADF Faces Rich Client Components
Friday, November 2nd, 2007In preparation for the hands-on session at Oracle Open World, Shay Shmeltzer developed a new tutorial that shows how you build some cool Ajax functionality with JSF (using ADF Faces Rich Client components) the easy way. The tutorial covers:
Page Flow
Working with Layout Components
Working with the Image and Gauge chart components
Menus
Partial Page Rendering
Pop up dialogs
Drag [...]
