1 <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
2 <%@ taglib prefix="s" uri="/struts-tags"%>
3 <script language="JavaScript">
5 function checkin (message) {
6 // --------------------------
7 if (confirm(message)) {
8 window.location = "checkin-scenario";
14 =============================================================================================================================
18 <s:text name="title.prop.scenario">
19 <s:param><s:property value="%{title}"/></s:param>
22 <div id=article-body class=text>
24 <!-- Scenario checked-out (not editable)
25 --> <s:if test="%{isCheckedout()}">
29 <s:text name="message.checkedout">
30 <s:param><s:property value="%{author.displayName}"/></s:param>
31 <s:param><s:property value="%{lastModificationDate}"/></s:param>
32 <s:param><s:property value="%{author.firstName}"/></s:param>
36 <tr height=10><td></td></tr>
39 <a href="mailto:<s:property value="author.mailAddress"/>?subject=<s:property value="subject"/>">
40 <input type="button" name="mailto" value="<s:text name="button.mailto"><s:param><s:property value="%{author.firstName}"/></s:param></s:text>"/>
43 <td> <s:text name="label.or"/> </td>
45 <input type="button" name="checkin" value="<s:text name="button.checkin"/>" onClick="checkin('<s:text name="message.checkin"/>')"/>
51 <!-- Scenario ckecked-in (editable)
53 <form name="property" action="valid-rename" method="post">
56 <td><s:text name="field.scenariotitle"/>*: </td>
58 <input type=text size="25" name=title value="<s:property value="title"/>">
61 <input type="submit" name="save" value="<s:text name="button.save"/>"/>