[
http://jira.magnolia-cms.com/browse/BLOSSOM-2?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Mattsson updated BLOSSOM-2:
----------------------------------
Summary: Expose spring macro helper and the model as request
attributes in freemarker templates (was: Expose spring bind directive in
freemarker templates)
Fix Version/s: 1.2.4
2.0.1
Description:
Spring's freemarker support comes with a set of macros for form binding, these
rely on an attribute begin present in the freemarker model
'springMacroRequestContext'. This needs to be set by the Blossom freemarker
view renderer.
Also, in order to use the form binding tag library in freemarker views it needs
to see the freemarker model as request attributes. The Blossom freemarker
renderer needs to expose them that way.
was:Needs to be available. In order to get it working we need to cusomize
FreemarkerHelper.
> Expose spring macro helper and the model as request attributes in freemarker
> templates
> --------------------------------------------------------------------------------------
>
> Key: BLOSSOM-2
> URL: http://jira.magnolia-cms.com/browse/BLOSSOM-2
> Project: Magnolia Blossom Module
> Issue Type: New Feature
> Reporter: Tobias Mattsson
> Assignee: Tobias Mattsson
> Priority: Minor
> Fix For: 1.2.4, 2.0.1
>
> Attachments: ExtendedFreemarkerParagraphViewRenderer.java,
> ExtendedFreemarkerTemplateViewRenderer.java,
> ExtendedFreemarkerTemplateViewRenderer20.java
>
>
> Spring's freemarker support comes with a set of macros for form binding,
> these rely on an attribute begin present in the freemarker model
> 'springMacroRequestContext'. This needs to be set by the Blossom freemarker
> view renderer.
> Also, in order to use the form binding tag library in freemarker views it
> needs to see the freemarker model as request attributes. The Blossom
> freemarker renderer needs to expose them that way.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------