|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object freemarker.ext.beans.BeanModel info.magnolia.module.templating.freemarker.RenderableDefinitionModel
public class RenderableDefinitionModel
Make parameters directly available (as if they were properties of the definition itself). i.e, if the RenderableDefinitionModel doesn't have a 'foo' bean-property, one can still do ${def.foo} or ${def['foo']}, which would be the equivalent of ${def.parameters.foo}
Nested Class Summary | |
---|---|
static class |
RenderableDefinitionModel.Factory
A factory for the enclosing type. |
Field Summary |
---|
Fields inherited from class freemarker.ext.beans.BeanModel |
---|
object, wrapper |
Fields inherited from interface freemarker.template.TemplateModel |
---|
NOTHING |
Method Summary | |
---|---|
freemarker.template.TemplateModel |
get(java.lang.String key)
Fall back on the parameters' hash model if no bean property has been found. |
Methods inherited from class freemarker.ext.beans.BeanModel |
---|
getAdaptedObject, getWrappedObject, hasPlainGetMethod, invokeGenericGet, isEmpty, keys, keySet, size, toString, unwrap, values, wrap |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public freemarker.template.TemplateModel get(java.lang.String key) throws freemarker.template.TemplateModelException
get
in interface freemarker.template.TemplateHashModel
get
in class freemarker.ext.beans.BeanModel
freemarker.template.TemplateModelException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |