2 /*******************************************************************************
3 * Copyright (c) 2012-2013 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
11 * Oliver Kopp - initial API and implementation and/or initial documentation
12 *******************************************************************************/
14 <!-- basic idea by http://stackoverflow.com/a/3257426/873282 -->
15 <%@tag description="submenu" pageEncoding="UTF-8"%>
17 <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
19 <%@attribute name="subMenuData" required="true" type="org.eclipse.winery.repository.resources.SubMenuData"%>
20 <%@attribute name="selected" required="true"%>
22 <a href="${subMenuData.href}" class="styledTabMenuButton styledTabMenuButton2ndlevel<c:if test="${selected}"> selected</c:if>">
23 <div class="left"></div>
24 <div class="center">${subMenuData.text}</div>
25 <div class="right"></div>