In this blog I'll give some samples of dynamic menu and flex field.
The first new feature I will explain is dynamic menu. In earlier releases of jheadstart you had to make you own global button region if you had more then one jheadstart application definitions . In this release you can check the flex menu option in the application definition file and

The next step is that JHeadstart makes a entry in the jheadstart menu tables for each menu and submenu.
Let's generate the new menu admin application definition and run the application.


I see a nice opportunity if we combines this option with virtual private database (VPD) so we can give our departments of every user his own personel menu which he can change of put in his own webpages.
The second new feature is flex items. With this feature the administrator can add fields in existing pages and configure the default values and validation of this flex field. The values of this field is stored in the jheadstart tabels and linked to the primary key of the jsf page
This can be handy if you need a field in a page and you don't want to change the datamodel or you don't want to wait when development makes it.
First you have to check allow use of flex regions in the application definition. Then you have to add a flexregion to every group where you want flex items. Then generate the application definition file.



No comments:
Post a Comment