Skip to main content

Posts

Showing posts from 2009

ADF 11g RC: Manipulating a components toolbar.

Last week I had a question regarding the Rich Text Editor in ADF 11g RC. Is it possible to disable/enable or add/remove components form the rich text editor's toolbar? At first I didn't know the answer, but after some investigation it appears to be very simple. The most important piece of the puzzle is to understand how the toolbar is constructed. According to the components documentation, the toolboxLayout property allows control over the layout of the toolbar. This is actually just an Array of Strings. The built in strings the component recognizes are: 1) "all" 2) "font" 3) "history" 4) "color" 5) "formatAll" 6) "justify" 7) "list" 8) "indent" 9) "link" 10) "newline" 11) "stretch" For more information on what these built in Strings do, refer to the online help of the component. One of the options you have to change the toolbar is to bind the editor compone...

JHeadstart 11g TP - Magic with Wizards

One of the main features in ADF 11g is the use of taskflows. There are different kinds of taskflows. One of these is a process train. A process train (the ADF name for wizard) can be used to guide the end user step by step through a rather difficult process. In this post I describe how you can use JHeadstart to generate the wizard for you. The very difficult (duh) process in his case is the entry of a new employee. For that I need a three step wizard. The first steps are the same as always. Create a new fusion wep application, create new Business Components from tables, and only pick the Departments and Employees, enable JHeadstart on the view controller project, and finally create a new service definition for the datacontrol (accept al the defaults). According to JHeadstart help, to spread items of one group over multiple wizard pages, you should place the items in an item region and set the layout style of the regions container to "separatePages". Let's do that. Creat...

JHeadstart 11g TP - Master Detail and Overflow

I have been working with JHeadstart 11g technical preview a lot lately. I want to share some of the features with you in a series of articles. Luckily Oracle allowed me to blog about the JHeadstart 11g technical preview. It is a technical preview, but is already pretty mature. Let's start with some basic generation. In this blog I describe how easy it is to create a layout in which a master-detail relation is generated into a form - table layout. I use the DEPT-EMP relation we probably all know. In the model project just create new Business Components from tables, and only pick the Departments and Employees. In the JHeadstart Application Definition Editor, you can now create a new Group, based on the Departments collection. Also create a detail Group based on the Employees group. It should look somewhat like this. Before you generate, make sure that the layout style for the departments group is form. Also set layout style for employees to table, put this group on the same page, and...

Back again

Almost two years ago I published my last post here. What happened in these two years? Did I quit developing ADF applications? Nope! I've been very busy on my new job. I started at AMIS Technology as an ADF expert and I've also been working with JHeadstart. It still is a great job, so that's not the reason that I am back here. It's just that it would be a shame if my own weblog should die........... That's why I'm back again. Here's what I published and presented the last two years: Presentation and workshop on ADF: November 17th 2008: ADF 11g Hands on (in Dutch). Publications on ADF: June 2008: Optimize: ADF 11g Data Visualization Tools (in Dutch). Optimize is an independent Dutch magazine on Oracle technology. January 2009: OGH-visie: ADF 11g (in Dutch). OGH-visie is the magazine of the Dutch Oracle user group. August 2009: DOAG-magazine: ADF 11g Data Visualization Tools (in German and English). DOAG-magazine is the magazine of the German Oracle user g...