org.codehaus.groovy.grails.web.taglib
Class RenderInputTag
java.lang.Object
org.codehaus.groovy.grails.web.taglib.RequestContextTag
org.codehaus.groovy.grails.web.taglib.RenderInputTag
All Implemented Interfaces: GrailsTag
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):
Since:
12-Jan-2006
Author:
Graeme Rocher
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
PATH_PREFIX
public static final String PATH_PREFIX
See Also: Constant Field Values
PATH_SUFFIX
public static final String PATH_SUFFIX
See Also: Constant Field Values
TAG_NAME
public static final String TAG_NAME
See Also: Constant Field Values
RenderInputTag
protected RenderInputTag ()
doStartTagInternal
protected void doStartTagInternal ()
Specified by: doStartTagInternal
in class RequestContextTag
doEndTagInternal
protected void doEndTagInternal ()
Specified by: doEndTagInternal
in class RequestContextTag
isDynamicAttribute
public boolean isDynamicAttribute (String attr)
getBean
public Object getBean ()
setBean
public void setBean (Object bean)
getProperty
public String getProperty ()
setProperty
public void setProperty (String property)
findUriForType
public String findUriForType (Class type)
throws MalformedURLException
Throws:
MalformedURLException
Copyright (c) 2005-2009 The Grails project