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

2024-05-23 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12262:
-

Commit e4bb0757a43e1194d82354b218ff2816741a420a in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=e4bb0757a4 ]

Fixed: createTimesheetForThisWeek as admin fails (OFBIZ-13098)

At least the below block of controller request-maps was removed by OFBIZ-12262













Maybe more there are a log of changes in the controller


> 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
> 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}
> 
>     
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


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

2021-09-07 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12262:
-

Commit a4fcf30c21740aa46f8183ec790164ae6b00266c in ofbiz-site's branch 
refs/heads/master from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-site.git;h=a4fcf30 ]

Improved: Execute a callback with parameters from the request (OFBIZ-12262)

Updates dtds/widget-common.xsd


> 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}
> 
>     
> {code}



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


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

2021-09-07 Thread Gil Portenseigne (Jira)


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

Gil Portenseigne commented on OFBIZ-12262:
--

Thanks Nicolas for the review

> 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
> 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}
> 
>     
> {code}



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


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

2021-09-07 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12262:
-

Commit ab9ca1222136368f21b32175c2a5daf8a4a57dc4 in ofbiz-framework's branch 
refs/heads/trunk from Gil Portenseigne
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=ab9ca12 ]

Execute a callback with parameters from the request (OFBIZ-12262)

Transform workEffort creation using modal and callback system to
illustrate this improvement.

A new Attribute `from-event-result` is created for `set-callback`
parameters, to indicate that the callback should be called with a
parameter which value comes from the event result initiated by the link.

In this example, is retrieved from the workeffort creation event the id
needed to display the WorkEffortSummary screen of the new data.

A new pattern is created to encode in CALLBACK JWT token the data that
should be parsed from the event. The parsing occurs in javascript.


> 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
> 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}
> 
>     
> {code}



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