]> <%@ page contentType="text/xml;charset=UTF-8" language="java" %> <%@ taglib uri='struts-bean' prefix='bean' %> <%@ taglib uri='struts-logic' prefix='logic' %> <%@ taglib uri='struts-genurl' prefix='genurl' %> <% try { %> <%-- The actual date right "now" - this may not be the same as currentdate --%> <%-- Value: YYYYMMDD --%> <%-- Value (example): February 8, 2004 - long representation of the date --%> <%-- Value (example): 2/8/04 - short representation of the date --%> <%-- Value (example): 10:15 PM --%> <%-- The current user-selected date --%> <%-- Value: yyyymmdd - date value --%> <%-- Value (example): Wednesday, February 11, 2004 --%> <%-- Value (example): 2/8/04 - short representation of the date --%> <%-- Value (example): January - full month name --%> <%-- The first date appearing in the currently selected time period --%> <%-- Value: yyyymmdd - date value --%> <%-- Value (example): Wednesday, February 11, 2004 --%> <%-- Value (example): 2/8/04 - short representation of the date --%> <%-- Value (example): January - full month name --%> <%-- The last date appearing in the currently selected time period --%> <%-- Value: yyyymmdd - date value --%> <%-- Value (example): Wednesday, February 11, 2004 --%> <%-- Value (example): 2/8/04 - short representation of the date --%> <%-- Value (example): January - full month name --%> <%-- Value: YYYYMMDD - The previous "firstdate" in the selected time period --%> <%-- Value: YYYYMMDD - The next "firstdate" in the selected time period --%> <%-- Values: Day, Week, Month, Year - The current time period name. --%> <%-- Values: true, false - Flag if we are viewing multiple days --%> <%-- Values: true, false - Flag if we are using 24 hour time --%> <%-- Values: true, false - Flag if we are in the guest (public) view --%> <%-- Value: true, false - Flag if we are a guest --%> <%-- Value: string - Userid of non-guest user --%> <%-- Value: URI - the location of web resources used by the code to find the XSLT files. This element is defined prior to build in ../../../../clones/democal.properties as pubevents.app.root and personal.app.root. Note that references to html web resources such as images are set in the xsl stylesheets. --%> <%-- Value: URI - this is prefix of the calendar application. e.g. http://localhost:8080/cal Use this value to prefix calls to the application actions in your XSLT. e.g. View Event --%> <%-- render urls --%> <%-- action urls --%> <%-- actionUrlPrefixes are used to generate appropriately encoded urls for calls into the application; these are required for use within portals --%> <%-- Value: String - a 16 character random string used to allow users to confirm additions to thier private calendar --%> <%-- Application variables can be set arbitrarily by the stylesheet designer. Use an "appvar" by adding setappvar=key(value) to the query string of a URL. This feature is useful for setting up state during a user's session. e.g. View Event To change the value of an appvar, call the same key with a different value. e.g. Return Home If appvars exist, they will be output in the following form: --%> <%-- This is a special use of the appvar feature. Normally, we don't return all details about events except when we display a single event (to keep the XML lighter). To return all event details in an events listing, append a query string with setappvar=summaryMode(details). Turn the detailed view off with setappvar=summaryMode(summary).--%> <%-- Send this bean to the request scope so we can test for it on the page that builds the calendar tree (main.jsp) --%> <%-- What type of information have we selected to display? Used to branch between different templates in the xsl based on user selections. --%> <%-- Value: view,search,calendar,subscription,filter Used to branch into different presentation depending on the type of output we expect --%> <%-- Value: string - Name of selected view for display --%> <%-- Value: string - String ID of selected view for display --%> All<%-- change: this should be the default not "All" --%> -1 <%-- Value: string - Current search string for display Note: this will change when proper searching is implemented --%> <%-- Value: string - currently selected subscription ("calendar" too) --%> <%-- unimplemented --%> <% } catch (Throwable t) { t.printStackTrace(); } %>