root/trunk/deployment/webadmin/webapp/resources/default/default/errors.xsl

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

Add dojo to deployment process

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='org.bedework.client.error.exc'"><!-- trap exceptions first -->
6         <p>
7           <xsl:choose>
8             <xsl:when test="param='org.bedework.exception.alreadyonadmingrouppath'">
9               Error: a group may not be added to itself.<br/>
10             </xsl:when>
11             <xsl:otherwise>
12               <xsl:value-of select="param"/>
13             </xsl:otherwise>
14           </xsl:choose>
15         </p>
16       </xsl:when>
17       <xsl:when test="id='org.bedework.client.error.noaccess'">
18         <p>Error: no access.</p>
19       </xsl:when>
20       <xsl:when test="id='org.bedework.client.error.missingsubscriptionid'">
21         <p>You must supply a subscription <em>name</em>.</p>
22       </xsl:when>
23       <xsl:when test="id='org.bedework.client.error.nosuchsubscription'">
24         <p>Not found: there is no user identified by the name <em><xsl:value-of select="param"/></em>.</p>
25       </xsl:when>
26       <xsl:when test="id='org.bedework.client.error.viewnotfound'">
27         <p>Not found: there is no view identified by the name <em><xsl:value-of select="param"/></em>.</p>
28       </xsl:when>
29       <xsl:when test="id='org.bedework.client.error.viewnotadded'">
30         <p>Error: the view was not added.</p>
31       </xsl:when>
32       <xsl:when test="id='org.bedework.client.error.nosuchevent'">
33         <p>Not found: there is no event with guid <em><xsl:value-of select="param"/></em>.</p>
34       </xsl:when>
35       <xsl:when test="id='org.bedework.client.error.missingcalendarpath'">
36         <p>Error: missing calendar path.</p>
37       </xsl:when>
38       <xsl:when test="id='org.bedework.client.error.eventnotfound'">
39         <p>Not found: the event was not found.</p>
40       </xsl:when>
41       <xsl:when test="id='org.bedework.client.error.badentityid'">
42         <p>Error: bad entity id.</p>
43       </xsl:when>
44       <xsl:when test="id='org.bedework.client.error.noentityid'">
45         <p>Error: no entity id.</p>
46       </xsl:when>
47       <xsl:when test="id='org.bedework.client.error.nosuchcalendar'">
48         <p>Not found: there is no calendar identified by the path <em><xsl:value-of select="param"/></em>.</p>
49       </xsl:when>
50       <xsl:when test="id='org.bedework.client.error.calendar.referenced'">
51         <p>Cannot delete: the calendar is not empty.</p>
52       </xsl:when>
53       <xsl:when test="id='org.bedework.client.error.unimplemented'">
54         <p>Unimplemented: the feature you are trying to use has not been implemented yet.</p>
55       </xsl:when>
56       <xsl:when test="id='org.bedework.client.error.badhow'">
57         <p>Error: bad ACL request (bad how setting).</p>
58       </xsl:when>
59       <xsl:when test="id='org.bedework.client.error.badwhotype'">
60         <p>Error: bad who type (user or group).</p>
61       </xsl:when>
62       <xsl:when test="id='org.bedework.client.error.badinterval'">
63         <p>Error: bad interval.</p>
64       </xsl:when>
65       <xsl:when test="id='org.bedework.client.error.badintervalunit'">
66         <p>Error: bad interval unit.</p>
67       </xsl:when>
68       <xsl:when test="id='org.bedework.client.error.mail.norecipient'">
69         <p>Error: the email has no recipient.</p>
70       </xsl:when>
71       <xsl:when test="id='org.bedework.client.error.choosegroupsuppressed'">
72         <p>Error: choose group is suppressed.  You cannot perform that action at this time.</p>
73       </xsl:when>
74       <xsl:when test="id='org.bedework.validation.error.toolong.description'">
75         <p>Your description is too long.  Please limit your entry to
76         <em><xsl:value-of select="param"/></em> characters.  You may also wish to
77         point the event entry at a supplimental web page by entering a <em>URL</em>.</p>
78       </xsl:when>
79       <xsl:when test="id='org.bedework.validation.error.notitle'">
80         <p>You must supply a <em>title</em>.</p>
81       </xsl:when>
82       <xsl:when test="id='org.bedework.validation.error.nocalendar'">
83         <p>You must supply the <em>calendar</em>.</p>
84       </xsl:when>
85       <xsl:when test="id='org.bedework.validation.error.nodescription'">
86         <p>You must supply a <em>description</em>.</p>
87       </xsl:when>
88       <xsl:when test="id='org.bedework.validation.error.event.startafterend'">
89         <p>The <em>end date</em> for this event occurs before the <em>start date</em>.</p>
90       </xsl:when>
91       <xsl:when test="id='org.bedework.validation.error.invalid.endtype'">
92         <p>The <em>end date type</em> is invalid for the type of event you are creating.</p>
93       </xsl:when>
94       <xsl:when test="id='org.bedework.validation.error.invalid.duration'">
95         <p><em>Invalid duration</em> - you may not have a zero-length duration
96         for an all day event.</p>
97       </xsl:when>
98       <xsl:when test="id='org.bedework.validation.error.nocontactname'">
99         <p>You must enter a contact <em>name</em>.</p>
100       </xsl:when>
101       <xsl:when test="id='org.bedework.validation.error.nolocationaddress'">
102         <p>You must enter a location <em>address</em>.</p>
103       </xsl:when>
104       <xsl:when test="id='org.bedework.client.error.missingfield'">
105         <p>Your information is incomplete: please supply a <em><xsl:value-of select="param"/></em>.</p>
106       </xsl:when>
107       <xsl:when test="id='org.bedework.validation.error.missingfield'">
108         <p>Your information is incomplete: please supply a <em><xsl:value-of select="param"/></em>.</p>
109       </xsl:when>
110       <xsl:when test="id='org.bedework.validation.error.forbidden.calmode'">
111         <p>Access forbidden: you are not allowed to perform that action on calendar <em><xsl:value-of select="param"/></em>.</p>
112       </xsl:when>
113       <xsl:when test="id='org.bedework.client.error.missingcategory'">
114         <p>Error: the category identified by <em><xsl:value-of select="param"/></em> is missing.</p>
115       </xsl:when>
116       <xsl:when test="id='org.bedework.client.error.nosuchcategorynosuchcategory'">
117         <p>Not found: there is no category identified by the key <em><xsl:value-of select="param"/></em>.</p>
118       </xsl:when>
119       <xsl:when test="id='org.bedework.client.error.category.referenced'">
120         <p>Cannot delete: the category is referenced by events.</p>
121       </xsl:when>
122       <xsl:when test="id='org.bedework.pubevents.error.badfield'">
123         <p>Please correct your data input for <em><xsl:value-of select="param"/></em>.</p>
124       </xsl:when>
125       <xsl:when test="id='org.bedework.client.error.nosuchcontact'">
126         <p>Not found: there is no contact <em><xsl:value-of select="param"/></em>.</p>
127       </xsl:when>
128       <xsl:when test="id='org.bedework.client.error.contact.referenced'">
129         <p>Cannot delete: the contact is referenced by events.</p>
130       </xsl:when>
131       <xsl:when test="id='org.bedework.client.error.contact.alreadyexists'">
132         <p>Cannot add: the contact already exists.</p>
133       </xsl:when>
134       <xsl:when test="id='org.bedework.client.error.duplicate.contact'">
135         <p>Cannot add: the contact already exists.</p>
136       </xsl:when>
137       <xsl:when test="id='org.bedework.client.error.nosuchlocation'">
138         <p>Not found: there is no location identified by the id <em><xsl:value-of select="param"/></em>.</p>
139       </xsl:when>
140       <xsl:when test="id='org.bedework.client.error.location.alreadyexists'">
141         <p>Cannot add: the location already exists.</p>
142       </xsl:when>
143       <xsl:when test="id='org.bedework.client.error.location.referenced'">
144         <p>Cannot delete: the location is referenced by events.</p>
145       </xsl:when>
146       <xsl:when test="id='org.bedework.client.error.subscription.reffed'">
147         <p>Cannot delete: the subscription is included in view <em><xsl:value-of select="param"/></em>.<br/>
148         You must remove the subscription from this view before deleting.</p>
149       </xsl:when>
150       <xsl:when test="id='org.bedework.client.error.calsuitenotadded'">
151         <p>Error: calendar suite not added.</p>
152       </xsl:when>
153       <xsl:when test="id='org.bedework.error.timezones.readerror'">
154         <p>Timzone error: could not read file.</p>
155       </xsl:when>
156       <xsl:when test="id='org.bedework.client.error.nosuchuserid'">
157         <p>Not found: there is no user identified by the id <em><xsl:value-of select="param"/></em>.</p>
158       </xsl:when>
159       <xsl:when test="id='org.bedework.client.error.usernotfound'">
160         <p>Not found: the user <em><xsl:value-of select="param"/></em> was not found.</p>
161       </xsl:when>
162       <xsl:when test="id='org.bedework.error.duplicate.admingroup'">
163         <p>Error: duplicate admin group.  <em><xsl:value-of select="param"/></em> already exists.</p>
164       </xsl:when>
165       <xsl:when test="id='org.bedework.client.error.nosuchadmingroup'">
166         <p>Error: no such admin group "<em><xsl:value-of select="param"/></em>".</p>
167       </xsl:when>
168       <xsl:when test="id='org.bedework.error.unknowgroup'">
169         <p>Error: unknown admin group:  <em><xsl:value-of select="param"/></em>.</p>
170       </xsl:when>
171       <xsl:when test="id='org.bedework.exception.alreadyonadmingrouppath'">
172         <p>Error: group may not be added to itself.</p>
173       </xsl:when>
174       <xsl:when test="id='edu.rpi.sss.util.error.exc'">
175         <p>An exception occurred: <em><xsl:value-of select="param"/></em></p>
176       </xsl:when>
177       <xsl:otherwise>
178         <p><xsl:value-of select="id"/> = <xsl:value-of select="param"/></p>
179       </xsl:otherwise>
180     </xsl:choose>
181   </xsl:template>
182 </xsl:stylesheet>
183
Note: See TracBrowser for help on using the browser.