Changeset 324
- Timestamp:
- 04/03/06 16:03:12
- Files:
-
- trunk/calendar3/webclient/src/org/bedework/webclient/BwInitEventAction.java (added)
- trunk/calendar3/webclient/war/WEB-INF/struts-config.xml (modified) (1 diff)
- trunk/calendar3/webcommon/src/org/bedework/webcommon/BwActionFormBase.java (modified) (1 diff)
- trunk/calendar3/webcommon/src/org/bedework/webcommon/EventDates.java (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/webclient/war/WEB-INF/struts-config.xml
r323 r324 242 242 addEvent.jsp page. --> 243 243 <action path="/initEvent" 244 type="org.bedework.webclient.Bw Action"244 type="org.bedework.webclient.BwInitEventAction" 245 245 name="calForm" 246 246 scope="session" trunk/calendar3/webcommon/src/org/bedework/webcommon/BwActionFormBase.java
r300 r324 1927 1927 * ==================================================================== */ 1928 1928 1929 /** Assign event dates based on parameter 1930 * 1931 * @param dt Date object representing date 1932 */ 1933 public void assignEventDates(Date dt) { 1934 getEventDates().setFromDate(dt); 1935 } 1936 1929 1937 /** Return an object containing the dates. 1930 1938 * trunk/calendar3/webcommon/src/org/bedework/webcommon/EventDates.java
r187 r324 63 63 import edu.rpi.sss.util.log.MessageEmit; 64 64 65 import java.util.Date; 66 65 67 /** The dates (and/or duration which define when an event happens. These are 66 68 * stored in objects which allow manipulation of indiviual date and time … … 124 126 err.emit(t); 125 127 } 128 } 129 130 /** We set the time date components from the date. 131 * 132 * <p>If the end date is a date only value it is adjusted backwards by one 133 * day to take account of accepted practice. 134 * 135 * @param val 136 */ 137 public void setFromDate(Date val) { 138 getStartDate().setDateTime(val); 139 getEndDate().setDateTime(val); 126 140 } 127 141
