org.loom.tags.decorator
Class AbstractFormInputDecorator<T extends AbstractFormInputTag>
java.lang.Object
org.loom.tags.decorator.AbstractLoomDecorator<T>
org.loom.tags.decorator.AbstractFormInputDecorator<T>
- All Implemented Interfaces:
- TagDecorator<T>
- Direct Known Subclasses:
- InputRadioDecorator
public class AbstractFormInputDecorator<T extends AbstractFormInputTag>
- extends AbstractLoomDecorator<T>
Adds a label around the input field with its same css styles
- Author:
- icoloma
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractFormInputDecorator
public AbstractFormInputDecorator()
beforeDoTag
public boolean beforeDoTag(T tag)
throws java.io.IOException
- Specified by:
beforeDoTag in interface TagDecorator<T extends AbstractFormInputTag>- Specified by:
beforeDoTag in class AbstractLoomDecorator<T extends AbstractFormInputTag>
- Returns:
- true to execute the tag afterwards, false to skip the tag. If false,
the afterDoTag method will not be triggered.
- Throws:
java.io.IOException
afterDoTag
public void afterDoTag(T tag)
throws java.io.IOException,
javax.servlet.jsp.JspException
- Specified by:
afterDoTag in interface TagDecorator<T extends AbstractFormInputTag>- Specified by:
afterDoTag in class AbstractLoomDecorator<T extends AbstractFormInputTag>
- Throws:
java.io.IOException
javax.servlet.jsp.JspException
renderError
protected void renderError(T tag)
throws javax.servlet.jsp.JspException,
java.io.IOException
- Throws:
javax.servlet.jsp.JspException
java.io.IOException
setErrorPosition
public void setErrorPosition(AbstractFormInputDecorator.ErrorPosition errorPosition)
The Loom Framework 1.6-SNAPSHOT.
Licensed under the Apache License, Version 2.0 by Extrema Sistemas de Informacion S.L.