<#-- ======================== Start of Main() Code Generation ============= --> <#-- remove superfluous white-space --> <#compress> <#recurse doc> <#-- Strart recursively processing the document --> <#macro pise> <#-- A macro name matched with the label of the node in the doc--> <#-- when this node is found execute the following commands--> <#assign Toolname=.node.command> <#-- Declaration of a varialbe Toolname--> <#-- set value to "" if node does not exist --> <#assign title = .node.head.title[0]?default("")> <#assign description = .node.head.description[0]?default("")> <#assign authors = .node.head.authors[0]?default("")> <#assign command = .node.command?default("")> <%@ taglib prefix="s" uri="/struts-tags" %> ${title}

${title}: ${description} <#if authors?length gt 0>(${authors})

Simple Parameters
<#include "pise2JSPSimple.ftl">



Advanced Parameters
<#include "pise2JSPAdvanced.ftl"> <#-- Permit to recursively process the nodes, FreeMaker will look for a macro that matches the label of the node in the doc. In this case it will find 'parameters' -->



<#-- command Section -->
Advanced Help
<#include "pise2help.ftl"> <#-- help section -->
<#-- Additng the Java Script --> <#-- ======================== End of Main() Code Generation ============= --> <#-- ======================== Macros ============= --> <#macro @element> <#-- this macro is needed because we call for <#include...> in the Main() -->