logo       

[jira] Commented: (OFBIZ-2778) Alter Json controller requests to move json : msg#00934

dev.ofbiz.apache.org

Subject: [jira] Commented: (OFBIZ-2778) Alter Json controller requests to move json behaviour to response (from event)


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

Scott Gray commented on OFBIZ-2778:
-----------------------------------

Thanks Bob, this sounds like a great idea

> Alter Json controller requests to move json behaviour to response (from event)
> ------------------------------------------------------------------------------
>
> Key: OFBIZ-2778
> URL: https://issues.apache.org/jira/browse/OFBIZ-2778
> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Reporter: Bob Morley
> Attachments: json.diff
>
>
> I think it would be better to apply the Json behaviour of a controller
> request to the response and not by having multiple Json event types. These
> event types always seem to be a wrapped call to another event type that only
> adds identical Json behaviour (ie. JsonServiceEventHandler wraps
> ServiceEventHandler and simply adds a Json string to the response).
> Attached is a patch with this change implemented on the "Mark Viewed"
> function in Order Manager.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise