public interface TagErrorRenderer
Implementations of this interface are used to apply formatting to form input fields when there are associated errors. TagErrorRenderers can modify attributes of the tags output html before and/or after the tag renders itself.
If the renderer modifies attributes of the form input tag, it is also responsible for re-setting those values to their prior values in the doAfterEndTag() method. If this is not done correctly and the tag is pooled by the container the results on the page may be pretty unexpected!
Modifier and Type | Method and Description |
---|---|
void |
doAfterEndTag()
Executed after the end of rendering of the input tag, including
its body and end tag.
|
void |
doBeforeStartTag()
Executed before the start of rendering of the input tag.
|
void |
init(InputTagSupport tag)
Initialize this renderer for a specific tag instance
|
void init(InputTagSupport tag)
tag
- The InputTagSuppport subclass that will be modifiedvoid doBeforeStartTag()
void doAfterEndTag()
? Copyright 2005-2006, Stripes Development Team.