org.codehaus.groovy.grails.web.taglib.jsp
Class JspInvokeGrailsTagLibTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.codehaus.groovy.grails.web.taglib.jsp.JspInvokeGrailsTagLibTag
- All Implemented Interfaces:
- Serializable, BodyTag, DynamicAttributes, IterationTag, JspTag, Tag
- Direct Known Subclasses:
- JspActionSubmitTag, JspCheckboxTag, JspCurrencySelectTag, JspDatePickerTag, JspEachErrorTag, JspFormRemoteTag, JspFormTag, JspHasErrorsTag, JspLinkTag, JspLocaleSelectTag, JspMessageTag, JspRemoteFunctionTag, JspRemoteLinkTag, JspRenderErrorsTag, JspRenderTag, JspSelectTag, JspSubmitToRemoteTag, JspTimeZoneSelectTag
public class JspInvokeGrailsTagLibTag
- extends BodyTagSupport
- implements DynamicAttributes
A tag that invokes a tag defined in a the Grails dynamic tag library. Authors of Grails tags
who want their tags to work in JSP should sub-class this class and call "setTagName" to set
the tagName of the tag within the Grails taglib
This tag can of course be used standalone to invoke a Grails tag from JSP:
- Since:
- 16-Jan-2006
- Author:
- Graeme Rocher
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attributes
protected Map attributes
JspInvokeGrailsTagLibTag
public JspInvokeGrailsTagLibTag()
doStartTag
public final int doStartTag()
throws JspException
- Specified by:
doStartTag
in interface Tag
- Overrides:
doStartTag
in class BodyTagSupport
- Throws:
JspException
doStartTagInternal
protected int doStartTagInternal()
doAfterBody
public int doAfterBody()
throws JspException
- Specified by:
doAfterBody
in interface IterationTag
- Overrides:
doAfterBody
in class BodyTagSupport
- Throws:
JspException
doEndTag
public int doEndTag()
throws JspException
- Specified by:
doEndTag
in interface Tag
- Overrides:
doEndTag
in class BodyTagSupport
- Throws:
JspException
getTagName
public String getTagName()
setTagName
public void setTagName(String tagName)
setDynamicAttribute
public final void setDynamicAttribute(String uri,
String localName,
Object value)
throws JspException
- Specified by:
setDynamicAttribute
in interface DynamicAttributes
- Throws:
JspException
Copyright (c) 2005-2009 The Grails project