| 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="/docs/header.jsp" %> |
|---|
| 8 |
|
|---|
| 9 |
<% |
|---|
| 10 |
try { |
|---|
| 11 |
%> |
|---|
| 12 |
|
|---|
| 13 |
<page>editEvent</page> |
|---|
| 14 |
<formElements> |
|---|
| 15 |
<subscriptionId></subscriptionId> |
|---|
| 16 |
<calendarId><bean:write name="calForm" property="editEvent.calendar.id"/></calendarId> |
|---|
| 17 |
<guid><bean:write name="calForm" property="editEvent.guid"/></guid> |
|---|
| 18 |
<recurrenceId><bean:write name="calForm" property="editEvent.recurrence.recurrenceId"/></recurrenceId> |
|---|
| 19 |
|
|---|
| 20 |
<genurl:form action="editEvent"> |
|---|
| 21 |
<title> |
|---|
| 22 |
<html:text property="editEvent.summary"/> |
|---|
| 23 |
</title> |
|---|
| 24 |
<allDay><html:checkbox property="eventStartDate.dateOnly"/></allDay> |
|---|
| 25 |
<start> |
|---|
| 26 |
<month> |
|---|
| 27 |
<html:select property="eventStartDate.month"> |
|---|
| 28 |
<html:options labelProperty="eventStartDate.monthLabels" |
|---|
| 29 |
property="eventStartDate.monthVals"/> |
|---|
| 30 |
</html:select> |
|---|
| 31 |
</month> |
|---|
| 32 |
<day> |
|---|
| 33 |
<html:select property="eventStartDate.day"> |
|---|
| 34 |
<html:options labelProperty="eventStartDate.dayLabels" |
|---|
| 35 |
property="eventStartDate.dayVals"/> |
|---|
| 36 |
</html:select> |
|---|
| 37 |
</day> |
|---|
| 38 |
<year> |
|---|
| 39 |
<html:select property="eventStartDate.year"> |
|---|
| 40 |
<html:options property="yearVals"/> |
|---|
| 41 |
</html:select> |
|---|
| 42 |
</year> |
|---|
| 43 |
<yearText> |
|---|
| 44 |
<html:text property="eventStartDate.year" size="4"/> |
|---|
| 45 |
</yearText> |
|---|
| 46 |
<hour> |
|---|
| 47 |
<html:select property="eventStartDate.hour"> |
|---|
| 48 |
<html:options labelProperty="eventStartDate.hourLabels" |
|---|
| 49 |
property="eventStartDate.hourVals"/> |
|---|
| 50 |
</html:select> |
|---|
| 51 |
</hour> |
|---|
| 52 |
<minute> |
|---|
| 53 |
<html:select property="eventStartDate.minute"> |
|---|
| 54 |
<html:options labelProperty="eventStartDate.minuteLabels" |
|---|
| 55 |
property="eventStartDate.minuteVals"/> |
|---|
| 56 |
</html:select> |
|---|
| 57 |
</minute> |
|---|
| 58 |
<logic:notEqual name="calForm" property="hour24" value="true" > |
|---|
| 59 |
<ampm> |
|---|
| 60 |
<html:select property="eventStartDate.ampm"> |
|---|
| 61 |
<html:options property="eventStartDate.ampmLabels"/> |
|---|
| 62 |
</html:select> |
|---|
| 63 |
</ampm> |
|---|
| 64 |
</logic:notEqual> |
|---|
| 65 |
</start> |
|---|
| 66 |
<end> |
|---|
| 67 |
<type><bean:write name="calForm" property="eventEndType"/></type> |
|---|
| 68 |
<dateTime> |
|---|
| 69 |
<month> |
|---|
| 70 |
<html:select property="eventEndDate.month"> |
|---|
| 71 |
<html:options labelProperty="eventEndDate.monthLabels" |
|---|
| 72 |
property="eventEndDate.monthVals"/> |
|---|
| 73 |
</html:select> |
|---|
| 74 |
</month> |
|---|
| 75 |
<day> |
|---|
| 76 |
<html:select property="eventEndDate.day"> |
|---|
| 77 |
<html:options labelProperty="eventEndDate.dayLabels" |
|---|
| 78 |
property="eventEndDate.dayVals"/> |
|---|
| 79 |
</html:select> |
|---|
| 80 |
</day> |
|---|
| 81 |
<year> |
|---|
| 82 |
<html:select property="eventEndDate.year"> |
|---|
| 83 |
<html:options property="yearVals"/> |
|---|
| 84 |
</html:select> |
|---|
| 85 |
</year> |
|---|
| 86 |
<yearText> |
|---|
| 87 |
<html:text property="eventEndDate.year" size="4"/> |
|---|
| 88 |
</yearText> |
|---|
| 89 |
<hour> |
|---|
| 90 |
<html:select property="eventEndDate.hour"> |
|---|
| 91 |
<html:options labelProperty="eventEndDate.hourLabels" |
|---|
| 92 |
property="eventEndDate.hourVals"/> |
|---|
| 93 |
</html:select> |
|---|
| 94 |
</hour> |
|---|
| 95 |
<minute> |
|---|
| 96 |
<html:select property="eventEndDate.minute"> |
|---|
| 97 |
<html:options labelProperty="eventEndDate.minuteLabels" |
|---|
| 98 |
property="eventEndDate.minuteVals"/> |
|---|
| 99 |
</html:select> |
|---|
| 100 |
</minute> |
|---|
| 101 |
<ampm> |
|---|
| 102 |
<logic:notEqual name="calForm" property="hour24" value="true" > |
|---|
| 103 |
<html:select property="eventEndDate.ampm"> |
|---|
| 104 |
<html:options property="eventEndDate.ampmLabels"/> |
|---|
| 105 |
</html:select> |
|---|
| 106 |
</logic:notEqual> |
|---|
| 107 |
</ampm> |
|---|
| 108 |
</dateTime> |
|---|
| 109 |
<duration> |
|---|
| 110 |
<days><html:text property="eventDuration.daysStr" size="2" /></days> |
|---|
| 111 |
<hours><html:text property="eventDuration.hoursStr" size="2" /></hours> |
|---|
| 112 |
<minutes><html:text property="eventDuration.minutesStr" size="2" /></minutes> |
|---|
| 113 |
<weeks><html:text property="eventDuration.weeksStr" size="2" /></weeks> |
|---|
| 114 |
</duration> |
|---|
| 115 |
</end> |
|---|
| 116 |
<desc><html:textarea property="editEvent.description"></html:textarea></desc> |
|---|
| 117 |
<status><bean:write name="calForm" property="editEvent.status"/></status> |
|---|
| 118 |
<link><html:text property="editEvent.link"/></link> |
|---|
| 119 |
<location> |
|---|
| 120 |
<locationmenu> |
|---|
| 121 |
<html:select property="eventLocationId"> |
|---|
| 122 |
<html:optionsCollection property="locations" |
|---|
| 123 |
label="address" |
|---|
| 124 |
value="id"/> |
|---|
| 125 |
</html:select> |
|---|
| 126 |
</locationmenu> |
|---|
| 127 |
<locationtext><html:text property="laddress" /></locationtext> |
|---|
| 128 |
</location> |
|---|
| 129 |
</genurl:form> |
|---|
| 130 |
</formElements> |
|---|
| 131 |
|
|---|
| 132 |
<% |
|---|
| 133 |
} catch (Throwable t) { |
|---|
| 134 |
t.printStackTrace(); |
|---|
| 135 |
} |
|---|
| 136 |
%> |
|---|
| 137 |
|
|---|
| 138 |
<%@ include file="/docs/footer.jsp" %> |
|---|
| 139 |
|
|---|