Web addon
Web addon
Introduction
Web add-ons are standard war files. The files included in the war file will be copied onto Soffid...
zkdb - ZK Data binding tool
Introduction zkdb is a set of Java classes and ZK components designed to easy the development of...
Developers guide
Developers guide
Creating a user interface data model
There are three alternative ways to implement user interface data model. The first one is to retr...
Binding data model simple values to zk components
In the previous section, we saw how to declare a sample data model. To bind a component to a data...
Binding data model context
To easiest the readability and maintainability of the code, and to shorten in XPath paths, some c...
Binding Data Model Collections
Components of type listbox and grid behave as complex containers of object collections. These com...
Components as a data source
The listbox component has a dual role, as a data consumer and as a data source. We've seen how li...
Data model manipulation
The data model can be manipulated directly using the JXPathContext interface or indirectly throug...
Building dynamic data model
While building the data model using XML files is possible, it's advisable to use more dynamic dat...
Definition of dynamic models using XML descriptors
Definition of dynamic models using XML descriptors
Introduction
It is possible to define the underlying data model without having to write java code. To do this,...
Ejb-handler Handler
It is responsible for persisting the object via a stateless session bean. The following attribute...
Script-handler Handler
It ca be used to persist the business objects using BSH scripts. Supports the following attribute...
Collection-handler Handler
This handler is applicable when the persistence of this object is managed by the parent dataNode....
Custom-handler Handler
The custom-handler provides coverage for situations where you need a more sophisticated handler a...
Data validation
The validation tag is responsible for performing basic checks regarding mandatory attributes and ...
EJB find handler: ejb-finder
Handles the method to retrieve business objects via a stateless session bean. Supports the follow...
script-finder handler
It is responsible for retrieve business objects from the persistence layer using BSH scripts. The...
collection-finder handler
Similar to collection-handler, this handler retrieves the list objects contained on a parent coll...
custom-finder handler
The custom-finder provides coverage for situations where you need a more sophisticated handler an...
new-instance-script handler
It is responsible for instantiating new objectswithin a finder on user request . Att...
new-instance-bean handler
This handler allows the craetion of a new business object and assign default attribute values. Th...
custom-attribute handler
Generates virtual attributes derived from other attributes or external elements of the applicatio...
Using dynamic models
To use dynamic models XmlDataSource tag must be replaced by datamodel. The datamodel tag has the ...