You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/01/12 10:43:00 UTC

[jira] [Commented] (OFBIZ-11900) Extract FTL macro call generation from MacroFormRenderer

    [ https://issues.apache.org/jira/browse/OFBIZ-11900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17263229#comment-17263229 ] 

ASF subversion and git services commented on OFBIZ-11900:
---------------------------------------------------------

Commit 3795727ea2a61e686c1d09cfaa792914bd4f8730 in ofbiz-framework's branch refs/heads/trunk from Daniel Watford
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=3795727 ]

Improved: MacroFormRenderer refactoring of label, display and text
fields

(OFBIZ-11900)

New RenderableFtl elements to represent pre-rendered FTL strings and FTL
macro calls. RenderableFtl elements are able to render themselves to
strings which are processed as an FTL template by the FtlWriter class.

For labels, display fields and text fields, MacroFormRenderer no longer
generates FTL to write to a template itself, but instead calls
RenderableFtlFormElementsBuilder to create corresponding RenderableFtl
elements which are then processed by FtlWriter. This is a WIP to reduce
complexity in MacroFormRenderer.


> Extract FTL macro call generation from MacroFormRenderer
> --------------------------------------------------------
>
>                 Key: OFBIZ-11900
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11900
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework/widget
>    Affects Versions: Trunk
>            Reporter: Daniel Watford
>            Assignee: Daniel Watford
>            Priority: Minor
>
> As part of refactoring MacroFormRenderer (OFBIZ-11456), extract code responsible for building the FTL macro calls for form elements into a supporting class.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)