ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-11418) Use FlexibleStringExpander in form widget lookup field field target parameters
Date Mon, 09 Mar 2020 09:56:00 GMT

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

ASF subversion and git services commented on OFBIZ-11418:

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

Documented: Backport - Documented use of field attribute parameter-name and
lookup field attribute target-parameter in widget-form.xsd


Backport cherry-picked from commit

> Use FlexibleStringExpander in form widget lookup field field target parameters
> ------------------------------------------------------------------------------
>                 Key: OFBIZ-11418
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11418
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Daniel Watford
>            Assignee: Jacques Le Roux
>            Priority: Major
>              Labels: patch-available
>             Fix For: Upcoming Branch
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
> OFBIZ-11330 added use of FlexibleStringExpander when generating the parameter-name for
a Form Widget Field.
> The form widget's Lookup field makes use of a target-parameter attribute to determine
the input fields which should be read from when making a lookup request.
> Since we can now generate field parameter names from FlexibleStringExpander expressions
it seems appropriate to be able to populate the target-parameter with the same expressions.
Not doing so means that we can potentially generate parameter names that cannot be referenced
by a lookup field.

This message was sent by Atlassian Jira

View raw message