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

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

Initial import of bedework

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