root/trunk/calendar3/webclient/war/docs/alarmOptions.jsp

Revision 297 (checked in by douglm, 7 years ago)

Fixes to personal client.
Use ArrayList? instead of Vector

Line 
1 <%@ taglib uri='struts-bean' prefix='bean' %>
2 <%@ taglib uri='struts-logic' prefix='logic' %>
3 <%@ taglib uri='struts-html' prefix='html' %>
4 <%@ taglib uri='struts-genurl' prefix='genurl' %>
5 <html:xhtml/>
6
7 <%@ include file="header.jsp" %>
8
9 <%
10 try {
11 %>
12
13 <page>alarmOptions</page>
14
15 <alarmoptionsform>
16   <genurl:form action="setAlarm">
17     <alarmdate>
18       <html:select property="triggerDateTime.month">
19        <html:options labelProperty="triggerDateTime.monthLabels"
20                       property="triggerDateTime.monthVals"/>
21       </html:select>
22       <html:select property="triggerDateTime.day">
23         <html:options labelProperty="triggerDateTime.dayLabels"
24                       property="triggerDateTime.dayVals"/>
25       </html:select>
26       <html:select property="triggerDateTime.year">
27         <html:options property="yearVals"/>
28       </html:select>
29     </alarmdate>
30     <alarmtime>
31       <html:select property="triggerDateTime.hour">
32         <html:options labelProperty="triggerDateTime.hourLabels"
33                       property="triggerDateTime.hourVals"/>
34       </html:select>
35       <html:select property="triggerDateTime.minute">
36         <html:options labelProperty="triggerDateTime.minuteLabels"
37                       property="triggerDateTime.minuteVals"/>
38       </html:select>
39       <logic:notEqual name="calForm" property="hour24" value="true" >
40         <html:select property="triggerDateTime.ampm">
41           <html:options property="triggerDateTime.ampmLabels"/>
42         </html:select>
43       </logic:notEqual>
44     </alarmtime>
45     <alarmTriggerSelectorDate>
46       <html:radio name="calForm" property="alarmTriggerByDate"
47                    value="true" />
48     </alarmTriggerSelectorDate>
49     <alarmTriggerSelectorDuration>
50       <html:radio name="calForm" property="alarmTriggerByDate"
51                       value="false" />
52     </alarmTriggerSelectorDuration>
53     <alarmduration>
54       <days><html:text size="5" maxlength="5" name="calForm" property="triggerDuration.daysStr"/></days>
55       <hours><html:text size="3" maxlength="3" name="calForm" property="triggerDuration.hoursStr"/></hours>
56       <minutes><html:text size="3" maxlength="3" name="calForm" property="triggerDuration.minutesStr"/></minutes>
57       <seconds><html:text size="3" maxlength="3" name="calForm" property="triggerDuration.secondsStr"/></seconds>
58       <weeks><html:text size="3" maxlength="3" name="calForm" property="triggerDuration.weeksStr"/></weeks>
59     </alarmduration>
60     <alarmDurationBefore>
61       <html:radio name="calForm" property="triggerDuration.negative"
62                       value="true" />
63     </alarmDurationBefore>
64     <alarmDurationAfter>
65       <html:radio name="calForm" property="triggerDuration.negative"
66                       value="false" />
67     </alarmDurationAfter>
68     <alarmDurationRelStart>
69       <html:radio name="calForm" property="alarmRelStart"
70                       value="true" />
71     </alarmDurationRelStart>
72     <alarmDurationRelEnd>
73       <html:radio name="calForm" property="alarmRelStart"
74                       value="false" />
75     </alarmDurationRelEnd>
76     <email><html:text name="calForm" property="lastEmail"/></email>
77     <subject><html:text name="calForm" property="lastSubject" /></subject>
78   </genurl:form>
79 </alarmoptionsform>
80
81 <%
82 } catch (Throwable t) {
83   t.printStackTrace();
84 }
85 %>
86
87 <%@ include file="footer.jsp" %>
88
Note: See TracBrowser for help on using the browser.