You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Gil Portenseigne (Jira)" <ji...@apache.org> on 2021/09/07 13:03:00 UTC

[jira] [Closed] (OFBIZ-12262) Execute a callback with parameters from the request

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

Gil Portenseigne closed OFBIZ-12262.
------------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Fixed

> Execute a callback with parameters from the request
> ---------------------------------------------------
>
>                 Key: OFBIZ-12262
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12262
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: framework/widget
>    Affects Versions: Trunk
>            Reporter: Nicolas Malin
>            Assignee: Gil Portenseigne
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: 0001-Execute-a-callback-with-parameters-from-the-request-.patch
>
>
> With the new element set-callback (OFBIZ-11812) we have the possibility to call a request with event and wait the success/error before continue and update an area.
> If the event generate a new value (createProduct, createPerson, ...) where we need it for update the area, we can't generate the call.
> A possible idea would be add a new parameter type when we define a callback to indicate that we will wait the event return to resolve the value. Like
> {code:java}
> <set-callback area-target="window">
>     <parameter param-name="productId" from-request="productId"/>
> </set-callback>{code}



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