You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Daniel Watford (Jira)" <ji...@apache.org> on 2020/01/28 11:24:00 UTC

[jira] [Comment Edited] (OFBIZ-11330) Using FlexibleStringExpander in form widget field's parameter names

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

Daniel Watford edited comment on OFBIZ-11330 at 1/28/20 11:23 AM:
------------------------------------------------------------------

Aim is similar to OFBIZ-4035 which wanted to generate DOM element ids using FlexibleStringExpander. 


was (Author: danwatford):
Aim is similar to OFBIZ-4035 which want to generate DOM element ids using FlexibleStringExpander. 

> Using FlexibleStringExpander in form widget field's parameter names
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-11330
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11330
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Daniel Watford
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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 created: [https://github.com/apache/ofbiz-framework/pull/7]
>  
> 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)