| 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.
|
| net.sourceforge.stripes.tag.layout |
Provides lightweight tag classes for creating and using simple re-usable layouts similar
in concept to Tiles or Sitemesh.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
LinkTagSupport.buildUrl()
Builds the URL based on the information currently stored in the tag.
|
protected <R> R |
HtmlTagSupport.evaluateExpression(String expression,
Class<R> resultType)
Evaluates a single expression and returns the result.
|
ActionBean |
InputTagSupport.getActionBean()
Fetches the ActionBean associated with the form if one is present.
|
protected String |
InputTextTag.getEffectiveMaxlength()
Gets the maxlength value that is in effect for this tag, as determined by checking
InputTextTag.getMaxlength() and then the maxlength element of the Validate
annotation on the associated ActionBean property. |
List<ValidationError> |
InputTagSupport.getFieldErrors()
Access for the field errors that occurred on the form input this tag represents
|
String |
InputTagSupport.getLocalizedFieldName()
Fetches the localized name for this field if one exists in the resource bundle.
|
protected String |
InputTagSupport.getLocalizedFieldName(String name)
Attempts to fetch a "field name" resource from the localization bundle.
|
protected Object |
InputTagSupport.getOverrideValueOrValues()
Gets the value for this tag based on the current population strategy.
|
FormTag |
InputTagSupport.getParentFormTag()
Locates the enclosing stripes form tag.
|
protected String |
LinkTagSupport.getPreferredBaseUrl()
Returns the base URL that should be used for building the link.
|
protected Object |
InputTagSupport.getSingleOverrideValue()
Returns a single value for the the value of this field.
|
protected ValidationMetadata |
InputTagSupport.getValidationMetadata() |
Object |
PopulationStrategy.getValue(InputTagSupport tag) |
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.
|
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.
|
protected 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 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.
|
boolean |
InputTagSupport.hasErrors()
Returns true if one or more validation errors exist for the field represented by
this input tag.
|
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.
|
protected void |
InputTagSupport.loadErrors()
Find errors that are related to the form field this input tag represents and place
them in an instance variable to use during error rendering.
|
protected void |
InputTagSupport.registerWithParentForm()
Registers the field with the parent form within which it must be enclosed.
|
protected void |
InputOptionTag.registerWithParentForm()
Overridden to make sure that options do not try and register themselves with
the form tag.
|
protected void |
InputLabelTag.registerWithParentForm()
Overridden to do nothing, since a label isn't really a form field.
|
void |
UseActionBeanTag.setBeanclass(Object beanclass)
Sets the binding attribute by figuring out what ActionBean class is identified
and then in turn finding out the appropriate URL for the ActionBean.
|
void |
FormTag.setBeanclass(Object beanclass)
Sets the 'action' attribute by inspecting the bean class provided and asking the current
ActionResolver what the appropriate URL is.
|
void |
FieldMetadataTag.setBeanclass(Object beanclass)
Sets the 'action' attribute by inspecting the bean class provided and asking the current
ActionResolver what the appropriate URL is.
|
void |
ErrorsTag.setBeanclass(Object beanclass)
Sets the action attribute by figuring out what ActionBean class is identified
and then in turn finding out the appropriate URL for the ActionBean.
|
protected void |
WizardFieldsTag.writeWizardFields(FormTag form)
Write out a hidden field which contains parameters that should be sent along with the actual
form fields.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LayoutComponentTag.isCurrentComponent()
True if this tag is the component to be rendered on this pass from
LayoutDefinitionTag. |
boolean |
LayoutRenderTagPath.isPathComponent(LayoutComponentTag tag)
True if the specified tag is a component that must execute so that the current component tag
can execute.
|
© Copyright 2005-2006, Stripes Development Team.