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 2020/03/09 09:56:00 UTC

[jira] [Commented] (OFBIZ-11415) Backport - Using FlexibleStringExpander in form widget field's parameter names

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

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

Commit 1bd2caae4a08504a3af3348b7d3ed3ca7c7b0d6e in ofbiz-framework's branch refs/heads/release18.12 from Daniel Watford
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=1bd2caa ]

Improved: Backport - Use FlexibleStringExpander for field parameter names.

(OFBIZ-11415)

Allows generation of unique names when repeating rendering of a form on a screen.

Backport cherry-picked from commit 52e21a3d2e9123674e151d255fe898f86a5be72e with ModelFormFieldTest removed.


> Backport - Using FlexibleStringExpander in form widget field's parameter names
> ------------------------------------------------------------------------------
>
>                 Key: OFBIZ-11415
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11415
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Daniel Watford
>            Assignee: Jacques Le Roux
>            Priority: Major
>              Labels: backport-needed
>             Fix For: Upcoming Branch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Request for backport of OFBIZ-11330 to release18.12.
> To allow a single form to be included on a screen multiple times, and for a collective submission from those forms to be handled by a service, it is necessary to ensure each form input can be rendered with a unique name.
> The name attribute of the rendered HTML form input is rendered according to the parameterName of a field in the form widget.
> To allow generation of unique field parameterNames we can use the FlexibleStringExpander type.
>  
> PR: [https://github.com/apache/ofbiz-framework/pull/31]
>  
> Improvement initially raised on dev mailing list - [https://lists.apache.org/thread.html/r20cf244d32587768e83a78d4f69d1ef1cd064b093c0e6a8e6caa74c4%40%3Cdev.ofbiz.apache.org%3E]
>  



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