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

ASF subversion and git services commented on ISIS-1145:
-------------------------------------------------------

Commit 7d52ff4a8fb9793c58da70a96ce325258a7f1c66 in isis's branch 
refs/heads/master from [~danhaywood]
[ https://git-wip-us.apache.org/repos/asf?p=isis.git;h=7d52ff4 ]

ISIS-1145: introduce RenderContext2" interface to avoid an unnecessary breakage 
of backward compatibility with existing isis-module-publishing.

In addition, some emperical improved support for simple format of invoking 
query-only actions via REST, where the datatype is a string but parseable as an 
int (allow the value to be enclosed in quotes as a hint it should not be parsed 
as an int).


> REST action invocations support limited conneg to JAXB-marshalled DTOs
> ----------------------------------------------------------------------
>
>                 Key: ISIS-1145
>                 URL: https://issues.apache.org/jira/browse/ISIS-1145
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core: Viewer: RestfulObjects
>    Affects Versions: core-1.8.0
>            Reporter: Dan Haywood
>            Assignee: Dan Haywood
>            Priority: Minor
>             Fix For: 1.9.0
>
>
> invoking any of the action/invoke resources (in the usual fashion) with an 
> Accept header of
> "application/xml;profile=urn:org.restfulobjects:repr-types/action-result;x-ro-domain-type=todoapp.dto.module.todoitem.ToDoItemDto"
> will check that the returned object is of the specified type, and return it 
> as XML payload.
> Otherwise will return a 406.
> If there is no Accept header or is "application/json", then retain original 
> behaviour.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to