Package | Description |
---|---|
net.sourceforge.stripes.tag |
Contains implementation classes for all the Stripes custom tags and interfaces
for overriding the strategy used to (re-)populate tag values and rendering tags
in case of validation errors.
|
Modifier and Type | Class and Description |
---|---|
class |
InputButtonSupportTag
Support tag class that can generate HTML form fields with localized value attributes.
|
class |
InputButtonTag
Tag that generates HTML form fields of type {@literal
|
class |
InputCheckBoxTag
Implements an HTML tag that generates form fields of type <input type="checkbox"/>.
|
class |
InputFileTag
Tag that generates HTML form fields of type {@literal
|
class |
InputHiddenTag
Generates one or more {@literal
|
class |
InputImageTag
Tag class that generates an image button for use in HTML forms, e.g:
|
class |
InputLabelTag
Tag handler for a tag that produces an HTML label tag which is capable of looking up
localized field names and formatting the label when validation errors exist.
|
class |
InputOptionTag
Generates an <option value="foo">Fooey</option> HTML tag.
|
class |
InputPasswordTag
Tag class that implements an input tag of type password.
|
class |
InputRadioButtonTag
Generates <input type="radio" value="foo"/> HTML tags based on the attribute set
on the tag and the state of the form.
|
class |
InputResetTag
Tag that generates HTML form fields of type {@literal
|
class |
InputSelectTag
Coordinates with one or more other tags to produce a well formed HTML select tag with state
repopulation.
|
class |
InputSubmitTag
Tag that generates HTML form fields of type {@literal
|
class |
InputTextAreaTag
Tag that generates HTML form fields of type
{@literal
|
class |
InputTextTag
Tag that generates HTML form fields of type
<input type="text" name="foo" value="bar"/>, which can dynamically re-populate their
value.
|
Modifier and Type | Method and Description |
---|---|
protected InputTagSupport |
DefaultTagErrorRenderer.getTag()
Returns the tag which is being rendered.
|
Modifier and Type | Method and Description |
---|---|
TagErrorRenderer |
TagErrorRendererFactory.getTagErrorRenderer(InputTagSupport tag)
Returns a new instance of a TagErrorRenderer that is utilized
by the supplied tag.
|
TagErrorRenderer |
DefaultTagErrorRendererFactory.getTagErrorRenderer(InputTagSupport tag)
Returns a new instance of the configured renderer that is ready for use.
|
java.lang.Object |
PopulationStrategy.getValue(InputTagSupport tag) |
java.lang.Object |
BeanFirstPopulationStrategy.getValue(InputTagSupport tag)
Implementation of the interface method that will follow the search described in the class
level JavaDoc and attempt to find a value for this tag.
|
java.lang.Object |
DefaultPopulationStrategy.getValue(InputTagSupport tag)
Implementation of the interface method that will follow the search described in the class
level JavaDoc and attempt to find a value for this tag.
|
protected java.lang.Object |
DefaultPopulationStrategy.getValueFromActionBean(InputTagSupport tag)
Helper method that will check to see if there is an ActionBean present in the request,
and if so, retrieve the value for this tag from the ActionBean.
|
protected java.lang.Object |
DefaultPopulationStrategy.getValueFromTag(InputTagSupport tag)
Helper method that will retrieve the preferred value set on the tag in the JSP.
|
protected java.lang.String[] |
DefaultPopulationStrategy.getValuesFromRequest(InputTagSupport tag)
Helper method that will check the current request for user submitted values for the
tag supplied and return them as a String[] if there is one or more present.
|
void |
TagErrorRenderer.init(InputTagSupport tag)
Initialize this renderer for a specific tag instance
|
void |
DefaultTagErrorRenderer.init(InputTagSupport tag)
Simply stores the tag passed in.
|
protected boolean |
DefaultPopulationStrategy.isFormInError(InputTagSupport tag)
Helper method that will check to see if the form containing this tag is being rendered
as a result of validation errors.
|
void |
FormTag.registerField(InputTagSupport tag)
Used by nested tags to notify the form that a field with the specified name has been
written to the form.
|
protected void |
FormTag.setFocusOnFieldIfRequired(InputTagSupport tag)
Checks to see if the field should receive focus either because it is the named
field for receiving focus, because it is the first field in the form (and first
field focus was specified), or because it is the first field in error.
|
? Copyright 2005-2006, Stripes Development Team.