@Named(value="CreateDynamicObjectFieldFormatter") public class CreateDynamicObjectFieldFormatter extends DefaultFieldHandlerFormatter
| Modifier and Type | Field and Description |
|---|---|
protected FieldI18nResourceObtainer |
fieldI18nResourceObtainer |
protected String |
fieldNS |
protected String |
fieldUID |
protected SubFormHelper |
helper |
protected Boolean |
isReadonly |
static String |
PARAM_DISPLAYPAGE |
static String |
PROPERTY_DELETEABLE |
static String |
PROPERTY_DISALLOW_CREATE_NEW |
static String |
PROPERTY_MODIFICABLE |
static String |
PROPERTY_PREVIEW_ITEMS |
static String |
PROPERTY_SEPARATOR |
static String |
PROPERTY_VISUALIZABLE |
protected String |
renderMode |
defaultMaxLength, defaultSize, namespaceManager| Constructor and Description |
|---|
CreateDynamicObjectFieldFormatter() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
editItemInPosition(Form parentForm,
String currentNamespace,
int position,
Field field,
Object value,
String fieldName) |
protected void |
previewItemInPosition(Form parentForm,
String currentNamespace,
int position,
Field field,
Object value) |
protected void |
renderExistingItemsTable(Form parentForm,
String currentNamespace,
Field field,
Object value) |
protected void |
renderNewItemForm(Form form,
Field field,
String currentNamespace,
String fieldName,
String renderMode) |
void |
service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse) |
getCustomValueIfApplicable, getFieldHandlersManager, getFieldTypeManager, getFormManager, getFormProcessor, setDefaultAttributesafterRendering, getLang, getLocale, getLocaleManager, getParameter, includePage, renderFragment, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeInterpreter, setTag, writeToOutpublic static final String PARAM_DISPLAYPAGE
public static final String PROPERTY_DISALLOW_CREATE_NEW
public static final String PROPERTY_MODIFICABLE
public static final String PROPERTY_DELETEABLE
public static final String PROPERTY_VISUALIZABLE
public static final String PROPERTY_PREVIEW_ITEMS
public static final String PROPERTY_SEPARATOR
@Inject protected FieldI18nResourceObtainer fieldI18nResourceObtainer
@Inject protected SubFormHelper helper
protected Boolean isReadonly
protected String renderMode
protected String fieldUID
protected String fieldNS
public void service(javax.servlet.http.HttpServletRequest httpServletRequest,
javax.servlet.http.HttpServletResponse httpServletResponse)
throws FormatterException
service in class FormatterFormatterExceptionprotected void previewItemInPosition(Form parentForm, String currentNamespace, int position, Field field, Object value)
protected void editItemInPosition(Form parentForm, String currentNamespace, int position, Field field, Object value, String fieldName)
protected void renderNewItemForm(Form form, Field field, String currentNamespace, String fieldName, String renderMode)
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.