|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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!
Method Summary | |
---|---|
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 |
Method Detail |
---|
void init(InputTagSupport tag)
tag
- The InputTagSuppport subclass that will be modifiedvoid doBeforeStartTag()
void doAfterEndTag()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |