public class DynFormFactory extends com.sun.rave.web.ui.appbase.AbstractSessionBean implements DynamicForm
Constructor and Description |
---|
DynFormFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
addClonedFieldToTable(com.sun.rave.web.ui.component.TextField orig,
com.sun.rave.web.ui.component.TextField clone) |
protected void |
addSubPanelControllerMap(java.util.Map<java.lang.String,SubPanelController> map) |
protected java.lang.String |
despace(java.lang.String text) |
protected java.lang.String |
enspace(java.lang.String text) |
java.lang.String |
getBodyStyle() |
java.lang.String |
getBottomPanelStyle() |
java.lang.String |
getBtnCancelStyle() |
java.lang.String |
getBtnCompleteStyle() |
java.lang.String |
getBtnOKStyle() |
protected int |
getButtonBlockWidth() |
com.sun.rave.web.ui.component.PanelLayout |
getCompPanel() |
java.lang.String |
getContainerStyle() |
java.lang.String |
getDataList()
Gets the form's data list on completion of the form.
|
protected java.lang.String |
getDefaultFormName() |
java.util.List<java.lang.Long> |
getDocComponentIDs()
Gets a list of component identifiers that represent documents managed by the
doc store service.
|
protected DynFormField |
getFieldForComponent(javax.faces.component.UIComponent component) |
java.lang.String |
getFocus() |
protected java.lang.String |
getFormAltBackgroundColour() |
protected java.lang.String |
getFormBackgroundColour() |
protected DynFormFont |
getFormFonts() |
java.lang.String |
getFormHeaderFontStyle() |
int |
getFormHeight() |
protected java.lang.String |
getFormJustify() |
int |
getFormWidth() |
java.lang.String |
getHeaderText() |
java.lang.String |
getPageBackgroundColour() |
java.lang.String |
getPageBackgroundURL() |
java.lang.String |
getTitle() |
protected java.lang.String |
getWorkItemData() |
protected boolean |
isFormReadOnly() |
boolean |
makeForm(java.lang.String title,
java.lang.String header,
java.lang.String schema,
java.util.List<YParameter> parameters)
Build and show a form to capture the input data values on a case start.
|
boolean |
makeForm(java.lang.String title,
java.lang.String header,
java.lang.String schema,
WorkItemRecord wir)
Build and show a form to capture the work item's output data values.
|
protected com.sun.rave.web.ui.component.Button |
makeOccursButton(java.lang.String name,
java.lang.String text) |
void |
processOccursAction(SubPanel panel,
java.lang.String btnType) |
void |
resetFormHeight() |
void |
setBottomPanelStyle(java.lang.String style) |
void |
setBtnCancelStyle(java.lang.String style) |
void |
setBtnCompleteStyle(java.lang.String style) |
void |
setBtnOKStyle(java.lang.String style) |
void |
setCompPanel(com.sun.rave.web.ui.component.PanelLayout pl) |
void |
setContainerStyle(java.lang.String style) |
void |
setFocus(java.lang.String s) |
void |
setHeaderText(java.lang.String text) |
void |
setTitle(java.lang.String s) |
boolean |
validateInputs(boolean reportErrors) |
activate, destroy, init, passivate
erase, error, error, fatal, fatal, getApplication, getApplicationMap, getBean, getCachedExceptions, getContext, getExternalContext, getFacesContext, getLifecycle, getRequestMap, getSessionMap, getValue, info, info, log, log, setBean, setValue, warn, warn
public com.sun.rave.web.ui.component.PanelLayout getCompPanel()
public void setCompPanel(com.sun.rave.web.ui.component.PanelLayout pl)
public java.lang.String getHeaderText()
public void setHeaderText(java.lang.String text)
public java.lang.String getContainerStyle()
public void setContainerStyle(java.lang.String style)
public java.lang.String getBtnOKStyle()
public void setBtnOKStyle(java.lang.String style)
public java.lang.String getBtnCancelStyle()
public void setBtnCancelStyle(java.lang.String style)
public java.lang.String getBtnCompleteStyle()
public void setBtnCompleteStyle(java.lang.String style)
public java.lang.String getBottomPanelStyle()
public void setBottomPanelStyle(java.lang.String style)
public java.lang.String getTitle()
public void setTitle(java.lang.String s)
public java.lang.String getFocus()
public void setFocus(java.lang.String s)
public boolean makeForm(java.lang.String title, java.lang.String header, java.lang.String schema, WorkItemRecord wir)
makeForm
in interface DynamicForm
title
- The form's titleheader
- A header text for the form topschema
- An XSD schema of the data types and attributes to displaywir
- the work item recordpublic boolean makeForm(java.lang.String title, java.lang.String header, java.lang.String schema, java.util.List<YParameter> parameters)
makeForm
in interface DynamicForm
title
- The form's titleheader
- A header text for the form topschema
- An XSD schema of the data types and attributes to displayparameters
- a list of the root net's input parameterspublic java.lang.String getDataList()
getDataList
in interface DynamicForm
public java.util.List<java.lang.Long> getDocComponentIDs()
DynamicForm
getDocComponentIDs
in interface DynamicForm
public void processOccursAction(SubPanel panel, java.lang.String btnType)
public int getFormWidth()
public int getFormHeight()
public void resetFormHeight()
public boolean validateInputs(boolean reportErrors)
protected int getButtonBlockWidth()
protected com.sun.rave.web.ui.component.Button makeOccursButton(java.lang.String name, java.lang.String text)
protected java.lang.String getDefaultFormName()
protected DynFormField getFieldForComponent(javax.faces.component.UIComponent component)
protected void addSubPanelControllerMap(java.util.Map<java.lang.String,SubPanelController> map)
protected void addClonedFieldToTable(com.sun.rave.web.ui.component.TextField orig, com.sun.rave.web.ui.component.TextField clone)
protected java.lang.String enspace(java.lang.String text)
protected java.lang.String despace(java.lang.String text)
protected java.lang.String getWorkItemData()
protected DynFormFont getFormFonts()
public java.lang.String getBodyStyle()
public java.lang.String getPageBackgroundURL()
public java.lang.String getPageBackgroundColour()
protected java.lang.String getFormBackgroundColour()
protected java.lang.String getFormAltBackgroundColour()
public java.lang.String getFormHeaderFontStyle()
protected java.lang.String getFormJustify()
protected boolean isFormReadOnly()
Copyright © 2004-2014 The YAWL Foundation.