Changeset 249
- Timestamp:
- 03/02/06 16:10:55
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/calFacade/src/org/bedework/calfacade/BwCalendar.java
r161 r249 68 68 * if this is intended to hold a collection of calendar objects. 69 69 * 70 * @author Mike Douglass douglm @rpi.edu70 * @author Mike Douglass douglm @ rpi.edu 71 71 * @version 1.0 72 72 */ trunk/calendar3/common/src/edu/rpi/sss/util/jsp/ErrorEmitSvlt.java
r2 r249 396 396 397 397 protected void debugMsg(String pname, String ptype, String pval) { 398 debugOut("E rror emitted: property=" + pname +398 debugOut("Emitted: property=" + pname + 399 399 " ptype=" + ptype + 400 400 " val(s)=" + pval); trunk/calendar3/webcommon/src/org/bedework/webcommon/BwActionFormBase.java
r191 r249 88 88 import net.fortuna.ical4j.model.Calendar; 89 89 90 import java.text.Collator; 90 91 import java.util.Collection; 91 92 import java.util.HashMap; 93 import java.util.Iterator; 94 import java.util.TreeMap; 92 95 import java.util.Vector; 93 96 import javax.servlet.http.HttpServletRequest; … … 105 108 private CalEnv env; 106 109 110 // XXX locale - needs to be changed when locale changes 111 private Collator listCollator = Collator.getInstance(); 112 107 113 /* This should be a cloned copy only */ 108 114 private BwSystem syspars; … … 1029 1035 val = Util.checkNull(val); 1030 1036 if (val != null) { 1031 Integer i = (Integer)viewTypeMap.get(v iewType);1037 Integer i = (Integer)viewTypeMap.get(val); 1032 1038 1033 1039 if (i != null) { … … 1431 1437 public Collection getAddContentCalendarCollections() { 1432 1438 try { 1433 return fetchSvci().getAddContentCalendarCollections(); 1439 TreeMap tm = new TreeMap(listCollator); 1440 1441 Iterator it = fetchSvci().getAddContentCalendarCollections().iterator(); 1442 1443 while (it.hasNext()) { 1444 BwCalendar cal = (BwCalendar)it.next(); 1445 tm.put(cal.getName(), cal); 1446 } 1447 1448 return tm.values(); 1449 // return fetchSvci().getAddContentCalendarCollections(); 1434 1450 } catch (Throwable t) { 1435 1451 err.emit(t);
