You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2015/05/25 01:21:17 UTC

[jira] [Commented] (OFBIZ-6410) Allow form widget entity-name attribute be set dynamically from context

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

Adrian Crum commented on OFBIZ-6410:
------------------------------------

Please take some time to understand how the widget models work. You cannot supply a context Map to the constructor because each request/thread will have its own context Map, and model instances are shared by multiple requests/threads.

Evaluating the entity name while rendering will be tricky, maybe impossible.


> 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: framework
>    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)