org.apache.empire.struts2.jsp.controls
Class RadioInputControl

java.lang.Object
  extended by org.apache.empire.struts2.jsp.controls.InputControl
      extended by org.apache.empire.struts2.jsp.controls.RadioInputControl

public class RadioInputControl
extends InputControl


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.empire.struts2.jsp.controls.InputControl
InputControl.ControlInfo, InputControl.FieldValueError, InputControl.ValueInfo
 
Field Summary
 
Fields inherited from class org.apache.empire.struts2.jsp.controls.InputControl
CURRENCY_CODE_ATTRIBUTE, FILE_DATA_COLUMN_ATTRIBUTE, log, MAXVALUE_ATTRIBUTE, MINVALUE_ATTRIBUTE, NO_VALUE, NULL_VALUE, NUMBER_FORMAT_ATTRIBUTE, NUMBER_FRACTION_DIGITS, NUMBER_GROUPSEP_ATTRIBUTE
 
Constructor Summary
RadioInputControl()
           
 
Method Summary
 Object getFieldValue(String name, RequestParamProvider request, Locale locale, Column column)
          this method parses and validates the value of a particular column from the request
 void renderInput(HtmlWriter writer, InputControl.ControlInfo ci)
          this method renders a record value for input
 
Methods inherited from class org.apache.empire.struts2.jsp.controls.InputControl
error, error, formatValue, formatValue, getFormatOption, hasFormatOption, internalRenderText, parseValue, printText, renderText, useLabelId, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioInputControl

public RadioInputControl()
Method Detail

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 request
request - used to access the request Parameters
column - the column for which the value should be
Returns:
the parsed and validated record field value or a FieldValueError if an error occurred

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-out
ci - Object holding the value and meta-information about the value and the control


Copyright © 2008–2014 Apache Software Foundation. All rights reserved.