I created amp project for Alfresco to create a webscript, after deleting helloworld.get.js I added myws.post.js and related config and ftl files. But when I pass a content from controller using model.var, I couldn't access it in my view file using "${var}".
Any suggestions ???? I already modified webscript-context.xml file
<bean id="webscript.myws.post"
class="com.techlogix.demoamp.HelloWorldWebScript"
parent="webscript">
</bean>