[jira] [Commented] (OFBIZ-4035) change the id Attribute for input fields in the model macro form renderer from String to FlexibleStringExpander

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-4035) change the id Attribute for input fields in the model macro form renderer from String to FlexibleStringExpander

Nicolas Malin (Jira)

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

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

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

Improved: Ensure MacroFormRenderer uses
ModelFormField#getCurrentContainerId rather than
ModelFormField#getIdName to ensure any FlexibleStringExpander expression
defined in the field's id-name property is processed before rendering
into the container FTL macro.

(OFBIZ-4035)


> change the id Attribute for input fields in the model macro form renderer from String to FlexibleStringExpander
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4035
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4035
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>    Affects Versions: Trunk
>            Reporter: Sascha Schumann
>            Priority: Major
>              Labels: patch-available
>         Attachments: OFBIZ-4035_ModelFormField.java.patch
>
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> hi there,
> here a little useful improvement. i changed the ID Field of an input field in in the macro form renderer from a normal String to a flexible String expander.
> The advantage is that i can use ${} variables in the id description, that helps me for example creating automatically unique id's.
> Cheers
> Sascha



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