| 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 |
|---|---|
FormConfigElement |
FormsConfigElement.getDefaultForm()
This method returns the default form from within a <forms> tag.
|
FormConfigElement |
FormsConfigElement.getForm(String id)
This method returns the form having the specified id string from within a
<forms> tag.
|
| Modifier and Type | Method and Description |
|---|---|
FormConfigElement |
FormUIGet.ModelContext.getFormConfig() |
protected FormConfigElement |
FormUIGet.getFormConfig(String itemId,
String formId)
Returns the form configuration for the given item id and optional form id.
|
| Modifier and Type | Method and Description |
|---|---|
protected ByteArrayInputStream |
FormUIGet.generateFormDefPostBody(String itemKind,
String itemId,
List<String> visibleFields,
FormConfigElement formConfig)
Generates the POST body to send to the FormService.
|
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.
|
protected org.springframework.extensions.webscripts.connector.Response |
FormUIGet.retrieveFormDefinition(String itemKind,
String itemId,
List<String> visibleFields,
FormConfigElement formConfig)
Retrieves the form definition from the repository FormService for the
given item.
|
| 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.