Changeset 455
- Timestamp:
- 05/05/06 11:10:02
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/webclient/war/WEB-INF/struts-config.xml
r454 r455 684 684 scope="session" 685 685 validate="false"> 686 <forward name="notFound" path="/ admin/showMain.rdo" redirect="true" />686 <forward name="notFound" path="/showMain.rdo" redirect="true" /> 687 687 <forward name="success" path="/prefs/showModForm.rdo" redirect="true" /> 688 688 </action> … … 693 693 scope="session" 694 694 validate="false"> 695 <forward name="cancelled" path="/ admin/showMain.rdo" redirect="true" />695 <forward name="cancelled" path="/showMain.rdo" redirect="true" /> 696 696 <forward name="retry" path="/prefs/showModForm.rdo" /> 697 <forward name="success" path="/admin/showMain.rdo" redirect="true" /> 697 <forward name="notFound" path="/prefs/showModForm.rdo" /> 698 <forward name="success" path="/showMain.rdo" redirect="true" /> 698 699 </action> 699 700 trunk/calendar3/webcommon/src/org/bedework/webcommon/pref/UpdatePrefsAction.java
r449 r455 55 55 package org.bedework.webcommon.pref; 56 56 57 import org.bedework.calfacade.BwCalendar; 57 58 import org.bedework.calfacade.BwUser; 58 59 import org.bedework.calfacade.svc.BwPreferences; … … 69 70 * <p>Parameters are:<ul> 70 71 * <li>"user" User whos prefs we're changing - superuser only</li> 71 * <li>" view"Name of preferred view</li>72 * <li>"preferredView" Name of preferred view</li> 72 73 * <li>"viewPeriod" day/week/month/year</li> 73 74 * <li>"skin" Name of default skin</li> … … 77 78 * <li>"calPath" Path to default calendar</li> 78 79 * <li>"userMode" User interface mode</li> 79 * <li>"workDays" 7-character string representing workdays, "W" representing each workday, space otherwise; e.g. " WWWWW " is a typical Mon-Fri workweek</li> 80 * <li>"workDays" 7-character string representing workdays, 81 * "W" representing each workday, space otherwise; 82 * e.g. " WWWWW " is a typical Mon-Fri workweek</li> 80 83 * <li>"workDayStart" In minutes, e.g. e.g. 14:30 is 870 and 17:30 is 1050</li> 81 84 * <li>"workDayEnd" In minutes</li> … … 147 150 } 148 151 152 str = getReqPar(request, "email"); 153 if (str != null) { 154 prefs.setEmail(str); 155 } 156 157 /* 158 str = getReqPar(request, "calPath"); 159 if (str != null) { 160 BwCalendar cal = svc.getCalendar(str); 161 if (cal == null) { 162 form.getErr().emit("org.bedework.client.error.nosuchcalendar", str); 163 return "notFound"; 164 } 165 prefs.setDefaultCalendar(cal); 166 } 167 */ 168 149 169 svc.updateUserPrefs(prefs); 150 170 form.getMsg().emit("org.bedework.client.message.prefs.updated");
