AnsweredAssumed Answered

java backed access to template args [SOLVED]

Question asked by boevink on Feb 17, 2010
I've created a java backed webscript.
In the descriptor I use template args as URL matcher.

e.g.: /test/{some_id}/title

Can I access the template arg {some_id} from within my java backed implementation (making use of org.alfresco.web.scripts.WebScriptRequest)?

[edit - added solution]
org.alfresco.web.scripts.WebScriptRequest.getServiceMatch().getTemplateVars()
(applicable to community edition 3.2r2)

Outcomes