[
http://jira.magnolia-cms.com/browse/MAGNOLIA-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=28843#action_28843
]
Hudson CI server commented on MAGNOLIA-3234:
--------------------------------------------
Integrated in !http://hudson.magnolia-cms.com/images/16x16/blue.gif!
[magnolia_main-4.3-branch
#21|http://hudson.magnolia-cms.com/job/magnolia_main-4.3-branch/21/]
MAGNOLIA-3234: refactoring: AbstractRenderer now checks for model's
execute(..) return value (the SKIP_RENDERING constant defined in
RenderingModel) to skip rendering. Reintroduced tests to check for null
template paths and modifed tests for checking that nothing has been rendered in
the outputstream.
> Make it possible to skip rendering
> ----------------------------------
>
> Key: MAGNOLIA-3234
> URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3234
> Project: Magnolia
> Issue Type: Task
> Components: templating
> Reporter: Federico Grilli
> Assignee: Federico Grilli
> Fix For: 4.3.3, 5.0
>
>
> When realizing the new redirect functionality the need arose for skipping the
> rendering of templates under certain conditions. This can be achieved by
> skipping the call to the onRender(..) method in AbstractRenderer.render(..)
> method when the determineTemplatePath(..) method for a certain template
> returns null. So far, this caused an IllegalStateException but now this
> should not be the case anymore and a null templatePath would simply mean 'do
> not render anything'.
--
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/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------