<%args> String[] names; String externalLink; String cgiParamName = null; <%for String name : names %> <%doc>Call a subtemplate to build each row of the table. <& row; name = name; link = externalLink; cgiParam = cgiParamName &> <%doc>A sub-template to construct each row of the table. <%def row> <%args> String name; String link; String cgiParam; <%doc>This sub-template builds a URL. <%def generateLink> <%args> String link; String name = null; String value; <%doc> The following emit tags use '#u' to force URL style escaping for the CGI parameters. (The 'link' should already be in proper format.) Account information for <% name %>
Customer Name Account Page
<% name %> <& generateLink; link = link; name = cgiParam; value = name &>