1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
2 <%@ taglib prefix="s" uri="/struts-tags"%>
3 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
8 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
9 <title><s:text name="name.module"/></title>
10 <link href=<s:url value="/skin/default.css"/> rel="stylesheet" type="text/css">
11 <script language="JavaScript">
13 function initialize (context) {
14 // -----------------------------
15 if (context == "focus") create.elements[0].focus();
20 <body onLoad="initialize(#actionType)">
22 <!-- New scenario properties
23 =============================================================================================================================
27 <div id=section><s:text name="title.newscenario"/></div>
28 <div id=article-body class=text>
29 <form name="create" action="valid-add" method="post">
32 <td><s:text name="field.scenariotitle"/>*: </td>
34 <input type=text size="25" name=title value="<s:property value="title"/>">
38 <td><s:text name="field.scenario"/>*: </td>
40 <s:set var="previous" value="selectedScenarioIndex"/>
41 <select name="selectedScenario" style="width:204px">
42 <s:iterator value="scenarii">
43 <s:if test="%{index == #previous}">
44 <option selected value="<s:property value="index"/>"><s:property value="%{title}"/></option>
46 <option value="<s:property value="index"/>"><s:property value="%{title}"/></option>
57 <td><i><s:text name="message.info.bastep"/></i></td>
60 <td><s:text name="field.activity"/> : </td>
62 <s:if test="sharesStep()">
63 <input type=text size="25" value="<s:text name="menu.step.%{sharedStep}"/>" disabled>
65 <input type=text size="25" disabled>
69 <tr height=10><td></td></tr>
72 <input type="submit" name="cancel" value="<s:text name="button.cancel"/>"/>
75 <input type="submit" name="save" value="<s:text name="button.newscenario"/>"/>