As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<% Map myModel = new HashMap(); myModel.put("prop1", "foo"); %> <r:template id="t6" template="alfresco/templates/my_test.ftl" model="[b]?????[/b]" />
The value of prop1=${prop1}
<r:template id="t6" template="alfresco/templates/my_test.ftl" model="#{mybean.model}" />
public Map getTemplateModel() { HashMap model = new HashMap(1, 1.0f); // retrieving ref from the request String nodeRef = [request.getParameter("….")] model.put("documentRef", nodeRef); return model; }