<%-- /******************************************************************************* * Copyright (c) 2013-2014 University of Stuttgart. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and the Apache License 2.0 which both accompany this distribution, * and are available at http://www.eclipse.org/legal/epl-v10.html * and http://www.apache.org/licenses/LICENSE-2.0 * * Contributors: * Oliver Kopp - initial API and implementation and/or initial documentation *******************************************************************************/ --%> <%-- This is mostly inspired by the reqscaps handling. Future work: Generalize the dialogs somehow to avoid copy'n'paste of code --%> <%@tag import="org.apache.taglibs.standard.lang.jstl.test.PageContextImpl"%> <%@tag description="Renders the list of policies of a node template" pageEncoding="UTF-8"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@taglib prefix="wc" uri="http://www.eclipse.org/winery/functions"%> <%@attribute name="list" required="true" type="java.util.List"%> <%@attribute name="repositoryURL" required="true" type="java.lang.String" %>
Policies
Name
Type
Template
<%-- this HTML has to be kept consistent with the tmpl-policy HTML at policydiag.tag --%>
${item.name}
${wc:qname2href(repositoryURL, clazz, item.policyType)}
${item.policyType}
${wc:qname2href(repositoryURL, clazz, item.policyRef)}
${item.policyRef}