@Named @ConversationScoped public class FormController extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_EDITOR_ID |
protected org.imixs.marty.model.TeamController |
processController |
protected org.imixs.marty.util.ResourceBundleHandler |
resourceBundleHandler |
protected org.imixs.marty.profile.UserController |
userController |
| Constructor and Description |
|---|
FormController() |
| Modifier and Type | Method and Description |
|---|---|
FormDefinition |
computeFormDefinition(org.imixs.workflow.ItemCollection aworkitem)
Computes an new FormDefinition based on a given workitem.
|
FormDefinition |
getFormDefinition()
Retuns the FormDefinition for the current workitem
|
void |
onWorkflowEvent(org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
WorkflowEvent listener to update the current FormDefinition.
|
void |
setFormDefinition(FormDefinition formDefinition) |
public static final String DEFAULT_EDITOR_ID
@Inject protected org.imixs.marty.model.TeamController processController
@Inject protected org.imixs.marty.profile.UserController userController
@Inject protected org.imixs.marty.util.ResourceBundleHandler resourceBundleHandler
public FormDefinition getFormDefinition()
public void setFormDefinition(FormDefinition formDefinition)
public void onWorkflowEvent(@Observes
org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
throws org.imixs.workflow.exceptions.AccessDeniedException
workflowEvent - org.imixs.workflow.exceptions.AccessDeniedExceptionpublic FormDefinition computeFormDefinition(org.imixs.workflow.ItemCollection aworkitem)
....
The array of EditorSections also contains information about the name for a
section. This name is read from the resouce bundle 'bundle.forms'. The '/'
character will be replaced with '_'. So for example the section url
myforms/sub_timesheet will result in resoure bundle lookup for the name
'myforms_sub_timersheet'Copyright © 2016–2021 Imixs Software Solutions GmbH. All rights reserved.