[jira] [Updated] (OFBIZ-6410) Allow form widget <auto-fields-entity> entity-name attribute be set dynamically from context

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

[jira] [Updated] (OFBIZ-6410) Allow form widget <auto-fields-entity> entity-name attribute be set dynamically from context

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-6410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Carlow updated OFBIZ-6410:
------------------------------------
    Attachment: OFBIZ-6410.patch

This patch extends the widget framework so that <form> and <grid> widget <auto-fields-entity> entity-name can be set dynamically from the context.  ModelForm() constuctor was extended to accept a context parameter from which the entity-name attribute value is derived.  All functions leading to ModelForm() constructor were also modified to pass the context along from the original sources at ModelScreenWidget.Form.getModelForm() and ModelScreenWidget.Grid.getModelForm().

> Allow form widget <auto-fields-entity> entity-name attribute be set dynamically from context
> --------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-6410
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6410
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: Trunk
>            Reporter: Christian Carlow
>         Attachments: OFBIZ-6410.patch
>
>
> This functionality will be used to provide a simple solution for OFBIZ-6407.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)