<%@page import="com.jaspersoft.jasperserver.api.metadata.xml.domain.impl.*;"%> <% com.fitbank.jasperserver.WSClient client = (com.fitbank.jasperserver.WSClient)session.getAttribute("client"); ResourceDescriptor reportUnit = client.get(request.getParameter("uri")); int parametersCount = 0; java.util.List list = reportUnit.getChildren(); // Find the datasource uri... String dsUri = null; for (int i=0; i <% } } %>
<%=rd.getLabel()%> <% if (rd.getControlType() == ResourceDescriptor.IC_TYPE_BOOLEAN) { %> <% } else if (rd.getControlType() == ResourceDescriptor.IC_TYPE_SINGLE_VALUE) { %> <% } else if (rd.getControlType() == ResourceDescriptor.IC_TYPE_SINGLE_SELECT_LIST_OF_VALUES) { %> <% } else if (rd.getControlType() == ResourceDescriptor.IC_TYPE_SINGLE_SELECT_QUERY) { %> <% } %> <% if (rd.getDescription()!= null) rd.getDescription();%>