Archive for June 19, 2007
In preparing for my ODTUG 2007 presentation on AJAX in ADF Faces, I decided to play a little with JDeveloper 11g Technology Preview, to have an interesting demo in order to go out with a bang. I was happily surprised with some of the functionality I accidentally stumbled into while trying out different things. In this article I will show you a little bit of those validation features that made me smile this morning.
- Plain old JSF ValidateLongRange and ValidateLength validators give us instant, field level validation
- Multiple client side validation errors are presented in a popup display with hyperlinks to the indivual fields that have the errors
- Any field with an erroneous value is marked; when that field is navigated to, the errormessage is displayed in a nice popup
- Any field with an autoSubmit and server side validator is instantaneously validated and marked upon failed validation
- When the page is redisplayed after a full form submit and validation has failed for one or more fields, all invalid fields are marked with their own personal validation error messagesL including fields in a table layout
- All of the above is either declarative or built-in, zero More >
From different posts on this blog it should be clear by now: the ODTUG Kaleidoscope conference has taken off. I am writing this post as I am attending the Expert Panel session. It is noteworthy that from the eight experts in the panel, not counting moderator Paul Dorsey, four work for IT Consulting firms that are based in the Netherlands.
In this admittedly bad picture -hopefully I am a better consultant than photographer- from left to right you see Peter de Vaal (Transfer Solutions), Lucas Jellema (AMIS), Peter Koletzke (Quovera), Duncan Mills (Oracle), Peter Ebell (AMIS), Ã‰ric Marcoux (Fujitsu), Bart Kummel (Transfer Solutions) and John Flack (Synectics).
The panel happily answered questions from the audience that included (but were not limited to):
- What is the best place and best technique for implementing business rules? This is apparently not easily answered as different experts have different ideas on the subject.
- In this new era of SOA and distributed IT systems, should I publish all my logic as Web Services? Well no, the panel replied, that depends on your business case. It is useful for opening up your systems to customers and business partners.
- Should I drop my More >
A while back, almost a year and a half to be exact, I wrote an article on using the ADF Faces Tree Component: Getting started with ADF Faces in JDeveloper 10.1.3 – Using the Tree Component, comparison with MyFaces Tomahawk Tree2 . At the time, I felt that was a fairly advanced article. However, today I have gained much more experience, and the article feels somewhat awkward and incomplete. So this is a new version of that article. In it, I will describe how to develop a TreeModel to provide data to the ADF Faces Tree, how to use the tree in an JSF page, tying it to the TreeModel and how to deal with Node Selection events.
It provides a build up a new article I will publish in a few days time in which I describe how to base an ADF Faces Tree on a SQL Query – without using the far from ideal ADF Faces Tree Data Binding.
This tree is created using a PoJo based Tree Model (created on the fly as managed bean) and demonstrates quite clearly I believe how to get going with the ADF Faces tree. By the way, some of the insights in this article are inspired by Chintan and Ric Smith.
To get the ADF Faces tree going (more…)