Package | Description |
---|---|
org.apache.empire.struts2.jsp.components | |
org.apache.empire.struts2.jsp.controls |
Modifier and Type | Class and Description |
---|---|
class |
ControlComponent |
class |
DataValueComponent |
class |
InputControlComponent |
Modifier and Type | Interface and Description |
---|---|
static interface |
InputControl.ControlInfo
This interface extends the value information by information about the input control
used with the renderInput function
|
Modifier and Type | Method and Description |
---|---|
protected String |
InputControl.formatValue(InputControl.ValueInfo vi)
Returns the value formated as a string
This is a shortcut for formatString(vi.getValue(), vi)
Derived classes may override formatString
|
protected String |
TextInputControl.formatValue(InputControl.ValueInfo vi,
boolean appendUnit) |
protected String |
TextInputControl.formatValue(Object value,
InputControl.ValueInfo vi,
boolean hasError) |
protected String |
PasswordInputControl.formatValue(Object value,
InputControl.ValueInfo vi,
boolean hasError) |
protected String |
InputControl.formatValue(Object value,
InputControl.ValueInfo vi,
boolean hasError)
Returns the value formated as a string
this is a simple default implementation that does no type-secific formatting
Derived classes may override formatString an provide further formmatting
see TextInputControl for details
|
protected String |
InputControl.getFormatOption(InputControl.ValueInfo vi,
String option) |
protected boolean |
InputControl.hasFormatOption(InputControl.ValueInfo vi,
String option)
checks if a particular formating option has been specified.
|
protected void |
TextInputControl.internalRenderText(HtmlWriter writer,
InputControl.ValueInfo vi) |
protected void |
TextAreaInputControl.internalRenderText(HtmlWriter writer,
InputControl.ValueInfo vi) |
protected void |
InputControl.internalRenderText(HtmlWriter writer,
InputControl.ValueInfo vi)
this method renders a record value read only
it is internally called by renderText
|
void |
HLinkInputControl.internalRenderText(HtmlWriter writer,
InputControl.ValueInfo vi) |
void |
EMailInputControl.internalRenderText(HtmlWriter writer,
InputControl.ValueInfo vi) |
void |
TextAreaInputControl.renderText(HtmlWriter writer,
InputControl.ValueInfo vi) |
void |
InputControl.renderText(HtmlWriter writer,
InputControl.ValueInfo vi)
this method renders a record value read only
this can be either in a read only form or a table
|
void |
CheckboxInputControl.renderText(HtmlWriter writer,
InputControl.ValueInfo vi) |
Copyright © 2008–2017 Apache Software Foundation. All rights reserved.