Changeset 1678
- Timestamp:
- 12/18/07 12:31:54
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/config/configs/democal.options.xml
r1675 r1678 166 166 167 167 <!-- Default value for 24 hour mode --> 168 <hour24> false</hour24>168 <hour24>true</hour24> 169 169 170 170 <!-- Default value for minute increments --> … … 279 279 User CalDAV server UserCalDAV 280 280 ================================================================== --> 281 <User CalDAVclassname="org.bedework.calfacade.configs.CalDAVConfig">281 <Usercaldav classname="org.bedework.calfacade.configs.CalDAVConfig"> 282 282 <!-- Comment out or delete for no real time server to server service 283 283 Currently under development and may present a security risk in … … 287 287 <!-- Comment out or delete for no freebusy url service --> 288 288 <fburlServiceURI>/fbsvc</fburlServiceURI> 289 </User CalDAV>289 </Usercaldav> 290 290 291 291 <!-- ================================================================== 292 292 Public (unauthenticated) CalDAV server PublicCalDAV 293 293 ================================================================== --> 294 <Pub licCalDAVclassname="org.bedework.calfacade.configs.CalDAVConfig">294 <Pubcaldav classname="org.bedework.calfacade.configs.CalDAVConfig"> 295 295 <!-- Comment out or delete for no real time server to server service 296 296 Currently under development and may present a security risk in … … 300 300 <!-- Comment out or delete for no freebusy url service --> 301 301 <fburlServiceURI>/fbsvc</fburlServiceURI> 302 </Pub licCalDAV>302 </Pubcaldav> 303 303 304 304 <!-- ================================================================== trunk/deployment/webconfig/webapp/resources/default/default/default.xsl
r1675 r1678 7 7 <!-- ==================================================================== --> 8 8 <xsl:output method="xhtml" indent="yes" media-type="text/html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" standalone="yes" omit-xml-declaration="yes"/> 9 <xsl:variable name="appRoot" select="/bedework config/appRoot"/>10 <xsl:variable name="urlPrefix" select="/bedework config/urlPrefix"/>9 <xsl:variable name="appRoot" select="/bedework/appRoot"/> 10 <xsl:variable name="urlPrefix" select="/bedework/urlPrefix"/> 11 11 12 12 <xsl:variable name="firstView">welcome</xsl:variable> 13 <xsl:variable name="lastView" select="/bedework config/propertyGroups/form/propertyGroup[position()=last()]/@name"/>13 <xsl:variable name="lastView" select="/bedework/propertyGroups/form/propertyGroup[position()=last()]/@name"/> 14 14 <xsl:variable name="currentView"> 15 15 <xsl:choose> 16 <xsl:when test="/bedework config/appvar/key='setView'"><xsl:value-of select="/bedeworkconfig/appvar[key='setView']/value"/></xsl:when>16 <xsl:when test="/bedework/appvar/key='setView'"><xsl:value-of select="/bedework/appvar[key='setView']/value"/></xsl:when> 17 17 <xsl:otherwise><xsl:value-of select="$firstView"/></xsl:otherwise> 18 18 </xsl:choose> … … 21 21 <xsl:choose> 22 22 <xsl:when test="$currentView = $firstView">0</xsl:when> 23 <xsl:otherwise><xsl:for-each select="/bedework config/propertyGroups/form/propertyGroup[@name=$currentView]"><xsl:number/></xsl:for-each></xsl:otherwise>23 <xsl:otherwise><xsl:for-each select="/bedework/propertyGroups/form/propertyGroup[@name=$currentView]"><xsl:number/></xsl:for-each></xsl:otherwise> 24 24 </xsl:choose> 25 25 </xsl:variable> … … 27 27 <xsl:choose> 28 28 <xsl:when test="$currentView = $firstView">$currentView</xsl:when> 29 <xsl:otherwise><xsl:value-of select="/bedework config/propertyGroups/form/propertyGroup[position()=number($currentViewPos)-1]/@name"/></xsl:otherwise>29 <xsl:otherwise><xsl:value-of select="/bedework/propertyGroups/form/propertyGroup[position()=number($currentViewPos)-1]/@name"/></xsl:otherwise> 30 30 </xsl:choose> 31 31 </xsl:variable> … … 33 33 <xsl:choose> 34 34 <xsl:when test="$currentView = $lastView">$currentView</xsl:when> 35 <xsl:otherwise><xsl:value-of select="/bedework config/propertyGroups/form/propertyGroup[position()=number($currentViewPos)+1]/@name"/></xsl:otherwise>35 <xsl:otherwise><xsl:value-of select="/bedework/propertyGroups/form/propertyGroup[position()=number($currentViewPos)+1]/@name"/></xsl:otherwise> 36 36 </xsl:choose> 37 37 </xsl:variable> … … 78 78 </div> 79 79 </div> 80 <xsl:if test="/bedework config/message">80 <xsl:if test="/bedework/message"> 81 81 <div id="messages"> 82 <xsl:apply-templates select="/bedework config/message"/>82 <xsl:apply-templates select="/bedework/message"/> 83 83 </div> 84 84 </xsl:if> 85 <xsl:if test="/bedework config/error">85 <xsl:if test="/bedework/error"> 86 86 <div id="errors"> 87 <xsl:apply-templates select="/bedework config/error"/>87 <xsl:apply-templates select="/bedework/error"/> 88 88 </div> 89 89 </xsl:if> 90 90 <div id="content"> 91 91 <xsl:choose> 92 <xsl:when test="/bedework config/page='main'">92 <xsl:when test="/bedework/page='main'"> 93 93 <form action="save.do" method="POST" enctype="multipart/form-data" name="propsForm"> 94 94 <div id="buttonMenuTop"> … … 118 118 <select name="setappvar" onchange="submit()"> 119 119 <option value="setView(welcome)">welcome</option> 120 <xsl:for-each select="/bedework config/propertyGroups/form/propertyGroup">120 <xsl:for-each select="/bedework/propertyGroups/form/propertyGroup"> 121 121 <xsl:variable name="groupName" select="@name"/> 122 122 <xsl:choose> … … 137 137 advanced: 138 138 <xsl:choose> 139 <xsl:when test="/bedework config/propertyGroups/form/propertyGroup[@name='modules']/property[@name='advanced']/fieldValue='true'">139 <xsl:when test="/bedework/propertyGroups/form/propertyGroup[@name='modules']/property[@name='advanced']/fieldValue='true'"> 140 140 <input type="radio" name="modules.advanced" value="true" checked="checked" onclick="submit()"/> yes 141 141 <input type="radio" name="modules.advanced" value="false" onclick="submit()"/> no … … 175 175 </xsl:when> 176 176 <xsl:otherwise> 177 <xsl:apply-templates select="/bedework config/propertyGroups/form/propertyGroup[@name=$currentView]"/>177 <xsl:apply-templates select="/bedework/propertyGroups/form/propertyGroup[@name=$currentView]"/> 178 178 </xsl:otherwise> 179 179 </xsl:choose> … … 185 185 </form> 186 186 </xsl:when> 187 <xsl:when test="/bedework config/page='save'">187 <xsl:when test="/bedework/page='save'"> 188 188 <form action="save.do" method="POST" enctype="multipart/form-data" name="downloadForm"> 189 189 <input type="hidden" name="contentType" value="text/text"/> … … 198 198 <h1>Your Configured Properties File:</h1> 199 199 <div id="propFile"> 200 <xsl:for-each select="/bedework config/propertyGroups/propertyGroup">200 <xsl:for-each select="/bedework/propertyGroups/propertyGroup"> 201 201 #<br/> 202 202 # <xsl:value-of select="@name"/><br/> … … 415 415 </xsl:when> 416 416 <xsl:otherwise> 417 < xsl:value-of select="id"/>417 <p><xsl:value-of select="id"/> 418 418 <xsl:if test="param"> = 419 419 <xsl:for-each select="param"> 420 420 <xsl:value-of select="."/> 421 421 </xsl:for-each> 422 </xsl:if> 422 </xsl:if></p> 423 423 </xsl:otherwise> 424 424 </xsl:choose>
