Merge "Inherit from oparent"
[vfc/nfvo/wfengine.git] / winery / org.eclipse.winery.repository / src / main / webapp / jsp / servicetemplates / servicetemplate.jsp
1 <%--
2 /*******************************************************************************
3  * Copyright (c) 2012-2013, 2015 University of Stuttgart.
4  * All rights reserved. This program and the accompanying materials
5  * are made available under the terms of the Eclipse Public License v1.0
6  * and the Apache License 2.0 which both accompany this distribution,
7  * and are available at http://www.eclipse.org/legal/epl-v10.html
8  * and http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Contributors:
11  *    Oliver Kopp - initial API and implementation and/or initial documentation
12  *******************************************************************************/
13 --%>
14 <%@page import="org.eclipse.winery.repository.resources.SubMenuData"%>
15
16 <%@taglib prefix="t" tagdir="/WEB-INF/tags" %>
17
18 <%-- add submenus after the submenus defined for the type --%>
19 <%
20 java.util.List<SubMenuData> subMenus = new java.util.ArrayList<SubMenuData>(5);
21
22 SubMenuData data;
23
24 data = new SubMenuData("#topologytemplate", "Topology Template");
25 subMenus.add(data);
26
27 data = new SubMenuData("#plans", "Plans");
28 subMenus.add(data);
29
30 data = new SubMenuData("#selfserviceportal", "Self-service Portal");
31 subMenus.add(data);
32
33 data = new SubMenuData("#boundarydefinitions", "Boundary Definitions");
34 subMenus.add(data);
35
36 //Tags are currently not implemented -> Don't confuse users by showing the tab
37 //has to be enabled again, when tags are implemented
38 //data = new SubMenuData("#tags", "Tags");
39 //subMenus.add(data);
40 %>
41
42 <t:componentinstance cssClass="serviceTemplate" selected="ServiceTemplate" subMenus="<%=subMenus%>">
43 </t:componentinstance>