Nicolas Malin created OFBIZ-12262:
-------------------------------------
Summary: 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: Nicolas Malin
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)