Changeset 1649
- Timestamp:
- 09/07/11 09:39:51 (8 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/rapla/plugin/autoexport/CalendarListPageGenerator.java
r1504 r1649 38 38 import org.rapla.servletpages.RaplaPageGenerator; 39 39 40 /******* USAGE: ************ 41 * ReadOnly calendarview view. 42 * You will need the autoexport plugin to create a calendarview-view. 43 * 44 * Call: 45 * rapla?page=calendar&user=<username>&file=<export_name> 46 * 47 * Optional Parameters: 48 * 49 * &hide_nav: will hide the navigation bar. 50 * &day=<day>: int-value of the day of month that should be displayed 51 * &month=<month>: int-value of the month 52 * &year=<year>: int-value of the year 53 * &today: will set the view to the current day. Ignores day, month and year 54 * @throws IOException 55 * @throws ServletException 56 * @throws Exception 57 * @throws RaplaException 58 */ 40 59 41 public class CalendarListPageGenerator extends RaplaComponent implements RaplaPageGenerator 60 42 { … … 71 53 { 72 54 String username = request.getParameter( "user" ); 55 response.setContentType("text/html; charset=" + getRaplaLocale().getCharsetNonUtf() ); 73 56 java.io.PrintWriter out = response.getWriter(); 74 75 57 User[] users = getQuery().getUsers(); 76 58 Set<User> sortedUsers =new TreeSet( Arrays.asList( users));
![(please configure the [header_logo] section in trac.ini)](/chrome/site/rapla.jpg)