<%-- /******************************************************************************* * Copyright (c) 2012-2013 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 *******************************************************************************/ --%> <%@tag description="used by genericcomponentpage.jsp and by implementations.jsp to create a component instance" pageEncoding="UTF-8"%> <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@taglib prefix="t" tagdir="/WEB-INF/tags" %> <%@taglib prefix="w" uri="http://www.eclipse.org/winery/repository/functions"%> <%-- function createResource(nameOfResource, fields, url, onSuccess) cannot be used as this method is more diverse --%> <%@attribute name="label" required="true" description="The lable to display"%> <%@attribute name="URL" description=""%> <%@attribute name="onSuccess" description=""%> <%@attribute name="type" description="added to dataToSend when doing a POST"%> <%@attribute name="typeSelectorData" type="java.util.Collection" description="All available types when creating a template. We do not support types with names (additional to the id) as the current TOSCA specification does not foresee the usage of both name and id at types"%> <%@attribute name="openinnewwindow" description="if true, the editor for the created component instance is openend in a new window"%>