public class DataChooserTag extends FormWidgetTag
Modifier and Type | Field and Description |
---|---|
protected int |
addCount |
protected java.lang.String |
chooser |
protected int |
chooserHeight |
protected int |
chooserWidth |
protected java.lang.String |
customUrlParams |
protected Data |
data |
protected java.util.List |
dataList |
protected int |
FIELD_ID |
protected int |
FIELD_TITLE |
static java.lang.String |
GRP_CHOOSER_ICON |
protected java.lang.String |
icon |
protected java.lang.String[] |
ids |
protected int |
incCount |
static java.lang.String |
LIST_ICON |
protected boolean |
listvalue |
static java.lang.String |
MBR_CHOOSER_ICON |
protected boolean |
multivalue |
protected java.lang.String |
multivalueIdSeparator |
static java.lang.String |
REVISION |
protected int |
size |
protected boolean |
submitFormWYSIWYG |
protected java.lang.Class |
superClass |
protected java.lang.String |
tooltip |
protected java.lang.String[] |
values |
static java.lang.String |
WORKSPACE_CHOOSER_ICON |
channel, contextPath, css, formElementCount, formName, jcmsContext, loggedMember, userLang, widgetName, workspace
ADATE_SEARCH, ADMIN_NOTES_PROP, ADVANCED_TAB, ARCHIVES_DIR, ASCII_WIDTH, CATEGORY_TAB, CDATE_SEARCH, COMMON_ALARM, CONTENT_TAB, COOKIE_MAX_AGE, CTRL_TOPIC_INTERNAL, CTRL_TOPIC_REF, CTRL_TOPIC_VALUE, CTRL_TOPIC_WRITE, CUSTOM_PROP, DOCCHOOSER_HEIGHT, DOCCHOOSER_WIDTH, DOCS_DIR, EDATE_SEARCH, EMAIL_REGEXP, ERROR_MSG, FORBIDDEN_FILE_ACCESS, FORBIDDEN_REDIRECT, FORCE_REDIRECT, ICON_ARCHIVE, ICON_LOCK, ICON_LOCK_STRONG, ICON_WARN, ICON_WH_BOOK_CLOSED, ICON_WH_BOOK_OPEN, INFORMATION_MSG, JALIOS_JUNIT_PROP, JCMS_CADDY, JCMS_MSG_LIST, JSYNC_DOWNLOAD_DIR, JSYNC_SYNC_ALARM, LOG_FILE, LOG_TOPIC_SECURITY, LOGGER_PROP, LOGGER_XMLPROP, MBR_PHOTO_DIR, MDATE_SEARCH, MONITOR_XML, OP_CREATE, OP_CREATE_STR, OP_DEEP_COPY, OP_DEEP_COPY_STR, OP_DEEP_DELETE, OP_DEEP_DELETE_STR, OP_DELETE, OP_DELETE_STR, OP_MERGE, OP_MERGE_STR, OP_UPDATE, OP_UPDATE_STR, PDATE_SEARCH, PHOTO_DIR, PHOTO_ICON, PHOTO_ICON_HEIGHT, PHOTO_ICON_WIDTH, PHOTO_LARGE, PHOTO_LARGE_HEIGHT, PHOTO_LARGE_WIDTH, PHOTO_NORMAL, PHOTO_NORMAL_HEIGHT, PHOTO_NORMAL_WIDTH, PHOTO_SMALL, PHOTO_SMALL_HEIGHT, PHOTO_SMALL_WIDTH, PHOTO_TINY, PHOTO_TINY_HEIGHT, PHOTO_TINY_WIDTH, PREVIOUS_TAB, PRINT_VIEW, PRIVATE_FILE_ACCESS, PUBLIC_FILE_ACCESS, READ_RIGHT_TAB, SDATE_SEARCH, SEARCHENGINE_ALARM, SESSION_AUTHORIZED_FILENAMES_SET, STATS_REPORT_DIR, STATUS_PROP, STORE_XML, TEMPLATE_TAB, THUMBNAIL_LARGE_HEIGHT, THUMBNAIL_LARGE_WIDTH, THUMBNAIL_SMALL_HEIGHT, THUMBNAIL_SMALL_WIDTH, TYPES_ICON_ALT_PROP, TYPES_ICON_SUFFIX_PROP, TYPES_ICON_TITLE_PROP, TYPES_PREFIX_PROP, TYPES_THUMB_SUFFIX_PROP, UDATE_SEARCH, UPDATE_RIGHT_TAB, UPLOAD_DIR, URL_REGEXP, WARNING_MSG, WEBAPP_PROP, WFEXPRESS_ALARM, WFREMINDER_ALARM, WORKFLOW_TAB, WORKFLOW_XML
CRLF, MILLIS_IN_ONE_DAY, MILLIS_IN_ONE_HOUR, MILLIS_IN_ONE_MINUTE, MILLIS_IN_ONE_MONTH, MILLIS_IN_ONE_SECOND, MILLIS_IN_ONE_WEEK, MILLIS_IN_ONE_YEAR
Constructor and Description |
---|
DataChooserTag() |
Modifier and Type | Method and Description |
---|---|
protected void |
clean() |
protected boolean |
displayListvalueChooser() |
protected boolean |
displayMultivalueChooser() |
int |
doEndTag() |
int |
doStartTag() |
protected boolean |
findChooser()
Set chooser, tooltip, width, height
|
protected int |
getFieldAddCount() |
protected int |
getFieldCount() |
protected java.lang.String |
getFieldValue(int type,
int index) |
java.lang.String |
getHtmlCode() |
protected java.lang.String |
getMoreChooserIcons(java.lang.String itDataId,
java.lang.String indexElement) |
protected int |
getNextFieldAddCount() |
protected java.lang.String |
resolveTitle(Data data)
Resolve Data Title
|
void |
setAddCount(int addCount) |
void |
setCustomUrlParams(java.lang.String customUrlParams) |
void |
setData(Data data) |
void |
setDataList(java.util.Collection dataList) |
void |
setIncCount(int incCount) |
void |
setListvalue(boolean listvalue) |
void |
setMultivalue(boolean multivalue) |
void |
setMultivalueIdSeparator(java.lang.String multivalueIdSeparator) |
void |
setSize(int size) |
void |
setSuperClass(java.lang.Class superClass) |
setCss, setFormElementCount, setFormName, setWidgetName
public static final java.lang.String REVISION
public static final java.lang.String LIST_ICON
public static final java.lang.String MBR_CHOOSER_ICON
public static final java.lang.String GRP_CHOOSER_ICON
public static final java.lang.String WORKSPACE_CHOOSER_ICON
protected java.lang.Class superClass
protected Data data
protected java.util.List dataList
protected int size
protected boolean multivalue
protected java.lang.String multivalueIdSeparator
protected boolean listvalue
protected java.lang.String customUrlParams
protected boolean submitFormWYSIWYG
protected int addCount
protected int incCount
protected int chooserWidth
protected int chooserHeight
protected java.lang.String chooser
protected java.lang.String tooltip
protected java.lang.String icon
protected final int FIELD_ID
protected final int FIELD_TITLE
protected java.lang.String[] ids
protected java.lang.String[] values
public void setSuperClass(java.lang.Class superClass)
public void setData(Data data)
public void setSize(int size)
public void setDataList(java.util.Collection dataList)
public void setCustomUrlParams(java.lang.String customUrlParams)
public void setMultivalue(boolean multivalue)
public void setMultivalueIdSeparator(java.lang.String multivalueIdSeparator)
public void setListvalue(boolean listvalue)
public void setAddCount(int addCount)
public void setIncCount(int incCount)
protected void clean()
clean
in class FormWidgetTag
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class FormWidgetTag
javax.servlet.jsp.JspException
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class FormWidgetTag
protected boolean displayMultivalueChooser()
protected boolean displayListvalueChooser()
protected int getFieldCount()
protected int getFieldAddCount()
protected int getNextFieldAddCount()
protected boolean findChooser()
protected java.lang.String getFieldValue(int type, int index)
type
- the type of field, ie FIELD_ID for id and FIELD_TITLE for titleindex
- the position in the array of the dataprotected java.lang.String resolveTitle(Data data)
data
- protected java.lang.String getMoreChooserIcons(java.lang.String itDataId, java.lang.String indexElement)
public java.lang.String getHtmlCode()
Copyright © 2001-2010 Jalios SA. All Rights Reserved.