org.apache.empire.struts2.jsp.controls
Class CheckboxInputControl
java.lang.Object
org.apache.empire.struts2.jsp.controls.InputControl
org.apache.empire.struts2.jsp.controls.CheckboxInputControl
public class CheckboxInputControl
- extends InputControl
| Methods inherited from class org.apache.empire.struts2.jsp.controls.InputControl |
error, error, formatValue, formatValue, getFormatOption, hasFormatOption, internalRenderText, parseValue, printText, useLabelId, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckboxInputControl
public CheckboxInputControl()
getFieldValue
public Object getFieldValue(String name,
RequestParamProvider request,
Locale locale,
Column column)
- Description copied from class:
InputControl
- this method parses and validates the value of a particular column from the request
- Overrides:
getFieldValue in class InputControl
- Parameters:
name - the name under which the param is stored on the requestrequest - used to access the request Parameterscolumn - the column for which the value should be
- Returns:
- the parsed and validated record field value or a FieldValueError if an error occurred
renderText
public void renderText(HtmlWriter writer,
InputControl.ValueInfo vi)
- Description copied from class:
InputControl
- this method renders a record value read only
this can be either in a read only form or a table
- Overrides:
renderText in class InputControl
- Parameters:
writer - the HtmlWriter for html write-outvi - Object holding the value and meta-information about the value
renderInput
public void renderInput(HtmlWriter writer,
InputControl.ControlInfo ci)
- Description copied from class:
InputControl
- this method renders a record value for input
- Specified by:
renderInput in class InputControl
- Parameters:
writer - the HtmlWriter for html write-outci - Object holding the value and meta-information about the value and the control
Copyright © 2008-2011 Apache Software Foundation. All Rights Reserved.