2 /*******************************************************************************
3 * Copyright (c) 2014 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 *******************************************************************************/
15 <%@tag pageEncoding="UTF-8"%>
17 <%@attribute name="XShort" description="The X to browse for. Short form. E.g., Req, Cap, ..." required="true" %>
18 <%@attribute name="XLong" description="The X to browse for. Long form. E.g., Requirement, Capability, ..." required="true" %>
21 <%-- Browse for property --%>
22 <div class="modal fade z1051" id="browseFor${XShort}Diag">
23 <div class="modal-dialog" style="width:1000px;">
24 <div class="modal-content">
25 <div class="modal-header">
26 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
27 <h4 class="modal-title">Choose a ${XLong}</h4>
30 <div class="modal-body">
31 <p class="text-info">Please click on the desired ${XLong}</p>
32 <iframe id="topologyTemplatePreview" class="topologyTemplatePreviewSizing" src="topologytemplate/?view=${XShort}Selection&script=${pageContext.request.contextPath}/js/boundaryDefinitionsXSelection.js"></iframe>
35 <div class="form-group">
36 <label for="${XShort}RefeferenceField">Reference to the ${XLong} in the topology template</label>
37 <input type="text" id="${XShort}ReferenceField" class="form-control newObjectRef" />
43 <div class="modal-footer">
44 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
45 <button type="button" class="btn btn-primary" onclick="set${XShort}Ref();">Set</button>