AnsweredAssumed Answered

Problem in retrieving content passed bycontroller.

Question asked by bilalsaeed on Nov 21, 2016
Latest reply on Nov 23, 2016 by bilalsaeed

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>

Outcomes