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.
If you are accessing a template via the Template Servlet then the following special object is also available:
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> <r:template template="/alfresco/templates/tableTest.ftl"/>
<webscript> <shortname>ParametersGet</shortname> <description>Passing Value Tabellone</description> <url>/tabella?value={nameArgument}</url> <transaction>required</transaction> <format default="html">extension</format> <authentication>user</authentication> </webscript>
Hello, ${args.value}!
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> <%– Note that this template is loaded from the classpath –%> <% String h = "0"; String g = (String)request.getAttribute("cryms"); if(request.getQueryString() != null){ h = request.getQueryString().substring("value=".length(),request.getQueryString().length()); } %> <% String link = "alfresco/service/tabella?value="+h; %> <r:webScript scriptUrl="<%=link%>" />