1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
2 pageEncoding="ISO-8859-1"
5 taglib prefix="s" uri="/struts-tags"
7 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8 <% String init = request.getParameter("init");
9 if (init == null) init = "none";
14 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
15 <title><s:text name="name.module"/></title>
16 <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
17 <script language="JavaScript">
19 function initialize (context) {
20 // -----------------------------
21 if (context == "focus") create.elements[0].focus();
26 <body onLoad="initialize('<%=init%>')">
28 =============================================================================================================================
30 <jsp:include page="/jsp/menubar.jsp">
31 <jsp:param name="menu" value="study" />
35 =============================================================================================================================
37 <jsp:include page="/jsp/titlebar.jsp">
38 <jsp:param name="entity" value="study" />
39 <jsp:param name="disable" value="true" />
43 =============================================================================================================================
46 <jsp:include page="/jsp/toolbar.jsp">
47 <jsp:param name="tools" value="none" />
49 <div id=top-spacer></div>
50 <jsp:include page="/jsp/menuitem.jsp">
51 <jsp:param name="menu" value="scenario" />
53 <jsp:include page="/jsp/studyProperties.jsp" />
56 <!-- New scenario properties
57 =============================================================================================================================
61 <div id=section><s:text name="title.newscenario"/></div>
62 <div id=article-body class=text>
63 <form name="create" action="valid-add" method="post">
66 <td><s:text name="field.scenariotitle"/>*: </td>
68 <input type=text size="25" name=title value="<s:property value="title"/>">
72 <td><s:text name="field.scenario"/>*: </td>
74 <s:set var="previous" value="selectedScenarioIndex"/>
75 <select name="selectedScenario" style="width:204px">
76 <s:iterator value="scenarii">
77 <s:if test="%{index == #previous}">
78 <option selected value="<s:property value="index"/>"><s:property value="%{title}"/></option>
80 <option value="<s:property value="index"/>"><s:property value="%{title}"/></option>
91 <td><i><s:text name="message.info.bastep"/></i></td>
94 <td><s:text name="field.activity"/> : </td>
96 <s:if test="sharesStep()">
97 <input type=text size="25" value="<s:text name="menu.step.%{sharedStep}"/>" disabled>
99 <input type=text size="25" disabled>
103 <tr height=10><td></td></tr>
106 <input type="submit" name="cancel" value="<s:text name="button.cancel"/>"/>
109 <input type="submit" name="save" value="<s:text name="button.newscenario"/>"/>