<%@page import="org.xdams.workflow.bean.WorkFlowBean"%> <%@page import="org.xdams.utility.CommonUtils"%> <%@page import="org.xdams.xw.utility.Key"%> <%@page import="java.util.List"%> <%@taglib uri="http://www.springframework.org/tags" prefix="spring"%> <% WorkFlowBean workFlowBean = (WorkFlowBean)request.getAttribute("workFlowBean"); response.setContentType("text/plain"); response.setHeader("Content-Disposition", "attachment; filename="+workFlowBean.getLocalizedString("chiavi", "chiavi")+CommonUtils.titleUrl((String)request.getAttribute("vocabolario_alias"), "UTF-8", 100)+".txt"); response.setHeader("Content-Transfer-Encoding", "ascii"); int totChiavi = 0; String vocabolarioType = (String) request.getAttribute("vocabolario_tipology"); if (request.getAttribute("vocabolarioList") != null && ((List) request.getAttribute("vocabolarioList")).size() > 0) { List vocabolarioVector = (List) request.getAttribute("vocabolarioList"); for (int i = 0; i < vocabolarioVector.size(); i++) { Key key = (Key) vocabolarioVector.get(i); %><%=key.key%> <% } %> <% } else { %> <% } %>