08-12-2009 06:47 AM
If you are accessing a template via the Template Servlet then the following special object is also available:So is not my case. (becuase i have an error like this Errore durante il processo del modello "Expression args is undefined on line 141)
<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
<r:template template="/alfresco/templates/tableTest.ftl"/>
08-14-2009 03:33 AM
<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}!
tabella.get.html.ftl Inside this file you can put all your freemarker code.
<%@ 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%>" />
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.