[MAGNOLIA-2123] JspParagraphRenderer should support ActionBasedParagraph Created: 24/Apr/08  Updated: 27/Nov/13  Resolved: 19/Jan/09

Status: Closed
Project: Magnolia
Component/s: templating
Affects Version/s: 3.5.1, 3.5.2, 3.5.3, 3.5.4
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Vincent Faidherbe Assignee: Philipp Bärfuss
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File JspParagraphRenderer.java    
Issue Links:
dependency
depends upon MAGNOLIA-2559 Revive (and deprecate) ActionBasedPar... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

Currently only FreemarkerParagraphRenderer supports ActionBasedParagraph. It makes impossible to use modules such as Forum or Public User Registration with JSP templates.

I've attached a new version of JspParagraphRenderer that does the trick. It pushes the action and its result in the attributes of the context. However it isn't a good patch because I've copied the action handling related code from the FreemarkerParagraphRenderer. A clean solution would imply refactoring the two renderers for sharing the action handling related code.



 Comments   
Comment by Magnolia International [ 19/Jan/09 ]

This is obsolete with 4.0 - ActionBasedParagraph isn't needed anymore.
However, see MAGNOLIA-2559 for compatibility.

Generated at Mon Feb 12 03:33:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.