Quick question. I am working with webflow in an application and I need to render JSON as result of an evaluation expression.
My flow is defined in this way
Is there any way to tell webflow to render the result of this expression evaluation?
<view-state id="..." view="...">
<set name="requestScope.echo" value="requestParameters.sEcho" type="int" />
<set name="requestScope.startIndex" value="requestParameters.iDisplayStart" type="int" />
<set name="requestScope.pageSize" value="requestParameters.iDisplayLength" type="int" />
<evaluate expression="dashboardFlow.requestPage(requestScope.echo, requestScope.startIndex, requestScope.pageSize, flowScope.application, flowScope.statuses)" result="flowScope.result"/>
I was trying to setup the ContentNegotiatingViewResolver to use jackson, but I cant find a way to tell webflow to serialize or render an specific result.
How do you solve this cases? What approach should I use?