IBM BPM, V8.0.1, All platforms > Programming IBM BPM > Developing client applications for BPEL processes and tasks > Developing web applications using JSF components
Default converters and labels for client model objects
The client model objects implement the corresponding interfaces of the Business Process Choreographer API.
The List component and the Details component operate on any bean. You can display all of the properties of a bean. However, if you want to set the converters and labels used for the properties of a bean, use either the column tag for the List component, or the property tag for the Details component. Instead of setting the converters and labels, you can define default converter and labels for the properties by defining the following static methods. You can define the following static methods:
static public String getLabel(String property,Locale locale); static public com.ibm.bpc.clientcore.converter.SimpleConverter getConverter(String property);The following table shows the client model objects that implement the corresponding Business Flow Manager and Human Task Manager API classes and provide default labels and converter for their properties. This wrapping of the interfaces provides locale-sensitive labels and converters for a set of properties. The following table shows the mapping of the Business Process Choreographer interfaces to the corresponding client model objects.
How Business Process Choreographer interfaces are mapped to client model objects Business Process Choreographer interface Client model object class com.ibm.bpe.api.ActivityInstanceData com.ibm.bpe.clientmodel.bean.ActivityInstanceBean com.ibm.bpe.api.ActivityServiceTemplateData com.ibm.bpe.clientmodel.bean.ActivityServiceTemplateBean com.ibm.bpe.api.ProcessInstanceData com.ibm.bpe.clientmodel.bean.ProcessInstanceBean com.ibm.bpe.api.ProcessTemplateData com.ibm.bpe.clientmodel.bean.ProcessTemplateBean com.ibm.task.api.Escalation com.ibm.task.clientmodel.bean.EscalationBean com.ibm.task.api.Task com.ibm.task.clientmodel.bean.TaskInstanceBean com.ibm.task.api.TaskTemplate com.ibm.task.clientmodel.bean.TaskTemplateBean
Developing web applications for BPEL processes and human tasks, using JSF components