Hi Marco 
I have tried out the expression proposed by Jan. I had te same result as you.

To be honest, i also was struggling a few times while using restfn.
And at some point i started to use it this way:
[code]
[#assign res5 = restfn.call( "icndbClient",  
"info.magnolia.documentation.modules.restclientexamples.service.IcndbService",  
"joke", ["random", "John", "Doe"])  /]
<i>${res5.get("value").get("joke").getTextValue()!"Nix found"}</i><br/>
[/code]

On our git repo is a public but never announced module with 
[url=https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/rest-client-examples/browse]rest-client-examples[/url]
  examples.
It contains a component where i 
[url=https://git.magnolia-cms.com/projects/DOCUMENTATION/repos/rest-client-examples/browse/src/main/resources/rest-client-examples/templates/components/jokes.ftl]fiddle
 around with the jokes service[/url].

cheers,
 Christoph

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=ed496868-9d67-41d0-b36f-cf2b35a600d5


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <user-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to