Encoding the Input Field
encodeInputField must write an input HTML element with
attributes:
- name: to be used during decoding
- value: to display spinner's current value
- size: to constrain size of input
- (type attribute not necessary since "text" is the
default).
name is constructed from the component's client ID using the
component's getClientID method.
value is obtained from the component's getValue method.
size is retrieved from the component's tag attributes using the
getAttributes method.