public interface JspTag
An interface that represents a JSP tag that can be invoked by Grails
| Type Params | Return Type | Name and description |
|---|---|---|
|
public void |
doTag(java.io.Writer targetWriter, java.util.Map<java.lang.String, java.lang.Object> attributes)Main method to invoke a tag library and output to the target write |
|
public void |
doTag(java.io.Writer targetWriter, java.util.Map<java.lang.String, java.lang.Object> attributes, groovy.lang.Closure<?> body)Invokes a tag with a closure representing the body of the tag |
|
public boolean |
isBodyTag()
|
|
public boolean |
isIterationTag()
|
|
public boolean |
isTryCatchFinallyTag()
|
Main method to invoke a tag library and output to the target write
targetWriter - The writer the tag should write toattributes - The tag attributesInvokes a tag with a closure representing the body of the tag
targetWriter - The target writer to write toattributes - The tag attributesbody - The body of the tag