Constant Field Values


Contents
org.apache.*

org.apache.click.ActionResult
public static final String HTML "text/html"
public static final String JAVASCRIPT "text/javascript"
public static final String JSON "application/json"
public static final String TEXT "text/plain"
public static final String XHTML "application/xhtml+xml"
public static final String XML "text/xml"

org.apache.click.ClickServlet
protected static final String CLICK_FORWARD "click-forward"
protected static final String CONFIG_SERVICE_CLASS "config-service-class"
protected static final String FORWARD_PAGE "forward-page"
protected static final String TYPE_CONVERTER_CLASS "type-converter-class"

org.apache.click.Context
public static final String LOCALE "locale"

org.apache.click.Control
public static final String CONTROL_MESSAGES "click-control"

org.apache.click.Page
public static final String PAGE_ACTION "pageAction"
public static final String PAGE_MESSAGES "click-page"

org.apache.click.control.ActionButton
public static final String ACTION_BUTTON "actionButton"
public static final String VALUE "value"

org.apache.click.control.ActionLink
public static final String ACTION_LINK "actionLink"
public static final String VALUE "value"

org.apache.click.control.Checkbox
protected static final String VALIDATE_CHECKBOX_FUNCTION "function validate_{0}() \'{\'\n var msg = validateCheckbox(\'\'{0}\'\',{1}, [\'\'{2}\'\']);\n if (msg) \'{\'\n return msg + \'\'|{0}\'\';\n \'}\' else \'{\'\n return null;\n \'}\'\n\'}\'\n"

org.apache.click.control.FileField
protected static final String VALIDATE_FILEFIELD_FUNCTION "function validate_{0}() \'{\'\n var msg = validateFileField(\'\'{0}\'\',{1}, [\'\'{2}\'\']);\n if (msg) \'{\'\n return msg + \'\'|{0}\'\';\n \'}\' else \'{\'\n return null;\n \'}\'\n\'}\'\n"

org.apache.click.control.Form
public static final String ALIGN_CENTER "center"
public static final String ALIGN_LEFT "left"
public static final String ALIGN_RIGHT "right"
protected static final String FOCUS_JAVASCRIPT "<script type=\"text/javascript\"><!--\nvar field = document.getElementById(\'$id\');\nif (field && field.focus && field.type != \'hidden\' && field.disabled != true) { field.focus(); };\n//--></script>\n"
public static final String FORM_NAME "form_name"
public static final String MULTIPART_FORM_DATA "multipart/form-data"
public static final String POSITION_BOTTOM "bottom"
public static final String POSITION_LEFT "left"
public static final String POSITION_MIDDLE "middle"
public static final String POSITION_TOP "top"
public static final String SUBMIT_CHECK "SUBMIT_CHECK_"

org.apache.click.control.RadioGroup
protected static final String VALIDATE_RADIOGROUP_FUNCTION "function validate_{0}() \'{\'\n var msg = validateRadioGroup(\'\'{1}\'\', \'\'{2}\'\', {3}, [\'\'{4}\'\']);\n if (msg) \'{\'\n return msg + \'\'|{5}\'\';\n \'}\' else \'{\'\n return null;\n \'}\'\n\'}\'\n"

org.apache.click.control.Select
protected static final String VALIDATE_SELECT_FUNCTION "function validate_{0}() \'{\'\n var msg = validateSelect(\'\'{0}\'\', \'\'{3}\'\', {1}, [\'\'{2}\'\']);\n if (msg) \'{\'\n return msg + \'\'|{0}\'\';\n \'}\' else \'{\'\n return null;\n \'}\'\n\'}\'\n"

org.apache.click.control.Table
public static final String ASCENDING "ascending"
public static final String CLASS_BLUE1 "blue1"
public static final String CLASS_BLUE2 "blue2"
public static final String CLASS_COMPLEX "complex"
public static final String CLASS_ISI "isi"
public static final String CLASS_ITS "its"
public static final String CLASS_MARS "mars"
public static final String CLASS_NOCOL "nocol"
public static final String CLASS_ORANGE1 "orange1"
public static final String CLASS_ORANGE2 "orange2"
public static final String CLASS_REPORT "report"
public static final String CLASS_SIMPLE "simple"
public static final String COLUMN "column"
public static final String PAGE "page"
public static final int PAGINATOR_ATTACHED 1
public static final int PAGINATOR_DETACHED 2
public static final int PAGINATOR_INLINE 3
public static final int POSITION_BOTH 3
public static final int POSITION_BOTTOM 2
public static final int POSITION_TOP 1
public static final String SORT "sort"

org.apache.click.control.TextArea
protected static final String VALIDATE_TEXTAREA_FUNCTION "function validate_{0}() \'{\'\n var msg = validateTextField(\n \'\'{0}\'\',{1}, {2}, {3}, [\'\'{4}\'\',\'\'{5}\'\',\'\'{6}\'\']);\n if (msg) \'{\'\n return msg + \'\'|{0}\'\';\n \'}\' else \'{\'\n return null;\n \'}\'\n\'}\'\n"

org.apache.click.control.TextField
protected static final String VALIDATE_TEXTFIELD_FUNCTION "function validate_{0}() \'{\'\n var msg = validateTextField(\n \'\'{0}\'\',{1}, {2}, {3}, [\'\'{4}\'\',\'\'{5}\'\',\'\'{6}\'\']);\n if (msg) \'{\'\n return msg + \'\'|{0}\'\';\n \'}\' else \'{\'\n return null;\n \'}\'\n\'}\'\n"

org.apache.click.element.ResourceElement
public static final String IF_IE "[if IE]"
public static final String IF_IE7 "[if IE 7]"
public static final String IF_LESS_THAN_IE7 "[if lt IE 7]"
public static final String IF_LESS_THAN_IE9 "[if lt IE 9]"
public static final String IF_LESS_THAN_OR_EQUAL_TO_IE7 "[if lte IE 7]"

org.apache.click.service.ConfigService
public static final String CONTEXT_NAME "org.apache.click.service.ConfigService"
public static final String ERROR_PATH "/click/error.htm"
public static final String MODE_DEBUG "debug"
public static final String MODE_DEVELOPMENT "development"
public static final String MODE_PRODUCTION "production"
public static final String MODE_PROFILE "profile"
public static final String MODE_TRACE "trace"
public static final String NOT_FOUND_PATH "/click/not-found.htm"

org.apache.click.service.ConsoleLogService
public static final int DEBUG_LEVEL 0
public static final int ERROR_LEVEL 3
public static final int INFO_LEVEL 1
public static final int TRACE_LEVEL -1
public static final int WARN_LEVEL 2

org.apache.click.service.FileUploadService
public static final String UPLOAD_EXCEPTION "org.apache.click.service.upload_exception"

org.apache.click.service.VelocityTemplateService
protected static final String DEFAULT_TEMPLATE_PROPS "/WEB-INF/velocity.properties"
protected static final String ERROR_PAGE_PATH "/click/error.htm"
protected static final String MACRO_VM_FILE_NAME "macro.vm"
protected static final String NOT_FOUND_PAGE_PATH "/click/not-found.htm"
protected static final String VM_FILE_PATH "/click/VM_global_library.vm"
protected static final int WRITER_BUFFER_SIZE 32768

org.apache.click.util.ClickUtils
public static final String DEFAULT_APP_CONFIG "/WEB-INF/click.xml"
public static final String ENABLE_RESOURCE_VERSION "enable-resource-version"
public static final String VERSION_INDICATOR_SEP "_"

org.apache.click.util.ErrorPage
protected static final int NUMB_LINES 8