Serialized Form


Package net.sf.click

Class net.sf.click.ClickServlet extends HttpServlet implements Serializable

serialVersionUID: 1l

Serialized Fields

configService

ConfigService configService
The click application configuration service.


logger

LogService logger
The application log service.


typeConverter

ognl.TypeConverter typeConverter
The request parameters OGNL type converter.


Package net.sf.click.control

Class net.sf.click.control.AbstractContainer extends AbstractControl implements Serializable

serialVersionUID: 1l

Serialized Fields

controls

List controls
The list of controls.


controlMap

Map controlMap
The map of controls keyed by field name.

Class net.sf.click.control.AbstractControl extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

actionListener

ActionListener actionListener
The control's action listener.


attributes

Map attributes
The Control attributes Map.


name

String name
The Control name.


parent

Object parent
The control's parent.


styles

Map styles
Deprecated. use AbstractControl.addStyleClass(String) and AbstractControl.removeStyleClass(String) instead.

The Map of CSS style attributes.


listener

Object listener
The listener target object.


listenerMethod

String listenerMethod
The listener method name.

Class net.sf.click.control.AbstractLink extends AbstractControl implements Serializable

serialVersionUID: 1l

Serialized Fields

disabled

boolean disabled
The Field disabled value.


imageSrc

String imageSrc
The image src path attribute. If the image src is defined then a <img/> element will rendered inside the anchor link when using the AbstractLink AbstractControl.toString() method.

If the image src value is prefixed with '/' then the request context path will be prefixed to the src value when rendered by the control.


label

String label
The link display label.


parameters

Map parameters
The link parameters map.


tabindex

int tabindex
The link 'tabindex' attribute.


title

String title
The link title attribute, which acts as a tooltip help message.

Class net.sf.click.control.ActionButton extends Button implements Serializable

serialVersionUID: 1l

Serialized Fields

clicked

boolean clicked
The button is clicked.


parameters

Map parameters
The link parameters map.

Class net.sf.click.control.ActionLink extends AbstractLink implements Serializable

serialVersionUID: 1l

Serialized Fields

clicked

boolean clicked
The link is clicked.

Class net.sf.click.control.Button extends Field implements Serializable

serialVersionUID: 1l

Class net.sf.click.control.Checkbox extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

checked

boolean checked
The field checked value.

Class net.sf.click.control.Column extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

attributes

Map attributes
The Column attributes Map.


autolink

boolean autolink
The automatically hyperlink column URL and email address values flag, default value is false.


dataClass

String dataClass
The column table data <td> CSS class attribute.


dataStyles

Map dataStyles
The Map of column table data <td> CSS style attributes.


decorator

Decorator decorator
The column row decorator.


escapeHtml

boolean escapeHtml
The escape HTML characters flag. The default value is true.


format

String format
The column message format pattern.


headerClass

String headerClass
The CSS class attribute of the column header.


headerStyles

Map headerStyles
The Map of column table header <th> CSS style attributes.


headerTitle

String headerTitle
The title of the column header.


maxLength

int maxLength
The maximum column length. If maxLength is greater than 0 and the column data string length is greater than maxLength, the rendered value will be truncated with an eclipse(...).

Autolinked email or URL values will not be constrained.

The default value is 0.


messageFormat

MessageFormat messageFormat
The optional MessageFormat used to render the column table cell value.


name

String name
The property name of the row object to render.


renderId

Boolean renderId
The column render id attribute status. The default value is false.


sortable

Boolean sortable
The column sortable status. The default value is false.


table

Table table
The parent Table.


titleProperty

String titleProperty
The property name used to populate the <td> "title" attribute. The default value is null.


width

String width
The column HTML <td> width attribute.


comparator

Comparator comparator
The column comparator object, which is used to sort column row values.

Class net.sf.click.control.Field extends AbstractControl implements Serializable

Serialized Fields

disabled

boolean disabled
The Field disabled value.


error

String error
The Field error message.


focus

boolean focus
The request focus flag.


form

Form form
The parent Form.


help

String help
The Field help text.


label

String label
The Field label.


readonly

boolean readonly
The Field is readonly flag.


required

boolean required
The Field is required flag.


tabindex

int tabindex
The Field 'tabindex' attribute.


title

String title
The Field 'title' attribute, which acts as a tooltip help message.


validate

Boolean validate
The validate Field value onProcess() invokation flag.


value

String value
The Field value.

Class net.sf.click.control.FieldSet extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

fieldWidths

Map fieldWidths
The map of field width values.


legend

String legend
The FieldSet legend.


legendAttributes

Map legendAttributes
The FieldSet legend attributes map.


showBorder

boolean showBorder
The render fieldset border flag, default value is true.


columns

Integer columns
This property serves as a hint to the number of table columns the fieldset is rendered with.

Currently only Form acts upon this property.


container

FieldSet.InnerContainerField container
Internal container instance.

Class net.sf.click.control.FileField extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

size

int size
The text field size attribute. The default size is 20.


fileItem

FileItem fileItem
The DefaultFileItem after processing a file upload request.

Class net.sf.click.control.Form extends AbstractContainer implements Serializable

serialVersionUID: 1l

Serialized Fields

actionURL

String actionURL
The form action URL.


disabled

boolean disabled
The form disabled value.


enctype

String enctype
The form "enctype" attribute.


error

String error
The form level error message.


fieldList

List fieldList
The ordered list of fields, excluding buttons.


method

String method
The form method ["post, "get"], default value:   post.


readonly

boolean readonly
The form is readonly flag.


validate

boolean validate
The form validate fields when processing flag.


buttonAlign

String buttonAlign
The button align, default value is "left".


buttonList

List buttonList
The ordered list of button values.


buttonStyle

String buttonStyle
The button <td> "style" attribute value.


columns

int columns
The number of form layout table columns, default value: 1.

This property is used to layout the number of table columns the form is rendered with using a flow layout style.


defaultFieldSize

int defaultFieldSize
The default field size, default value: 0.

If the form default field size is greater than 0, when fields are added to the form the field's size will be set to the default value.


errorsAlign

String errorsAlign
The errors block align, default value is "left".


errorsPosition

String errorsPosition
The form errors position ["top", "middle", "bottom"] default value:   "top".


errorsStyle

String errorsStyle
The error <td> "style" attribute value.


fieldStyle

String fieldStyle
The field <td> "style" attribute value.


fieldWidths

Map fieldWidths
The map of field width values.


javaScriptValidation

boolean javaScriptValidation
The JavaScript client side form fields validation flag. By default JavaScript validation is not enabled.


labelAlign

String labelAlign
The label align, default value is "left".


labelsPosition

String labelsPosition
The form labels position ["left", "top"] default value:   "left".


labelStyle

String labelStyle
The label <td> "style" attribute value.

Class net.sf.click.control.HiddenField extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

valueObject

Object valueObject
The field value Object.


valueClass

Class valueClass
The field value Class.

Class net.sf.click.control.ImageSubmit extends Submit implements Serializable

serialVersionUID: 1l

Serialized Fields

src

String src
The image path src attribute. If the src value is prefixed with '/' then the request context path will be prefixed to the src value when rendered by the control.


x

int x
The image pixel x coordinate clicked on by the user, the default value is -1. A value of -1 which means the value has not been set.


y

int y
The image pixel y coordinate clicked on by the user, the default value is -1. A value of -1 means the value has not been set.

Class net.sf.click.control.Label extends Field implements Serializable

serialVersionUID: 1l

Class net.sf.click.control.Option extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

label

String label
The Options display label.


value

String value
The Option value.

Class net.sf.click.control.OptionGroup extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

children

List children
The groups child Option/OptGroup objects.


label

String label
The label for the OptionGroup.

Class net.sf.click.control.PageLink extends AbstractLink implements Serializable

serialVersionUID: 1l

Serialized Fields

pageClass

Class pageClass
The target page class.

Class net.sf.click.control.Panel extends AbstractContainer implements Serializable

serialVersionUID: 1l

Serialized Fields

disabled

boolean disabled
The panel disabled value.


id

String id
The "identifier" for this panel (CSS id for rendering).


label

String label
The (localized) label of this panel.


model

Map model
A temporary storage for model objects until the Page is set.


panels

List panels
The list of sub panels.


template

String template
The path of the template to render.

Class net.sf.click.control.PasswordField extends TextField implements Serializable

serialVersionUID: 1l

Class net.sf.click.control.Radio extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

checked

boolean checked
The field checked value.

Class net.sf.click.control.RadioGroup extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

radioList

List radioList
The list of Radio controls.


isVerticalLayout

boolean isVerticalLayout
The layout is vertical flag (default false). If the layout is vertical each Radio controls is rendered on a new line using the <br> tag.

Class net.sf.click.control.Reset extends Button implements Serializable

serialVersionUID: 1l

Class net.sf.click.control.Select extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

multiple

boolean multiple
The multiple options selectable flag. The default value is false.


optionList

List optionList
The Select Option/OptionGroup list.


size

int size
The Select display size in rows. The default size is one.


selectedValues

List selectedValues
The multiple selected values. This list will only be populated if Select.multiple is true.

Class net.sf.click.control.Submit extends Button implements Serializable

serialVersionUID: 1l

Serialized Fields

clicked

boolean clicked
The button is clicked.

Class net.sf.click.control.Table extends AbstractControl implements Serializable

serialVersionUID: 1l

Serialized Fields

bannerPosition

int bannerPosition
The table pagination banner position: [ POSITION_TOP | POSITION_BOTTOM | POSITION_BOTH ]. The default position is POSITION_BOTTOM.


columns

Map columns
The map of table columns keyed by column name.


columnList

List columnList
The list of table Columns.


controlLink

ActionLink controlLink
The table paging and sorting control action link.


controlList

List controlList
The list of table controls.


height

String height
The table HTML <td> height attribute.


hoverRows

boolean hoverRows
The table rows set 'hover' CSS class on mouseover events flag. By default hoverRows is false.


nullifyRowListOnDestroy

boolean nullifyRowListOnDestroy
Flag indicating if rowList is nullified when onDestroy() is invoked, default is true. This flag only applies to stateful pages.

See Also:
Table.setNullifyRowListOnDestroy(boolean)

pageNumber

int pageNumber
The currently displayed page number. The page number is zero indexed, i.e. the page number of the first page is 0.


pageSize

int pageSize
The maximum page size in rows. A value of 0 means there is no maximum page size.


paginator

Renderable paginator
The paginator used to render the table pagination controls.


paginatorAttachment

int paginatorAttachment
The paginator attachment style: [ PAGINATOR_ATTACHED | PAGINATOR_DEATTACHED | PAGINATOR_INLINE ]. The default paginator attachment type is PAGINATOR_ATTACHED.


renderId

boolean renderId
The default column render id attribute status. The default value is false.


rowList

List rowList
The list Table rows. Please note the rowList is cleared in table Table.onDestroy() method at the end of each request.


showBanner

boolean showBanner
The show table banner flag detailing number of rows and rows displayed.


sortable

boolean sortable
The default column are sortable status. By default columnsSortable is false.


sorted

boolean sorted
The row list is sorted status. By default sorted is false.


sortedAscending

boolean sortedAscending
The rows list is sorted in ascending order.


sortedColumn

String sortedColumn
The name of the sorted column.


width

String width
The table HTML <td> width attribute.

Class net.sf.click.control.TablePaginator extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

table

Table table
The parent table to provide paginator for.

Class net.sf.click.control.TextArea extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

cols

int cols
The number of text area columns. The default number of columns is twenty.


maxLength

int maxLength
The maximum field length validation constraint. If the value is zero this validation constraint is not applied. The default value is zero.


minLength

int minLength
The minimum field length validation constraint. If the valid is zero this validation constraint is not applied. The default value is zero.


rows

int rows
The number of text area rows. The default number of rows is three.

Class net.sf.click.control.TextField extends Field implements Serializable

serialVersionUID: 1l

Serialized Fields

maxLength

int maxLength
The maximum field length validation constraint. If the value is zero this validation constraint is not applied. The default value is zero.

If maxLenth is greater than zero, then maxLength is rendered as the HTML attribute 'maxlength'.


minLength

int minLength
The minimum field length validation constraint. If the valid is zero this validation constraint is not applied. The default value is zero.


size

int size
The text field size attribute. The default size is 20.


Package net.sf.click.util

Class net.sf.click.util.ActionListenerAdaptor extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

listener

Object listener
The target listener object.


method

String method
The target listener method name.

Class net.sf.click.util.FlashAttribute extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

value

Object value
The session attribute value.

Class net.sf.click.util.Format extends Object implements Serializable

serialVersionUID: 1l

Serialized Fields

locale

Locale locale
The request context locale.


emptyString

String emptyString
The empty string value.