| Package | Description |
|---|---|
| org.alfresco.web.config.forms |
Contains the classes that implement the configuration of the forms service including
ConfigElement and ElementReader classes as well as various
other data classes. |
| org.alfresco.web.scripts.forms |
| Modifier and Type | Method and Description |
|---|---|
static Mode |
Mode.modeFromString(String modeString) |
static Mode |
Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode[] |
Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Mode> |
Mode.modesFromString(String commaSeparatedModesString) |
| Modifier and Type | Method and Description |
|---|---|
String |
FormConfigElement.getFormTemplate(Mode m) |
boolean |
FormConfigElement.isFieldHidden(String fieldId,
Mode m)
This method checks whether the specified field is specifically hidden in the specified mode.
|
boolean |
FormConfigElement.isFieldVisible(String fieldId,
Mode m)
This method checks whether the specified field is visible in the specified mode.
|
| Modifier and Type | Method and Description |
|---|---|
Mode |
FormUIGet.ModelContext.getMode() |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
FormUIGet.generateFormModel(org.springframework.extensions.webscripts.WebScriptRequest request,
Mode mode,
org.springframework.extensions.webscripts.connector.Response formSvcResponse,
FormConfigElement formConfig)
Generates the "form" model passed to the FreeMarker engine.
|
protected List<String> |
FormUIGet.getVisibleFields(Mode mode,
FormConfigElement formConfig)
Returns the list of visible field names for the given mode.
|
| Constructor and Description |
|---|
FormUIGet.ModelContext(org.springframework.extensions.webscripts.WebScriptRequest request,
Mode mode,
org.json.JSONObject formDefinition,
FormConfigElement formConfig) |
Copyright © 2005–2014 Alfresco Software. All rights reserved.