|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.web.taglib.RequestContextTag org.codehaus.groovy.grails.web.taglib.RenderInputTag
public class RenderInputTag extends RequestContextTag
A tag that attempts to render an input for a bean property into an appropriate component based on the type.
It uses the templates defined in "grails-app/views/scaffolding" to achieve this by looking up
the template by type.
Example:
Produces for Example (unless customised):
Field Summary | |
---|---|
static java.lang.String |
PATH_PREFIX
|
static java.lang.String |
PATH_SUFFIX
|
static java.lang.String |
TAG_NAME
|
Fields inherited from class RequestContextTag | |
---|---|
applicationContext, attributes, bean, contextPath, grailsApplication, out, registry, request, response, servletContext, urlPathHelper |
Constructor Summary | |
protected RenderInputTag()
|
Method Summary | |
---|---|
protected void
|
doEndTagInternal()
|
protected void
|
doStartTagInternal()
|
java.lang.String
|
findUriForType(java.lang.Class type)
|
java.lang.Object
|
getBean()
|
java.lang.String
|
getProperty()
|
boolean
|
isDynamicAttribute(java.lang.String attr)
|
void
|
setBean(java.lang.Object bean)
|
void
|
setProperty(java.lang.String property)
|
Methods inherited from class RequestContextTag | |
---|---|
doEndTag, doEndTagInternal, doStartTag, doStartTagInternal, getName, getRegistry, init, setAttribute, setAttributes, setWriter |
Field Detail |
---|
public static final java.lang.String PATH_PREFIX
public static final java.lang.String PATH_SUFFIX
public static final java.lang.String TAG_NAME
Constructor Detail |
---|
protected RenderInputTag()
Method Detail |
---|
@Override protected void doEndTagInternal()
@Override protected void doStartTagInternal()
public java.lang.String findUriForType(java.lang.Class type)
public java.lang.Object getBean()
public java.lang.String getProperty()
public boolean isDynamicAttribute(java.lang.String attr)
public void setBean(java.lang.Object bean)
public void setProperty(java.lang.String property)
Groovy Documentation