root/trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/errors.xsl

Revision 298 (checked in by douglm, 7 years ago)

Improve personal calendar upload error reporting
Handle TRANSP in ical
Add System properties to enable Microsoft tolerant parsing in ical

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3   <xsl:template match="error">
4     <xsl:choose>
5       <xsl:when test="id='edu.rpi.sss.util.error.exc'">
6           An exception occurred: <xsl:value-of select="param"/>
7       </xsl:when>
8       <xsl:when test="id='org.bedework.error.exc'">
9           An exception occurred: <xsl:value-of select="param"/>
10       </xsl:when>
11       <xsl:when test="id='org.bedework.error.nosuchevent'">
12           Event <xsl:value-of select="param"/> does not exist.
13       </xsl:when>
14       <xsl:when test="id='org.bedework.error.baddates'">
15           Improperly formatted date(s): <xsl:value-of select="param"/>
16       </xsl:when>
17       <xsl:when test="id='org.bedework.error.noaccess'">
18           You have insufficient access <xsl:value-of select="param"/>
19       </xsl:when>
20       <xsl:when test="id='org.bedework.error.notitle'">
21           Please supply a title for your event (required).
22       </xsl:when>
23       <xsl:when test="id='org.bedework.error.location.referenced'">
24           Location is in use.  It cannot be deleted while referenced by an event.
25       </xsl:when>
26       <xsl:when test="id='org.bedework.error.mail.norecipient'">
27           You must supply a recipient.
28       </xsl:when>
29       <xsl:when test="id='org.bedework.error.unknown.timezone'">
30           Unknown timezone <xsl:value-of select="param"/>
31       </xsl:when>
32       <xsl:otherwise>
33         <xsl:value-of select="id"/> = <xsl:value-of select="param"/>
34       </xsl:otherwise>
35     </xsl:choose>
36   </xsl:template>
37 </xsl:stylesheet>
38
Note: See TracBrowser for help on using the browser.