Changeset 18253 in main
- Timestamp:
- 03/14/19 17:17:43 (3 years ago)
- Location:
- trunk
- Files:
-
- 66 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ibisph-view/src/main/webapp/WEB-INF/config/spring/common.xml
r18245 r18253 345 345 <property name="additionalModelMapList"> 346 346 <list> 347 <bean class="org.ibisph.modelmap.ModelFromFilePathAndNameService">348 <description>349 This is consumed in the menu xslt code hence the modelMapKey350 MenuSelectionsList.xmlFilePath which is the xslt param name351 in MenuSelectionsList.xslt file.352 </description>353 <property name="modelMapKey" value="ContentXMLFilePath"/>354 <property name="getModelService" ref="commonXMLFilePathModelService"/>355 <property name="filePathAndName" value=""/>356 </bean>357 358 347 <bean class="org.ibisph.modelmap.SimpleGetModelMap"> 359 348 <description> … … 362 351 Injected into the main Page.xslt. 363 352 </description> 364 <property name="modelMapKey" 365 <property name="model" 353 <property name="modelMapKey" value="ContentBasePath"/> 354 <property name="model" ref="commonContentBasePathURL"/> 366 355 </bean> 367 356 -
trunk/ibisph-view/src/main/webapp/WEB-INF/config/spring/query-definition.xml
r17255 r18253 48 48 <bean class="org.ibisph.web.HTTPRequestParameterNameToXMLElementName"><constructor-arg value="description"/><constructor-arg value="DESCRIPTION"/></bean> 49 49 <bean class="org.ibisph.web.HTTPRequestParameterNameToXMLElementName"><constructor-arg value="privateFlag"/><constructor-arg value="PRIVATE_FLAG"/></bean> 50 <bean class="org.ibisph.web.HTTPRequestParameterNameToXMLElementName"><constructor-arg value="requestPath Prefix"/><constructor-arg value="REQUEST_PATH_PREFIX"/></bean>50 <bean class="org.ibisph.web.HTTPRequestParameterNameToXMLElementName"><constructor-arg value="requestPath"/><constructor-arg value="REQUEST_PATH_PREFIX"/></bean> 51 51 <bean class="org.ibisph.web.HTTPRequestParameterNameToXMLElementName"><constructor-arg value="configurationPath"/><constructor-arg value="CONFIGURATION_PATH"/></bean> 52 52 </list> -
trunk/ibisph-view/src/main/webapp/js/L.Control.LayerSets.js
r17632 r18253 42 42 @author: Garth Braithwaite 43 43 @version: 1.1 44 @usage: new L.Control.Layers.Panel(layersControlOptions, map, 45 layerGroupsOptions, choroplethLayers[], localURLWebappPrefix); 44 @usage: new L.Control.LayersSets(optionOverrides, layerSets); 46 45 ------------------------------------------------------------------------------*/ 47 46 L.Control.LayerSets = L.Control.Layers.extend({ -
trunk/ibisph-view/src/main/webapp/js/L.LayerSets.js
r17472 r18253 27 27 @author: Garth Braithwaite 28 28 @version: 1.1 29 @usage: new L.Control.LayerSets( layerSetsOptions, localURLWebappPrefix);29 @usage: new L.Control.LayerSets(optionOverrides, webappContextPath, infoLayerContainer); 30 30 ------------------------------------------------------------------------------*/ 31 31 L.LayerSets = L.LayerGroup.extend({ … … 41 41 // or setting <header name="Access-Control-Allow-Origin" value="*"/> 42 42 completeURLPrefixValidationRegEx: new RegExp("^(http:|https:|file:|ftp:\/){1}") 43 , localURLWebappPrefix: "/ibisph-view"43 ,webappContextPath: "/ibisph-view" 44 44 ,sets: {} 45 45 } … … 54 54 ( 55 55 optionOverrides 56 , localURLWebappPrefix56 ,webappContextPath 57 57 ,infoLayerContainer 58 58 ) … … 63 63 $.extend(true, this.options, optionOverrides); 64 64 65 this.options. localURLWebappPrefix = localURLWebappPrefix;65 this.options.webappContextPath = webappContextPath; 66 66 this._infoLayerContainer = infoLayerContainer; 67 67 } … … 160 160 161 161 162 ,_getCompleteURL: function( url)162 ,_getCompleteURL: function(path) 163 163 { 164 164 // see notes above in this regex definition about allowable URL values. 165 if(this.options.completeURLPrefixValidationRegEx.test( url)) return(url);166 if(" " < this.options. localURLWebappPrefix) return(this.options.localURLWebappPrefix + url);165 if(this.options.completeURLPrefixValidationRegEx.test(path)) return(path); 166 if(" " < this.options.webappContextPath) return(this.options.webappContextPath + path); 167 167 168 168 // if here then URL problem - popup an alert - should never see this... … … 170 170 ( 171 171 "Javascript error. Leaflet Map Layer Control - _getCompleteURL - problem with prefix. Prefix: " 172 + this.options. localURLWebappPrefix173 + ", URL: " + url172 + this.options.webappContextPath 173 + ", URL: " + path 174 174 ); 175 176 return(url); 175 return(path); 177 176 } //~~~~~~~~~~~~~~~~~~~~~~~~~ End of Function ~~~~~~~~~~~~~~~~~~~~~~~~~ 178 177 -
trunk/ibisph-view/src/main/webapp/js/jquery.leaflet.js
r16781 r18253 166 166 options.layerSets.selectionLayerSetSelectionType = options.selectionLayerSetSelectionType; 167 167 } 168 var layerSets = new L.LayerSets(options.layerSets, options. localURLWebappPrefix, infoPanelControl.getContainer());168 var layerSets = new L.LayerSets(options.layerSets, options.webappContextPath, infoPanelControl.getContainer()); 169 169 layerSets.addTo(leafletMap); 170 170 -
trunk/ibisph-view/src/main/webapp/js/kendo.js
r17716 r18253 178 178 this.xhr = $.ajax({ 179 179 type: "POST" 180 // ,url: "<xsl:value-of select="$ibis. urlPrefix"/>svgtoimage/download.png"180 // ,url: "<xsl:value-of select="$ibis.contextPath"/>svgtoimage/download.png" 181 181 ,crossDomain: true 182 182 ,headers: { -
trunk/ibisph-view/src/main/webapp/xslt/_ibis-include.xslt
r17632 r18253 73 73 --> 74 74 <xsl:template match="@ibis:href" mode="ibis.copy" ibis:doc="Inner 'ibis:href' template that adds the 'WebAppURLContextPrefix' to the 'href' attribute."> 75 <xsl:attribute name="href" select="concat($ibis. urlPrefix, .)"/>75 <xsl:attribute name="href" select="concat($ibis.contextPath, .)"/> 76 76 </xsl:template> 77 77 <xsl:template match="@ibis:src" mode="ibis.copy" ibis:doc="Inner 'ibis:src' template that adds the 'WebAppURLContextPrefix' to the 'src' attribute."> 78 <xsl:attribute name="src" select="concat($ibis. urlPrefix, .)"/>78 <xsl:attribute name="src" select="concat($ibis.contextPath, .)"/> 79 79 </xsl:template> 80 80 <xsl:template match="@ibis:action" mode="ibis.copy" ibis:doc="Inner 'ibis:action' template that adds the 'WebAppURLContextPrefix' to the 'action' attribute."> 81 <xsl:attribute name="action" select="concat($ibis. urlPrefix, .)"/>82 </xsl:template> 83 84 <xsl:template match="ibis:urlPrefix " mode="ibis.copy" ibis:doc="Mechanism that allows the HTML_CONTENTN PAGE type XML content to get the ibis:urlPrefixvalue. This is useful for pages that have javascript that need this value.">85 <xsl:value-of select="$ibis. urlPrefix"/>81 <xsl:attribute name="action" select="concat($ibis.contextPath, .)"/> 82 </xsl:template> 83 84 <xsl:template match="ibis:urlPrefix | ibis:contextPath" mode="ibis.copy" ibis:doc="Mechanism that allows the HTML_CONTENT PAGE type XML content to get the ibis.contextPath value. This is useful for pages that have javascript that need this value."> 85 <xsl:value-of select="$ibis.contextPath"/> 86 86 </xsl:template> 87 87 … … 159 159 --> 160 160 161 <xsl:variable name="url" select="if(0 != string-length(@use-prefix)) then concat($ibis.urlPrefix, @href) else @href"/> 162 161 <xsl:variable name="url" select="if(0 != string-length(@use-prefix)) then concat($ibis.contextPath, @href) else @href"/> 163 162 <xsl:apply-templates select= 164 163 "if(exists(@children-only-flag)) … … 177 176 " 178 177 > 179 <xsl:variable name="url" select="if(0 != string-length(@use-prefix)) then concat($ibis. urlPrefix, @href) else @href"/>178 <xsl:variable name="url" select="if(0 != string-length(@use-prefix)) then concat($ibis.contextPath, @href) else @href"/> 180 179 <xsl:variable name="childNameElementValue" select="@child-name"/> 181 180 <xsl:message select="concat('********* @child-name: ', $childNameElementValue, ', url: ', $url)"/> … … 194 193 > 195 194 <xsl:variable name="childNames" select="tokenize(normalize-space(replace(@child-name-list, ',', ' ')), '\s+')"/> 196 <xsl:variable name="url" select="if(0 != string-length(@use-prefix)) then concat($ibis. urlPrefix, @href) else @href"/>195 <xsl:variable name="url" select="if(0 != string-length(@use-prefix)) then concat($ibis.contextPath, @href) else @href"/> 197 196 <xsl:variable name="doc" select="document($url, /)"/> 198 197 <xsl:message select="concat('********* name: ', name($doc/*), ', url: ', $url)"/> … … 215 214 <xsl:template match="ibis:a"> 216 215 <xsl:element name="a"> 217 <xsl:attribute name="href"><xsl:value-of select="concat($ibis. urlPrefix, @href)"/></xsl:attribute>216 <xsl:attribute name="href"><xsl:value-of select="concat($ibis.contextPath, @href)"/></xsl:attribute> 218 217 <xsl:copy-of select="attribute::*[name() != 'href']"/> 219 218 <xsl:apply-templates select="current()/text() | current()/*"/> … … 225 224 <xsl:template match="ibis:img"> 226 225 <img> 227 <xsl:attribute name="src"><xsl:value-of select="concat($ibis. urlPrefix, @src)"/></xsl:attribute>226 <xsl:attribute name="src"><xsl:value-of select="concat($ibis.contextPath, @src)"/></xsl:attribute> 228 227 <xsl:copy-of select="attribute::*[name() != 'src']"/> 229 228 </img> … … 234 233 <xsl:template match="ibis:form"> 235 234 <xsl:element name="form"> 236 <xsl:attribute name="action"><xsl:value-of select="concat($ibis. urlPrefix, @action)"/></xsl:attribute>235 <xsl:attribute name="action"><xsl:value-of select="concat($ibis.contextPath, @action)"/></xsl:attribute> 237 236 <xsl:copy-of select="attribute::*[name() != 'action']"/> 238 237 <xsl:apply-templates select="current()/text() | current()/*"/> -
trunk/ibisph-view/src/main/webapp/xslt/_ibis-path.xslt
r18245 r18253 10 10 11 11 <ibis:doc> 12 <name>ibis .path</name>12 <name>ibis-path</name> 13 13 <summary>Library of generic/common ibis path related functions</summary> 14 14 </ibis:doc> … … 81 81 ibis:doc="Prefix used/needed for referencing resources within the site." 82 82 /> 83 <xsl:variable name="ibis. urlPrefix" select="$WebAppContextPath"83 <xsl:variable name="ibis.contextPath" select="$WebAppContextPath" 84 84 ibis:doc="WebAppContextPath access variable that all pages should use. 85 85 Has the 'ibis.' prefix to know what XSLT the variable/param is defined in. … … 87 87 /> 88 88 89 <xsl:param name="WebAppRemoteRequestPath" select="$ibis. urlPrefix"89 <xsl:param name="WebAppRemoteRequestPath" select="$ibis.contextPath" 90 90 ibis:doc=" 91 91 Prefix used/needed for referencing this apps resources outside the … … 94 94 " 95 95 /> 96 <xsl:variable name="ibis.remote URLPrefix" select="$WebAppRemoteRequestPath"96 <xsl:variable name="ibis.remoteRequestPath" select="$WebAppRemoteRequestPath" 97 97 ibis:doc="WebAppRemoteRequestPath access variable that any pages could use. 98 98 Has the 'ibis.' prefix to know what XSLT the variable/param is defined in. … … 116 116 117 117 118 119 118 <xsl:function name="ibis:getCompleteURL" as="xs:string" 120 ibis:doc="tests the supplied URL and if no http prefix then the webapp121 context is added."119 ibis:doc="tests the supplied path/URL and if no http prefix then the 120 webapp context is added as a prefix to the path." 122 121 > 123 <xsl:param name=" url" ibis:doc="URL to be tested/adjusted. If the value124 begins with http then URL is returned untouched. Else the webapp125 prefix is addedand returned."122 <xsl:param name="path" ibis:doc="Path/URL to be tested/adjusted. If 123 the value begins with http then URL is returned untouched. Else 124 the webapp context is added as a prefix and returned." 126 125 /> 127 <xsl:value-of select="if(starts-with($ url,'http')) then $url else concat($WebAppContextPath, $url)"/>126 <xsl:value-of select="if(starts-with($path,'http')) then $path else concat($WebAppContextPath, $path)"/> 128 127 </xsl:function> 129 128 -
trunk/ibisph-view/src/main/webapp/xslt/html/Graphic.xslt
r18234 r18253 170 170 171 171 <xsl:template name="Graphic.choroplethMapJavaScript"> 172 <script type="text/javascript" src="{$ibis. urlPrefix}js/leaflet-src.js"/>173 <script type="text/javascript" src="{$ibis. urlPrefix}js/jquery.leaflet.js"/>174 <script type="text/javascript" src="{$ibis. urlPrefix}js/geostats.js"/>175 176 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.GeoJSON.Interactive.js"/>177 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.GeoJSON.Interactive.Choropleth.js"/>178 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.LayerSets.js"/>179 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.Control.LayerSets.js"/>180 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.Control.Choropleth.js"/>181 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.Control.Zoom.Min.js"/>182 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.Map.ContextMenu.js"/>172 <script type="text/javascript" src="{$ibis.contextPath}js/leaflet-src.js"/> 173 <script type="text/javascript" src="{$ibis.contextPath}js/jquery.leaflet.js"/> 174 <script type="text/javascript" src="{$ibis.contextPath}js/geostats.js"/> 175 176 <script type="text/javascript" src="{$ibis.contextPath}js/L.GeoJSON.Interactive.js"/> 177 <script type="text/javascript" src="{$ibis.contextPath}js/L.GeoJSON.Interactive.Choropleth.js"/> 178 <script type="text/javascript" src="{$ibis.contextPath}js/L.LayerSets.js"/> 179 <script type="text/javascript" src="{$ibis.contextPath}js/L.Control.LayerSets.js"/> 180 <script type="text/javascript" src="{$ibis.contextPath}js/L.Control.Choropleth.js"/> 181 <script type="text/javascript" src="{$ibis.contextPath}js/L.Control.Zoom.Min.js"/> 182 <script type="text/javascript" src="{$ibis.contextPath}js/L.Map.ContextMenu.js"/> 183 183 </xsl:template> 184 184 185 185 <xsl:template name="Graphic.selectionMapJavaScript"> 186 <script type="text/javascript" src="{$ibis. urlPrefix}js/leaflet-src.js"/>187 <script type="text/javascript" src="{$ibis. urlPrefix}js/jquery.leaflet.js"/>188 189 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.GeoJSON.Interactive.js"/>190 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.GeoJSON.Interactive.Selection.js"/>191 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.LayerSets.js"/>192 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.Control.LayerSets.js"/>193 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.Control.Zoom.Min.js"/>194 <script type="text/javascript" src="{$ibis. urlPrefix}js/L.Map.ContextMenu.js"/>186 <script type="text/javascript" src="{$ibis.contextPath}js/leaflet-src.js"/> 187 <script type="text/javascript" src="{$ibis.contextPath}js/jquery.leaflet.js"/> 188 189 <script type="text/javascript" src="{$ibis.contextPath}js/L.GeoJSON.Interactive.js"/> 190 <script type="text/javascript" src="{$ibis.contextPath}js/L.GeoJSON.Interactive.Selection.js"/> 191 <script type="text/javascript" src="{$ibis.contextPath}js/L.LayerSets.js"/> 192 <script type="text/javascript" src="{$ibis.contextPath}js/L.Control.LayerSets.js"/> 193 <script type="text/javascript" src="{$ibis.contextPath}js/L.Control.Zoom.Min.js"/> 194 <script type="text/javascript" src="{$ibis.contextPath}js/L.Map.ContextMenu.js"/> 195 195 </xsl:template> 196 196 -
trunk/ibisph-view/src/main/webapp/xslt/html/Help.xslt
r15958 r18253 53 53 <xsl:param name="url" select=" 54 54 if(exists($help/LOCAL_URL)) then 55 concat($ibis. urlPrefix, $help/LOCAL_URL)55 concat($ibis.contextPath, $help/LOCAL_URL) 56 56 else 57 57 $help/URL -
trunk/ibisph-view/src/main/webapp/xslt/html/MenuSelectionsList.xslt
r16715 r18253 85 85 86 86 <a title="{if(exists(URL or LOCAL_URL)) then 'Show sub menu or goto the link if clicked on' else 'Show sub menu'}" 87 href="{if(exists(URL))then URL else if(exists(LOCAL_URL)) then concat($ibis. urlPrefix, LOCAL_URL) else ''}"87 href="{if(exists(URL))then URL else if(exists(LOCAL_URL)) then concat($ibis.contextPath, LOCAL_URL) else ''}" 88 88 ><xsl:value-of select="TITLE"/></a> 89 89 … … 198 198 </xsl:when> 199 199 <xsl:when test="boolean(LOCAL_URL)"> 200 <a href="{concat($ibis. urlPrefix, LOCAL_URL)}"><xsl:value-of select="TITLE"/></a>200 <a href="{concat($ibis.contextPath, LOCAL_URL)}"><xsl:value-of select="TITLE"/></a> 201 201 </xsl:when> 202 202 <xsl:otherwise> … … 255 255 <xsl:if test="exists(URL) or exists(LOCAL_URL)"> 256 256 <a title="" 257 href="{if(exists(URL))then URL else if(exists(LOCAL_URL)) then concat($ibis. urlPrefix, LOCAL_URL) else ''}"257 href="{if(exists(URL))then URL else if(exists(LOCAL_URL)) then concat($ibis.contextPath, LOCAL_URL) else ''}" 258 258 ><xsl:value-of select="TITLE"/></a> 259 259 </xsl:if> … … 303 303 <xsl:variable name="href" select=" 304 304 if(string-length($selection/URL) != 0)then URL 305 else if(string-length(LOCAL_URL) != 0)then concat($ibis. urlPrefix, LOCAL_URL)305 else if(string-length(LOCAL_URL) != 0)then concat($ibis.contextPath, LOCAL_URL) 306 306 else '' 307 307 "/> -
trunk/ibisph-view/src/main/webapp/xslt/html/Page.xslt
r17416 r18253 250 250 <title><xsl:value-of select="if(contains($Page.pageTitle, $Page.applicationTitle))then $Page.pageTitle else concat($Page.applicationTitle, ' - ', $Page.pageTitle)"/></title> 251 251 252 <link rel="shortcut icon" href="{$ibis. urlPrefix}image/application.ico" type="image/vnd.microsoft.icon"/>253 <link rel="icon" href="{$ibis. urlPrefix}image/application.ico" type="image/vnd.microsoft.icon"/>254 <link rel="home" href="{$ibis. urlPrefix}"/>255 <link rel="help" href="{$ibis. urlPrefix}about/Help.html"/>256 <link rel="toc" href="{$ibis. urlPrefix}about/SiteMap.html"/>252 <link rel="shortcut icon" href="{$ibis.contextPath}image/application.ico" type="image/vnd.microsoft.icon"/> 253 <link rel="icon" href="{$ibis.contextPath}image/application.ico" type="image/vnd.microsoft.icon"/> 254 <link rel="home" href="{$ibis.contextPath}"/> 255 <link rel="help" href="{$ibis.contextPath}about/Help.html"/> 256 <link rel="toc" href="{$ibis.contextPath}about/SiteMap.html"/> 257 257 <link rel="make" href="http://www.ibisph.org"/> 258 258 … … 306 306 " 307 307 > 308 <link rel="stylesheet" type="text/css" href="{$ibis. urlPrefix}css/stylesheet.css"/>309 <link rel="stylesheet" type="text/css" href="{$ibis. urlPrefix}css/_print.css">308 <link rel="stylesheet" type="text/css" href="{$ibis.contextPath}css/stylesheet.css"/> 309 <link rel="stylesheet" type="text/css" href="{$ibis.contextPath}css/_print.css"> 310 310 <xsl:if test="ibis:isPrinterFriendly() = false()"> 311 311 <xsl:attribute name="media" select="'print'"/> … … 313 313 </link> 314 314 <xsl:if test="($PrinterFriendly = 'bw') or ($PrinterFriendly = 'BW')"> 315 <link rel="stylesheet" type="text/css" href="{$ibis. urlPrefix}css/_print_bw.css" media="print"/>315 <link rel="stylesheet" type="text/css" href="{$ibis.contextPath}css/_print_bw.css" media="print"/> 316 316 </xsl:if> 317 317 </xsl:template> … … 334 334 " 335 335 > 336 <script src="{$ibis. urlPrefix}js/jquery.min.js"/>337 <script src="{$ibis. urlPrefix}js/jquery.wikitohtml.js"/>338 <script src="{$ibis. urlPrefix}js/kendo.all.min.js"/>339 <script src="{$ibis. urlPrefix}js/kendo.js"/>336 <script src="{$ibis.contextPath}js/jquery.min.js"/> 337 <script src="{$ibis.contextPath}js/jquery.wikitohtml.js"/> 338 <script src="{$ibis.contextPath}js/kendo.all.min.js"/> 339 <script src="{$ibis.contextPath}js/kendo.js"/> 340 340 341 341 <script> -
trunk/ibisph-view/src/main/webapp/xslt/html/SelectionsList.xslt
r16715 r18253 240 240 current()/URL 241 241 else if(string-length(current()/LOCAL_URL) != 0)then 242 concat($ibis. urlPrefix, current()/LOCAL_URL)242 concat($ibis.contextPath, current()/LOCAL_URL) 243 243 else 244 244 '' -
trunk/ibisph-view/src/main/webapp/xslt/html/SiteSpecific.xslt
r18245 r18253 126 126 127 127 128 <xsl:param name="SiteSpecific.logoutURL" select="concat($ibis. urlPrefix, 'user/logout')"/>128 <xsl:param name="SiteSpecific.logoutURL" select="concat($ibis.contextPath, 'user/logout')"/> 129 129 130 130 … … 165 165 <header id="header"> 166 166 <div class="FluidContainer"> 167 <a href="{$ibis. urlPrefix}" title="Home link"168 ><img src="{$ibis. urlPrefix}image/logo.png" alt="header home"/></a>167 <a href="{$ibis.contextPath}" title="Home link" 168 ><img src="{$ibis.contextPath}image/logo.png" alt="header home"/></a> 169 169 </div> 170 170 … … 180 180 <SELECTION> 181 181 <TITLE><xsl:value-of select="$Page.applicationTitle"/></TITLE> 182 <URL><xsl:value-of select="$ibis. urlPrefix"/></URL>182 <URL><xsl:value-of select="$ibis.contextPath"/></URL> 183 183 </SELECTION> 184 184 <xsl:copy-of select="$SiteSpecific.navigationPathSelections"/> … … 210 210 /> 211 211 <input id="siteSearchSubmitButton" type="image" alt="Search" title="Search" name="submit" 212 src="{$ibis. urlPrefix}image/clear.gif"212 src="{$ibis.contextPath}image/clear.gif" 213 213 /> 214 <input type="hidden" name="sitesearch" value="{$ibis.remote URLPrefix}" title="site URL to be searched"/>214 <input type="hidden" name="sitesearch" value="{$ibis.remoteRequestPath}" title="site URL to be searched"/> 215 215 </form> 216 216 </div> … … 242 242 243 243 <xsl:if test="not(ibis:isAuthenticated())"> 244 You are not <a href="{$ibis. urlPrefix}user/Login.html">logged244 You are not <a href="{$ibis.contextPath}user/Login.html">logged 245 245 in</a> as either an authorized partner dataset user or as 246 246 a self registered user. … … 316 316 rel="nofollow" target="_blank" 317 317 > 318 <img src="{$ibis. urlPrefix}image/icon/32/printer.gif"/>318 <img src="{$ibis.contextPath}image/icon/32/printer.gif"/> 319 319 </a> 320 320 <a href="javascript:window.open('http://www.facebook.com/sharer.php?url=' + location.href)" … … 322 322 rel="nofollow" target="_blank" 323 323 > 324 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/facebook-blue.png" alt="Facebook logo"/>324 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/facebook-blue.png" alt="Facebook logo"/> 325 325 </a> 326 326 <a href="javascript:window.open('http://twitter.com/share?url=' + location.href)" … … 328 328 rel="nofollow" target="_blank" 329 329 > 330 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/twitter-blue.png" alt="Twitter logo"/>330 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/twitter-blue.png" alt="Twitter logo"/> 331 331 </a> 332 332 <a href="javascript:window.open('https://plus.google.com/share?url=' + location.href)" … … 334 334 rel="nofollow" target="_blank" 335 335 > 336 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/google_plus-red.png" alt="Google+ logo"/>336 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/google_plus-red.png" alt="Google+ logo"/> 337 337 </a> 338 338 <a href="javascript:window.open('http://www.linkedin.com/shareArticle?url=' + location.href)" … … 340 340 rel="nofollow" target="_blank" 341 341 > 342 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/linkedin-blue.png" alt="LinkedIn logo"/>342 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/linkedin-blue.png" alt="LinkedIn logo"/> 343 343 </a> 344 344 </div> … … 354 354 <h3>IBIS-PH</h3> 355 355 <ul> 356 <li><a href="{$ibis. urlPrefix}about/ContactInformation.html">Contact Us</a></li>357 <li><a href="{$ibis. urlPrefix}about/SiteMap.html">Site Map</a></li>356 <li><a href="{$ibis.contextPath}about/ContactInformation.html">Contact Us</a></li> 357 <li><a href="{$ibis.contextPath}about/SiteMap.html">Site Map</a></li> 358 358 <li><a href="" onclick="window.open('?PrinterFriendly=x');">Printer Friendly</a></li> 359 <li><a href="{$ibis. urlPrefix}user/logout">Logout</a></li>359 <li><a href="{$ibis.contextPath}user/logout">Logout</a></li> 360 360 </ul> 361 361 </div> … … 372 372 <h3>Legal</h3> 373 373 <ul> 374 <li><a href="{$ibis. urlPrefix}about/WebCitation.html">Web Citation</a></li>374 <li><a href="{$ibis.contextPath}about/WebCitation.html">Web Citation</a></li> 375 375 <li><a href="http://health.utah.gov/about/privacy.html">Privacy Policy</a></li> 376 376 <li><a href="http://health.utah.gov/about/disclaimer.html">Use Disclaimer</a></li> … … 389 389 <div class="Row"> 390 390 <div class="Bottom"> 391 <img src="{$ibis. urlPrefix}image/doh_logo_footer.png"391 <img src="{$ibis.contextPath}image/doh_logo_footer.png" 392 392 onclick="javascript:location.href='http://health.utah.gov/'" title="UDOH Link" 393 393 alt="Department of Health Logo" … … 441 441 title="Share this page on Facebook" 442 442 rel="nofollow" target="_blank"> 443 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/facebook-blue.png"443 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/facebook-blue.png" 444 444 alt="Facebook logo"/> 445 445 </a> … … 447 447 title="Share this page on Twitter" 448 448 rel="nofollow" target="_blank"> 449 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/twitter-blue.png"449 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/twitter-blue.png" 450 450 alt="Twitter logo"/> 451 451 </a> 452 452 <a href="#" onclick="window.print();return false;"> 453 <img src="{$ibis. urlPrefix}image/icon/32/printer.gif"/>453 <img src="{$ibis.contextPath}image/icon/32/printer.gif"/> 454 454 </a> 455 455 … … 457 457 title="Share this page on Google+" 458 458 rel="nofollow" target="_blank"> 459 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/google_plus-red.png"459 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/google_plus-red.png" 460 460 alt="Google+ logo"/> 461 461 </a> … … 463 463 title="Share this page on LinkedIn" 464 464 rel="nofollow" target="_blank"> 465 <img typeof="foaf:Image" src="{$ibis. urlPrefix}image/icon/32/linkedin-blue.png"465 <img typeof="foaf:Image" src="{$ibis.contextPath}image/icon/32/linkedin-blue.png" 466 466 alt="LinkedIn logo"/> 467 467 </a> -
trunk/ibisph-view/src/main/webapp/xslt/html/community/Page.xslt
r17938 r18253 78 78 79 79 <xsl:template name="Page.specificScript" ibis:doc="Adds the code to init selections and misc script."> 80 <script type="text/javascript" src="{$ibis. urlPrefix}js/NamedInputElement.js"></script>80 <script type="text/javascript" src="{$ibis.contextPath}js/NamedInputElement.js"></script> 81 81 <script type="text/javascript"> 82 var webapp Prefix = "<xsl:value-of select="$ibis.urlPrefix"/>";82 var webappContextPath = "<xsl:value-of select="$ibis.contextPath"/>"; 83 83 var isIntroductionPage = "<xsl:if test="$Page.communityProfile/INTRODUCTION_PAGE_FLAG"/>"; 84 84 var communityProfileName = "<xsl:value-of select="$Page.communityProfile/NAME"/>"; … … 107 107 } 108 108 109 location.href = webapp Prefix109 location.href = webappContextPath 110 110 + "community/indicators/" 111 111 + indicatorSetName + "/" -
trunk/ibisph-view/src/main/webapp/xslt/html/community/SiteSpecific.xslt
r15958 r18253 28 28 --> 29 29 <xsl:template name="Page.specificCSS"> 30 <link rel="stylesheet" type="text/css" href="{$ibis. urlPrefix}css/_community.css"/>30 <link rel="stylesheet" type="text/css" href="{$ibis.contextPath}css/_community.css"/> 31 31 </xsl:template> 32 32 -
trunk/ibisph-view/src/main/webapp/xslt/html/community/indicator/Highlight.xslt
r17710 r18253 81 81 82 82 <h3>Health Indicator Profile Report</h3> 83 <a href="{concat($ibis. urlPrefix, 'indicator/view/', $indicator/NAME, '.html')}"83 <a href="{concat($ibis.contextPath, 'indicator/view/', $indicator/NAME, '.html')}" 84 84 title="Jump to the indicator profile report" 85 85 > -
trunk/ibisph-view/src/main/webapp/xslt/html/community/indicator/Page.xslt
r18199 r18253 98 98 <xsl:message select="$indicatorComparisonValues/STATE"/> 99 99 --> 100 <img src="{$ibis. urlPrefix}image/gauge/compare/{$indicatorComparisonValues/STATE/VALUE/COMPARISON/GAUGE_NAME}.png" alt="comparison gauge value"/>100 <img src="{$ibis.contextPath}image/gauge/compare/{$indicatorComparisonValues/STATE/VALUE/COMPARISON/GAUGE_NAME}.png" alt="comparison gauge value"/> 101 101 <span class="GaugeFootnote Popup"> 102 102 Description of Dashboard Gauge … … 123 123 <xsl:message select="$indicatorComparisonValues/STATE"/> 124 124 --> 125 <img src="{$ibis. urlPrefix}image/gauge/compare/{$indicatorComparisonValues/US/VALUE/COMPARISON/GAUGE_NAME}.png" alt="comparison gauge value"/>125 <img src="{$ibis.contextPath}image/gauge/compare/{$indicatorComparisonValues/US/VALUE/COMPARISON/GAUGE_NAME}.png" alt="comparison gauge value"/> 126 126 </div></li> 127 127 </ul> -
trunk/ibisph-view/src/main/webapp/xslt/html/community/indicators/Page.xslt
r17938 r18253 198 198 199 199 <xsl:if test="boolean($Page.showAnyContextualData)"> 200 <xsl:attribute name="href" select="concat($ibis. urlPrefix, 'indicator/view/', $indicatorName, '.html')"/>200 <xsl:attribute name="href" select="concat($ibis.contextPath, 'indicator/view/', $indicatorName, '.html')"/> 201 201 <xsl:attribute name="title" select="concat('Go to the IBIS indicator report page for', $indicator/TITLE)"/> 202 202 </xsl:if> … … 209 209 </div> 210 210 </div> 211 <a href="{$ibis. urlPrefix}community/indicator/{$indicatorName}/{$DimensionName}/{$DimensionValue}.html" title="Click here to see a more detailed comparison of {$indicator/TITLE}" class="Block">211 <a href="{$ibis.contextPath}community/indicator/{$indicatorName}/{$DimensionName}/{$DimensionValue}.html" title="Click here to see a more detailed comparison of {$indicator/TITLE}" class="Block"> 212 212 <xsl:value-of select="$indicator/TITLE"/> - 213 213 (<xsl:value-of select="$indicatorComparisonValues/PERIOD_DIMENSION/VALUE/TITLE"/>) -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/index/CompleteProfileLibraryPage.xslt
r15958 r18253 28 28 > 29 29 <xsl:param name="indicator" ibis:doc="Needed to build the URL specific for the current indicator."/> 30 <xsl:value-of select="concat($ibis. urlPrefix, 'indicator/complete_profile/', $indicator/NAME)"/>.html30 <xsl:value-of select="concat($ibis.contextPath, 'indicator/complete_profile/', $indicator/NAME)"/>.html 31 31 </xsl:template> 32 32 -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/index/LibraryPage.xslt
r16335 r18253 80 80 <xsl:template name="url" ibis:doc="API type call that builds the appropriate for the index."> 81 81 <xsl:param name="indicator" ibis:doc="Needed to build the default indicator view URL specific for the current indicator."/> 82 <xsl:value-of select="concat($ibis. urlPrefix, 'indicator/complete_profile/', $indicator/DEFAULT_INDICATOR_VIEW_NAME)"/>.html82 <xsl:value-of select="concat($ibis.contextPath, 'indicator/complete_profile/', $indicator/DEFAULT_INDICATOR_VIEW_NAME)"/>.html 83 83 </xsl:template> 84 84 -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/index/alphabetical/Page.xslt
r17938 r18253 23 23 <xsl:param name="Page.categorizedIndexContent" ibis:doc="localizes the cat index overview content. Set blank to turn this off."> 24 24 The 25 <a href="{$ibis. urlPrefix}indicator/index/Categorized.html"25 <a href="{$ibis.contextPath}indicator/index/Categorized.html" 26 26 title="Show the Indicator Profile Categorized Index selection menu" 27 27 >Indicator Profile by Topic Selection Index</a> … … 76 76 </xsl:if> 77 77 <li title="Published on: {PUBLISHED_DATE}, Data as of Date: {DATA_AS_OF_DATE}"> 78 <a href="{$ibis. urlPrefix}indicator/view/{NAME}.html"78 <a href="{$ibis.contextPath}indicator/view/{NAME}.html" 79 79 title="Click here to see the default chart for {TITLE}" 80 80 ><xsl:value-of select="TITLE"/></a> … … 101 101 { 102 102 "title": "<xsl:value-of select="TITLE"/>" 103 ,"href" : "<xsl:value-of select="concat($ibis. urlPrefix, 'indicator/view/', NAME, '.html')"/>"103 ,"href" : "<xsl:value-of select="concat($ibis.contextPath, 'indicator/view/', NAME, '.html')"/>" 104 104 ,"firstLetter":"<xsl:value-of select="substring(TITLE,1,1)"/>" 105 105 ,"published": "<xsl:value-of select="PUBLISHED_DATE"/>" -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/index/categorized/Page.xslt
r15958 r18253 48 48 the desired report. Once found, click on the desired report's title link. 49 49 Note that you can also use the site's search feature or the 50 <a href="{$ibis. urlPrefix}indicator/index/Alphabetical.html"50 <a href="{$ibis.contextPath}indicator/index/Alphabetical.html" 51 51 title="Shows a complete list of all indicators listed alphabetically" 52 52 >Alphabetical Indicator Profile Selection Index</a> page which … … 56 56 <xsl:if test="string-length($SelectionName) != 0"> 57 57 The selection list shown below is a subset of the main list. Click on 58 this <a href="{$ibis. urlPrefix}indicator/index/Categorized.html">Complete58 this <a href="{$ibis.contextPath}indicator/index/Categorized.html">Complete 59 59 Topic Index</a> link to view the main topics list. 60 60 </xsl:if> -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/Indicator.xslt
r18000 r18253 17 17 </description> 18 18 </ibis:doc> 19 20 <xsl:import href="../../community/Compare.xslt"/> 21 <xsl:import href="../../../xml/ComparisonValues.xslt"/> 22 <xsl:import href="../../community/indicator/Highlight.xslt"/> 19 23 20 24 <!-- ==================== VARIABLES and PARAMETERS ===================== --> … … 38 42 /> 39 43 40 <xsl:param name="Indicator.viewURLPrefix" select="concat($ibis. urlPrefix, 'indicator/view/')"44 <xsl:param name="Indicator.viewURLPrefix" select="concat($ibis.contextPath, 'indicator/view/')" 41 45 ibis:doc="localizes view prefix to be used - allows for normal view or 42 46 interactive to be set via the ss override mechanism. … … 287 291 'INDICATOR/INITIATIVES/*' XML contents." 288 292 > 289 <xsl:param name="indicator" select="$indicator"/>293 <xsl:param name="indicator"/> 290 294 <xsl:param name="initiatives" select="$indicator/INITIATIVES/INITIATIVE"/> 291 295 <xsl:param name="title"/> … … 298 302 <xsl:if test="1 = count($initiatives)"> 299 303 <xsl:call-template name="Indicator.initiative"> 304 <xsl:with-param name="indicator" select="$indicator"/> 300 305 <xsl:with-param name="initiative" select="$initiatives[1]"/> 301 306 </xsl:call-template> … … 307 312 <li> 308 313 <xsl:call-template name="Indicator.initiative"> 314 <xsl:with-param name="indicator" select="$indicator"/> 309 315 <xsl:with-param name="initiative" select="."/> 310 316 </xsl:call-template> … … 324 330 'INDICATOR/INITIATIVES/*' XML contents." 325 331 > 332 <xsl:param name="indicator"/> 326 333 <xsl:param name="initiative"/> 327 334 … … 355 362 <xsl:value-of select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/TARGET_GOAL_VALUE"/>, 356 363 <xsl:value-of select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/TARGET_NARRATIVE"/> 364 365 <xsl:variable name="indicatorComparisonValues"> 366 <xsl:call-template name="ComparisonValues.getIndicatorStateUSComparisonValues"> 367 <xsl:with-param name="indicator" select="$indicator"/> 368 <xsl:with-param name="communityDimensionName" select="'GeoState'"/> 369 <xsl:with-param name="communityDimensionValue" select="'35'"/> 370 </xsl:call-template> 371 </xsl:variable> 372 373 <br/> 374 baseline value: <xsl:value-of select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/TARGET_BASELINE_VALUE"/><br/> 375 goal value: <xsl:value-of select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/TARGET_GOAL_VALUE"/><br/> 376 measure name: <xsl:value-of select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/MEASURE_NAME"/><br/> 377 COMMUNITY VALUE: <xsl:value-of select="$indicatorComparisonValues/COMMUNITY/VALUE/TITLE"/><br/> 378 COMMUNITY DESIRABLE_VALUE: <xsl:value-of select="$indicatorComparisonValues/COMMUNITY/DESIRABLE_VALUE"/><br/> 379 COMMUNITY RELIABILITY: <xsl:value-of select="$indicatorComparisonValues/COMMUNITY/RELIABILITY"/><br/> 380 STATE compare value: <xsl:value-of select="$indicatorComparisonValues/STATE/VALUE/TITLE"/><br/> 381 US compare value: <xsl:value-of select="$indicatorComparisonValues/US/VALUE/TITLE"/><br/> 382 PERIOD DIMENSION: <xsl:value-of select="$indicatorComparisonValues/PERIOD_DIMENSION/VALUE/TITLE"/><br/> 383 <xsl:message select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/MEASURE_NAME"/> 384 <xsl:message select="count($indicator/DATASETS//RECORD[MEASURE/NAME = $initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/MEASURE_NAME])"/> 385 <div id="boxplot"></div> 386 <div id="chart-temp"></div> 387 <div id="gauge"/> 388 <div id="thermo_gauge"/> 389 390 <script> 391 function createChart() { 392 $("#chart-temp").kendoChart({ 393 legend: { 394 visible: false // doesn't matter 395 }, 396 series: [{ 397 type: "bullet", 398 data: [[25, 22]] // , 15, 16, 17 - only does 2 data points 399 }], 400 categoryAxis: { 401 majorGridLines: { 402 visible: false 403 }, 404 majorTicks: { 405 visible: false 406 } 407 }, 408 valueAxis: [{ 409 reverse: true, 410 plotBands: [{ 411 from: 0, to: 10, color: "yellow", opacity: .3 412 }, { 413 from: 10, to: 20, color: "orange", opacity: .3 414 }, { 415 from: 20, to: 30, color: "red", opacity: .3 416 }], 417 majorGridLines: { 418 visible: false 419 }, 420 min: 5, 421 max: 45, 422 minorTicks: { 423 visible: true 424 } 425 }], 426 tooltip: { 427 visible: true, 428 template: "Maximum: #= value.target # <br /> Average: #= value.current #" 429 } 430 }); 431 432 433 $("#boxplot").kendoChart({ 434 series: [{ 435 type: 'verticalBoxPlot', 436 q1Field: 'q1', 437 q3Field: 'q3', 438 lowerField: 'lower', 439 upperField: 'upper', 440 medianField: 'median', 441 meanField: 'mean', 442 outliersField: 'outliers' 443 }], 444 dataSource: { 445 data: [ 446 { year: 2004, lower: 1.8, q1: 2.75, median: 3.35, q3: 3.825, upper: 4.9, mean: 3.4 }, 447 { year: 2005, lower: 1.7, q1: 2.275, median: 3.2, q3: 3.825, upper: 5.5, outliers: [0.5, 6.7] }, 448 { year: 2006, lower: 1.2, q1: 1.95, median: 2.45, q3: 3.075, upper: 3.5, mean: 2.5 }, 449 { year: 2007, lower: 1.3, q1: 1.9, median: 3.05, q3: 3.425, upper: 4, mean: 2.7, outliers: [7, 8.5] } 450 ] 451 }, 452 categoryAxis: { 453 field: 'year' 454 }, 455 tooltip: { 456 visible: true 457 } 458 }); 459 460 461 $("#gauge").kendoArcGauge({ 462 value: <xsl:value-of select="$indicatorComparisonValues/STATE/VALUE/text()"/>, 463 centerTemplate: 'State: <xsl:value-of select="$indicatorComparisonValues/STATE/VALUE/TITLE"/>' 464 ,scale: 465 { 466 reverse: false 467 ,startAngle: 90 468 ,endAngle: 360 469 ,min: 10 470 ,max: 50 471 ,labels: 472 { 473 visible: true 474 } 475 ,majorTicks: 476 { 477 visible: true 478 479 } 480 } 481 }); 482 483 484 485 $("#thermo_gauge").kendoLinearGauge({ 486 vertical: false, 487 pointer: [{ 488 value: 10, 489 color: "#c20000", 490 shape: "arrow" 491 }, { 492 value: 70, 493 color: "#ff7a00", 494 margin: 10 495 }, { 496 value: 140, 497 color: "#ffc700" 498 }], 499 scale: { 500 vertical: false, 501 minorUnit: 5, 502 min: 0, 503 max: 180 504 } 505 }); 506 507 508 509 } 510 511 $(document).ready(createChart); 512 </script> 513 514 <style> 515 table.Info tr {background-color: yellow;} 516 table.Info tr td {background-color: transparent;} 517 </style> 518 <table class="Info"> 519 <tr> 520 <th>Year</th> 521 <th>Base</th> 522 <th>Goal</th> 523 <th>State Value</th> 524 <th>U.S. Value</th> 525 </tr> 526 <tr> 527 <td><xsl:value-of select="$indicatorComparisonValues/PERIOD_DIMENSION/VALUE/TITLE"/></td> 528 <td><xsl:value-of select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/TARGET_BASELINE_VALUE"/></td> 529 <td><xsl:value-of select="$initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/TARGET_GOAL_VALUE"/></td> 530 <td><xsl:value-of select="$indicatorComparisonValues/STATE/VALUE/TITLE"/></td> 531 <td><xsl:value-of select="$indicatorComparisonValues/US/VALUE/TITLE"/></td> 532 </tr> 533 </table> 534 <br/><br/> 535 536 <xsl:message select="$indicatorComparisonValues"/> 537 <textarea rows="10" cols="80"> 538 <xsl:copy-of select="$indicatorComparisonValues"/> 539 </textarea> 540 <br/> 541 <xsl:message select="'yyyyyyyyyyyyyyyyyyyyyyyyy'"/> 542 543 544 <!-- 545 <xsl:copy-of select="$indicator/DATASETS//RECORD[(MEASURE/NAME = $initiative/INITIATIVE_TOPIC/INITIATIVE_TOPIC_OBJECTIVE/MEASURE_NAME) and exists(DIMENSIONS/DIMENSION[(NAME='GeoState') and (VALUE='35')]) ]"/> 546 --> 547 <link rel="stylesheet" type="text/css" href="{$ibis.contextPath}css/_community.css"/> 548 <xsl:call-template name="Highlight.communityStateUSComparisonTable"> 549 <xsl:with-param name="communityTitle" 550 select="'my title'" 551 /> 552 <xsl:with-param name="indicatorComparisonValues" select="$indicatorComparisonValues"/> 553 <xsl:with-param name="communityValue" select="$indicatorComparisonValues/STATE/VALUE/text()"/> 554 555 </xsl:call-template> 556 357 557 <!-- GARTH TODO: Could implement the worse, same, better logic here... --> 358 558 </xsl:template> -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/Page.xslt
r17123 r18253 51 51 <!-- DEPENDENCY NOTE: This file is not meant to be imported as a stand alone 52 52 XSLT library. This file depends/relies on the $indicator variable and 53 the $ibis. urlPrefixparameter being defined.53 the $ibis.contextPath parameter being defined. 54 54 --> 55 55 -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/SiteSpecific.xslt
r16466 r18253 46 46 <SHOW/> 47 47 <SELECTION> 48 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/facts/', $indicator/NAME, '.html')"/></URL>48 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/facts/', $indicator/NAME, '.html')"/></URL> 49 49 <DESCRIPTION>Important Facts page for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 50 50 <TITLE>Important Facts</TITLE> … … 53 53 <xsl:if test="string-length($indicator/SERVICES_AVAILABLE_TO_PUBLIC) != 0"> 54 54 <SELECTION> 55 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/services/', $indicator/NAME, '.html')"/></URL>55 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/services/', $indicator/NAME, '.html')"/></URL> 56 56 <DESCRIPTION>Services Available to the Public page for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 57 57 <TITLE>Available Services</TITLE> … … 60 60 61 61 <SELECTION> 62 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/resources/', $indicator/NAME, '.html')"/></URL>62 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/resources/', $indicator/NAME, '.html')"/></URL> 63 63 <DESCRIPTION>More Resources and Web Links page for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 64 64 <TITLE>More Resources & Links</TITLE> … … 73 73 <xsl:if test="$indicatorViewCount < 2"> 74 74 <TITLE>Data View</TITLE> 75 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/view/', $indicator/DEFAULT_INDICATOR_VIEW_NAME, '.html')"/></URL>75 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/view/', $indicator/DEFAULT_INDICATOR_VIEW_NAME, '.html')"/></URL> 76 76 <DESCRIPTION>Interacitve view of <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 77 77 </xsl:if> … … 84 84 <xsl:sort select="SORT_ORDER" order="ascending" data-type="number"/> 85 85 <SELECTION> 86 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/view/', NAME, '.html')"/></URL>86 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/view/', NAME, '.html')"/></URL> 87 87 <DESCRIPTION>Interactive view of <xsl:value-of select="TITLE"/></DESCRIPTION> 88 88 <xsl:copy-of select="TITLE"/> … … 106 106 <xsl:copy-of select="TITLE"/> 107 107 <DESCRIPTION>Indicators related to <xsl:value-of select="concat($indicator/TITLE, ' for ', TITLE)"/></DESCRIPTION> 108 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/view/', NAME, '.html')"/></URL>108 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/view/', NAME, '.html')"/></URL> 109 109 </SELECTION> 110 110 </xsl:for-each> … … 124 124 <TITLE><xsl:value-of select="TITLE"/></TITLE> 125 125 <DESCRIPTION>Indicators related to <xsl:value-of select="concat($indicator/TITLE, ' for ', TITLE)"/></DESCRIPTION> 126 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/related/', NAME, '/', $indicator/NAME, '.html')"/></URL>126 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/related/', NAME, '/', $indicator/NAME, '.html')"/></URL> 127 127 </SELECTION> 128 128 </xsl:for-each> … … 181 181 <TITLE>View as XML</TITLE> 182 182 <DESCRIPTION>Get the raw XML Indicator Profile data for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 183 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'view/xml/indicator/profile/', $indicator/NAME, '.xml')"/></URL>183 <URL><xsl:value-of select="concat($ibis.contextPath, 'view/xml/indicator/profile/', $indicator/NAME, '.xml')"/></URL> 184 184 </SELECTION> 185 185 </SELECTIONS> -
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/SiteSpecific.xslt
r18199 r18253 31 31 <SHOW/> 32 32 <SELECTION> 33 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/facts/', $indicator/NAME, '.html')"/></URL>33 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/facts/', $indicator/NAME, '.html')"/></URL> 34 34 <DESCRIPTION>Important Facts page for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 35 35 <TITLE>Important Facts</TITLE> … … 38 38 <xsl:if test="string-length($indicator/SERVICES_AVAILABLE_TO_PUBLIC) != 0"> 39 39 <SELECTION> 40 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/services/', $indicator/NAME, '.html')"/></URL>40 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/services/', $indicator/NAME, '.html')"/></URL> 41 41 <DESCRIPTION>Services Available to the Public page for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 42 42 <TITLE>Available Services</TITLE> … … 45 45 46 46 <SELECTION> 47 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/resources/', $indicator/NAME, '.html')"/></URL>47 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/resources/', $indicator/NAME, '.html')"/></URL> 48 48 <DESCRIPTION>More Resources and Web Links page for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 49 49 <TITLE>More Resources & Links</TITLE> … … 58 58 <xsl:if test="$indicatorViewCount < 2"> 59 59 <TITLE>Data View</TITLE> 60 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/view/', $indicator/DEFAULT_INDICATOR_VIEW_NAME, '.html')"/></URL>60 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/view/', $indicator/DEFAULT_INDICATOR_VIEW_NAME, '.html')"/></URL> 61 61 <DESCRIPTION>Interacitve view of <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 62 62 </xsl:if> … … 69 69 <xsl:sort select="SORT_ORDER" order="ascending" data-type="number"/> 70 70 <SELECTION> 71 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/view/', NAME, '.html')"/></URL>71 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/view/', NAME, '.html')"/></URL> 72 72 <DESCRIPTION>Interactive view of <xsl:value-of select="TITLE"/></DESCRIPTION> 73 73 <xsl:copy-of select="TITLE"/> … … 91 91 <xsl:copy-of select="TITLE"/> 92 92 <DESCRIPTION>Indicators related to <xsl:value-of select="concat($indicator/TITLE, ' for ', TITLE)"/></DESCRIPTION> 93 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/view/', NAME, '.html')"/></URL>93 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/view/', NAME, '.html')"/></URL> 94 94 </SELECTION> 95 95 </xsl:for-each> … … 109 109 <TITLE><xsl:value-of select="TITLE"/></TITLE> 110 110 <DESCRIPTION>Indicators related to <xsl:value-of select="concat($indicator/TITLE, ' for ', TITLE)"/></DESCRIPTION> 111 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'indicator/related/', NAME, '/', $indicator/NAME, '.html')"/></URL>111 <URL><xsl:value-of select="concat($ibis.contextPath, 'indicator/related/', NAME, '/', $indicator/NAME, '.html')"/></URL> 112 112 </SELECTION> 113 113 </xsl:for-each> … … 197 197 <TITLE>View as XML</TITLE> 198 198 <DESCRIPTION>Get the raw XML Indicator Profile data for <xsl:value-of select="$indicator/TITLE"/></DESCRIPTION> 199 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'view/xml/indicator/profile/', $indicator/NAME, '.xml')"/></URL>199 <URL><xsl:value-of select="concat($ibis.contextPath, 'view/xml/indicator/profile/', $indicator/NAME, '.xml')"/></URL> 200 200 </SELECTION> 201 201 -
trunk/ibisph-view/src/main/webapp/xslt/html/publication/SiteSpecific.xslt
r15958 r18253 28 28 ibis:doc="core publication nav path template" 29 29 > 30 <a href="{$ibis. urlPrefix}"><xsl:value-of select="$Page.applicationTitle"/></a> >31 <a href="{$ibis. urlPrefix}publication/Introduction.html">Publications</a>30 <a href="{$ibis.contextPath}"><xsl:value-of select="$Page.applicationTitle"/></a> > 31 <a href="{$ibis.contextPath}publication/Introduction.html">Publications</a> 32 32 </xsl:template> 33 33 -
trunk/ibisph-view/src/main/webapp/xslt/html/publication/index/chronological/Page.xslt
r17685 r18253 39 39 publications published in that year. Click on the publication's title link to go directly 40 40 to the publication. To return to the top, click on "back to the top" link which is located 41 on the right side of the blue bars. A <a href="{$ibis. urlPrefix}publications/index/Topical.html">Topical Publications List</a>41 on the right side of the blue bars. A <a href="{$ibis.contextPath}publications/index/Topical.html">Topical Publications List</a> 42 42 is also available. 43 43 <br/><br/> … … 61 61 <tr> 62 62 <th scope="row" class="Section"> 63 <a href="{concat($ibis. urlPrefix, 'phom')}">63 <a href="{concat($ibis.contextPath, 'phom')}"> 64 64 DOH Report to the Legislature: Public Health Outcome 65 65 Measures Report -
trunk/ibisph-view/src/main/webapp/xslt/html/publication/index/topical/Page.xslt
r17685 r18253 31 31 lists those publications associated with that topic. Click on the publication's title 32 32 link to go directly to the publication. To return to the top, click on "back to the top" 33 link which is located on the right side of the blue bars. A <a href="{$ibis. urlPrefix}publications/index/Chronological.html">Chronological Publications List</a>33 link which is located on the right side of the blue bars. A <a href="{$ibis.contextPath}publications/index/Chronological.html">Chronological Publications List</a> 34 34 is also available. 35 35 <br/><br/> … … 62 62 <tbody> 63 63 <tr> 64 <th scope="row" class="Section"><a href="{concat($ibis. urlPrefix, 'phom')}">64 <th scope="row" class="Section"><a href="{concat($ibis.contextPath, 'phom')}"> 65 65 DOH Report to the Legislature: Public Health Outcome Measures Report</a> 66 66 </th> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/definition/QueryDefinitions.xslt
r16458 r18253 26 26 ibis:doc="ability to SS override the QD list default action type." 27 27 /> 28 <xsl:param name="QueryDefinitions. urlSegments" select="'query/definition/'"28 <xsl:param name="QueryDefinitions.basePath" select="'query/definition/'" 29 29 ibis:doc="ability to SS override the base request QD related requst URLs" 30 30 /> 31 <xsl:param name="QueryDefinitions. urlPrefix" select="concat($ibis.urlPrefix, $QueryDefinitions.urlSegments)"31 <xsl:param name="QueryDefinitions.requestBasePath" select="concat($ibis.contextPath, $QueryDefinitions.basePath)" 32 32 ibis:doc="ability to SS override the base request QD related requst URLs" 33 33 /> … … 37 37 <xsl:variable name="urlPrefix" select=" 38 38 if(string-length(REQUEST_PATH_PREFIX) != 0) 39 then concat($ibis. urlPrefix, REQUEST_PATH_PREFIX, '/')40 else $ibis. urlPrefix39 then concat($ibis.contextPath, REQUEST_PATH_PREFIX, '/') 40 else $ibis.contextPath 41 41 "/> 42 42 --> … … 183 183 <xsl:variable name="urlPrefix" select=" 184 184 if(string-length(REQUEST_PATH_PREFIX) != 0) 185 then concat($ibis. urlPrefix, REQUEST_PATH_PREFIX, '/')186 else $ibis. urlPrefix185 then concat($ibis.contextPath, REQUEST_PATH_PREFIX, '/') 186 else $ibis.contextPath 187 187 "/> 188 188 --> … … 190 190 <li title="{NAME} modified on: {MODIFIED_DATE}"> 191 191 <a id="{substring(TITLE, 1, 1)}" title="Jump to page link for {TITLE}" 192 href="{$QueryDefinitions. urlPrefix}{$requestAction}/{$queryDefinitions/NAME}/{NAME}.html"192 href="{$QueryDefinitions.requestBasePath}{$requestAction}/{$queryDefinitions/NAME}/{NAME}.html" 193 193 ><xsl:value-of select="TITLE"/> 194 194 </a> … … 288 288 <td title="Title of definition named: {NAME}"> 289 289 <a id="{substring(TITLE, 1, 1)}" title="Jump to page link for {TITLE}" 290 href="{$QueryDefinitions. urlPrefix}result/{$queryDefinitions/NAME}/{NAME}.html"290 href="{$QueryDefinitions.requestBasePath}result/{$queryDefinitions/NAME}/{NAME}.html" 291 291 ><xsl:value-of select="TITLE"/></a> 292 292 <xsl:if test="string-length(DESCRIPTION) != 0"> … … 300 300 301 301 <td class="TextAlignCenter QueryDefinitionSelection"> 302 <a href="{$QueryDefinitions. urlPrefix}builder/{$queryDefinitions/NAME}/{NAME}.html"302 <a href="{$QueryDefinitions.requestBasePath}builder/{$queryDefinitions/NAME}/{NAME}.html" 303 303 title="click this link to refine/edit the {TITLE} query definition." 304 ><img src="{$ibis. urlPrefix}image/icon/32/funnel_list.png" alt="Edit" title="Edit Refine Query Criteria"/></a>304 ><img src="{$ibis.contextPath}image/icon/32/funnel_list.png" alt="Edit" title="Edit Refine Query Criteria"/></a> 305 305 </td> 306 306 <td class="TextAlignCenter QueryDefinitionSelection"> 307 <a href="{$QueryDefinitions. urlPrefix}apply/{$queryDefinitions/NAME}/{NAME}.html"307 <a href="{$QueryDefinitions.requestBasePath}apply/{$queryDefinitions/NAME}/{NAME}.html" 308 308 title="click this link to apply the {TITLE} criteria/selections." 309 ><img src="{$ibis. urlPrefix}image/icon/32/set_intersection.png" alt="Apply" title="Apply Criteria"/></a>309 ><img src="{$ibis.contextPath}image/icon/32/set_intersection.png" alt="Apply" title="Apply Criteria"/></a> 310 310 </td> 311 311 <td class="TextAlignCenter QueryDefinitionSelection"> 312 <a href="{$QueryDefinitions. urlPrefix}detail/{$queryDefinitions/NAME}/{NAME}.html"312 <a href="{$QueryDefinitions.requestBasePath}detail/{$queryDefinitions/NAME}/{NAME}.html" 313 313 title="click this link to view the {TITLE} query definition." 314 ><img src="{$ibis. urlPrefix}image/icon/32/detail_2.png" alt="Detail" title="View Definition Detail Page"/></a>314 ><img src="{$ibis.contextPath}image/icon/32/detail_2.png" alt="Detail" title="View Definition Detail Page"/></a> 315 315 </td> 316 316 -
trunk/ibisph-view/src/main/webapp/xslt/html/query/definition/SiteSpecific.xslt
r15958 r18253 18 18 <!-- menu: 19 19 Please 20 see the <a href="{$ibis. urlPrefix}query/SavedQueryHelp.html">Saved20 see the <a href="{$ibis.contextPath}query/SavedQueryHelp.html">Saved 21 21 Query Help</a> page for general information about saved query usage 22 22 and its capabilities. -
trunk/ibisph-view/src/main/webapp/xslt/html/query/definition/StickyQueryDefinitionToggle.xslt
r15958 r18253 110 110 var stickyValue = stickyCheckBoxElement.value; 111 111 if(!stickyCheckBoxElement.checked) stickyValue = ""; 112 var url = "<xsl:value-of select="$ibis. urlPrefix"/>query/definition/toggle/sticky?stickyValue=" + stickyValue;112 var url = "<xsl:value-of select="$ibis.contextPath"/>query/definition/toggle/sticky?stickyValue=" + stickyValue; 113 113 var httpRequest = new XMLHttpRequest(); 114 114 httpRequest.open('GET', url, true); -
trunk/ibisph-view/src/main/webapp/xslt/html/query/definition/detail/Detail.xslt
r15958 r18253 33 33 34 34 35 <xsl:param name="Detail.queryDefinition URLSegments" select="'query/definition/'"35 <xsl:param name="Detail.queryDefinitionBasePath" select="'query/definition/'" 36 36 ibis:doc="ability to SS override the base request QD related requst URLs" 37 37 /> 38 <xsl:param name="Detail.queryDefinition URLPrefix" select="concat($ibis.urlPrefix, $Detail.queryDefinitionURLSegments)"38 <xsl:param name="Detail.queryDefinitionRequestBasePath" select="concat($ibis.contextPath, $Detail.queryDefinitionBasePath)" 39 39 ibis:doc="ability to SS override the QD prefix" 40 40 /> 41 <xsl:param name="xxxxxxDetail.urlPrefix" select=" 42 if(string-length($Detail.queryDefinition/REQUEST_PATH_PREFIX) != 0) 43 then concat($ibis.urlPrefix, $Detail.queryDefinition/REQUEST_PATH_PREFIX, '/') 44 else $ibis.urlPrefix 45 "/> 46 47 <xsl:param name="Detail.savedQueryHelpURL" select="concat($ibis.urlPrefix, 'query/SavedQueryHelp.html')"/> 41 42 <xsl:param name="Detail.savedQueryHelpRequestPath" select="concat($ibis.contextPath, 'query/SavedQueryHelp.html')"/> 48 43 49 44 … … 54 49 measures or datasets by defining a set of criteria to be used and applying 55 50 those selections to subsequent dataset queries. Please see the 56 <a href="{$Detail.savedQueryHelp URL}">Saved Query Help</a>51 <a href="{$Detail.savedQueryHelpRequestPath}">Saved Query Help</a> 57 52 page for general information about saved query usage and its capabilities. 58 53 … … 85 80 <xsl:param name="Detail.editOverviewContent"> 86 81 Edit/view your saved query defintion. Please see the 87 <a href="{$Detail.savedQueryHelp URL}">Saved Query Help</a>82 <a href="{$Detail.savedQueryHelpRequestPath}">Saved Query Help</a> 88 83 page for general information about saved query usage and its capabilities. 89 84 … … 133 128 <xsl:value-of select="$Detail.queryDefinition/QUERY_DEFINITIONS_NAME"/>'s 134 129 saved query defintion. Please see the 135 <a href="{$Detail.savedQueryHelp URL}">Saved Query Help</a>130 <a href="{$Detail.savedQueryHelpRequestPath}">Saved Query Help</a> 136 131 page for general information about saved query usage and its capabilities. 137 132 … … 251 246 <xsl:param name="urlRequestCommand"/> 252 247 253 <xsl:variable name="url" select="concat($ibis.remote URLPrefix, $Detail.queryDefinitionURLSegments, $urlRequestCommand)"/>248 <xsl:variable name="url" select="concat($ibis.remoteRequestPath, $Detail.queryDefinitionURLSegments, $urlRequestCommand)"/> 254 249 <tr> 255 250 <th scope="row" title="{$rowDescription}"> … … 268 263 title="Share this page on Facebook" 269 264 rel="nofollow" target="_blank"> 270 <img src="{$ibis. urlPrefix}image/icon/32/facebook-blue.png" alt="Facebook logo"/>265 <img src="{$ibis.contextPath}image/icon/32/facebook-blue.png" alt="Facebook logo"/> 271 266 </a> 272 267 <a href="javascript:window.open('http://twitter.com/share?url={$url}')" 273 268 title="Share this page on Twitter" 274 269 rel="nofollow" target="_blank"> 275 <img src="{$ibis. urlPrefix}image/icon/32/twitter-blue.png" alt="Twitter logo"/>270 <img src="{$ibis.contextPath}image/icon/32/twitter-blue.png" alt="Twitter logo"/> 276 271 </a> 277 272 <a href="javascript:window.open('https://plus.google.com/share?url={$url}')" 278 273 title="Share this page on Google+" 279 274 rel="nofollow" target="_blank"> 280 <img src="{$ibis. urlPrefix}image/icon/32/google_plus-red.png" alt="Google+ logo"/>275 <img src="{$ibis.contextPath}image/icon/32/google_plus-red.png" alt="Google+ logo"/> 281 276 </a> 282 277 <a href="javascript:window.open('http://www.linkedin.com/shareArticle?url={$url}'')" 283 278 title="Share this page on LinkedIn" 284 279 rel="nofollow" target="_blank"> 285 <img src="{$ibis. urlPrefix}image/icon/32/linkedin-blue.png" alt="LinkedIn logo"/>280 <img src="{$ibis.contextPath}image/icon/32/linkedin-blue.png" alt="LinkedIn logo"/> 286 281 </a> 287 282 </td> … … 294 289 <xsl:variable name="definitionURLSuffix" select="concat($Detail.queryDefinition/QUERY_DEFINITIONS_NAME, '/', $Detail.queryDefinition/NAME, '.html')"/> 295 290 <button type="button" accesskey="U" class="Run" 296 onclick="location.href='{$Detail.queryDefinition URLPrefix}result/{$definitionURLSuffix}'"291 onclick="location.href='{$Detail.queryDefinitionRequestBasePath}result/{$definitionURLSuffix}'" 297 292 title="Submits the query and displays the result" 298 293 >Run Query</button> 299 294 <button type="button" accesskey="B" class="Edit" 300 onclick="location.href='{$Detail.queryDefinition URLPrefix}builder/{$definitionURLSuffix}'"295 onclick="location.href='{$Detail.queryDefinitionRequestBasePath}builder/{$definitionURLSuffix}'" 301 296 title="Edit the query definition via the query builder/definition page" 302 297 >Edit Criteria</button> 303 298 <button type="button" accesskey="A" class="Apply" 304 onclick="location.href='{$Detail.queryDefinition URLPrefix}apply/{$definitionURLSuffix}'"299 onclick="location.href='{$Detail.queryDefinitionRequestBasePath}apply/{$definitionURLSuffix}'" 305 300 title="Apply the definition to the current query dataset and edit the merged query definition via the builder page" 306 301 >Apply Criteria</button> … … 317 312 <xsl:if test="$Detail.isNewDefinition"> 318 313 <button type="button" accesskey="U" class="Run" 319 onclick="location.href='{$Detail.queryDefinition URLPrefix}result/{/QUERY_MODULE/REQUEST/CONFIGURATION_PATH}.html'"314 onclick="location.href='{$Detail.queryDefinitionRequestBasePath}result/{/QUERY_MODULE/REQUEST/CONFIGURATION_PATH}.html'" 320 315 title="Submit the query without saving the query definition" 321 316 >Submit Query</button> 322 317 <button type="button" accesskey="B" class="Edit" 323 onclick="location.href='{$Detail.queryDefinition URLPrefix}builder/{/QUERY_MODULE/REQUEST/CONFIGURATION_PATH}.html'"318 onclick="location.href='{$Detail.queryDefinitionRequestBasePath}builder/{/QUERY_MODULE/REQUEST/CONFIGURATION_PATH}.html'" 324 319 title="Edit the query dataset criteria via the query builder page" 325 320 >Edit Criteria</button> … … 327 322 328 323 <button type="button" accesskey="L" class="List" 329 onclick="location.href='{$Detail.queryDefinition URLPrefix}list/{$Detail.queryDefinition/QUERY_DEFINITIONS_NAME}.html'"324 onclick="location.href='{$Detail.queryDefinitionRequestBasePath}list/{$Detail.queryDefinition/QUERY_DEFINITIONS_NAME}.html'" 330 325 title="Display list of your query definitions" 331 326 >Simple Definitions List</button> 332 327 <button type="button" accesskey="I" class="List" 333 onclick="location.href='{$Detail.queryDefinition URLPrefix}index/{$Detail.queryDefinition/QUERY_DEFINITIONS_NAME}.html'"328 onclick="location.href='{$Detail.queryDefinitionRequestBasePath}index/{$Detail.queryDefinition/QUERY_DEFINITIONS_NAME}.html'" 334 329 title="Display list of your query definitions" 335 330 >Advanced Definitions Index</button> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/definition/detail/Page.xslt
r15958 r18253 32 32 </xsl:param> 33 33 34 <xsl:param name="Page.requestBasePath" ibis:doc="Allows secure detail page to set to 'secure'."/> 34 35 35 36 <xsl:template name="Page.specificCSS"> 36 <link rel="stylesheet" type="text/css" href="{$ibis. urlPrefix}css/Edit.css"/>37 <link rel="stylesheet" type="text/css" href="{$ibis.contextPath}css/Edit.css"/> 37 38 <style> 38 39 td input, td textarea … … 55 56 > 56 57 <script type="text/javascript"> 57 var webappPrefix = "<xsl:value-of select="$Detail.queryDefinitionURLPrefix"/>";58 var queryDefinitionRequestBasePath = "<xsl:value-of select="$Detail.queryDefinitionRequestBasePath"/>"; 58 59 var queryDefinitionsName = "<xsl:value-of select="$Detail.queryDefinition/QUERY_DEFINITIONS_NAME"/>"; 59 60 var queryDefinitionName = "<xsl:value-of select="$Detail.queryDefinition/NAME"/>"; … … 87 88 var confirmDelete = confirm("Are you sure you want to delete the '" + queryDefinitionName + "' definition?"); 88 89 if(!confirmDelete) return(false); 89 location.href = webappPrefix+ "delete/" + queryDefinitionName;90 location.href = queryDefinitionRequestBasePath + "delete/" + queryDefinitionName; 90 91 } 91 92 … … 165 166 <xsl:with-param name="show" select="true()"/> 166 167 <xsl:with-param name="content" > 167 <form name="form" id="form" method="post" action="{$Detail.queryDefinitionURLPrefix}save" autocomplete="on"> 168 <xsl:variable name="Page.requestPathPrefix" ibis:doc="Allows secure detail page to set to 'secure'."/> 168 <form name="form" id="form" method="post" action="{$Detail.queryDefinitionRequestBasePath}save" autocomplete="on"> 169 169 <input type="hidden" id="configurationPath" name="configurationPath" value="{/QUERY_MODULE/REQUEST/CONFIGURATION_PATH}"/> 170 <input type="hidden" id="requestPathPrefix" name="requestPathPrefix"170 <input type="hidden" id="requestBasePath" name="requestBasePath" 171 171 value="{if( string-length($Detail.queryDefinition/REQUEST_PATH_PREFIX) != 0) 172 172 then $Detail.queryDefinition/REQUEST_PATH_PREFIX 173 else $Page.request PathPrefix173 else $Page.requestBasePath 174 174 }" 175 175 /> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/definition/index/Page.xslt
r15958 r18253 43 43 query definition and click on the associated action. Clicking on the 44 44 definition's title will take you to that definitions detail page. Please 45 see the <a href="{$ibis. urlPrefix}query/SavedQueryHelp.html">Saved45 see the <a href="{$ibis.contextPath}query/SavedQueryHelp.html">Saved 46 46 Query Help</a> page for general information about saved query usage 47 47 and its capabilities. -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/builder/Builder.xslt
r17502 r18253 20 20 <!-- ~~~~~~~~~~~~~~~~~~~~~~~ PARAMS / VARIABLES ~~~~~~~~~~~~~~~~~~~~~~~~ --> 21 21 <xsl:param name="Builder.postURL" 22 select="concat($ibis. urlPrefix, 'query/submit/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"22 select="concat($ibis.contextPath, 'query/submit/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')" 23 23 ibis:doc="Mechanism implemented so secure query can have a different result page." 24 24 /> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/builder/Page.xslt
r17938 r18253 47 47 --> 48 48 </xsl:param> 49 <xsl:param name="Page.queryDefinitionFromBuilder URLPrefix" select="'query/definition/from/builder'"/>49 <xsl:param name="Page.queryDefinitionFromBuilderPath" select="'query/definition/from/builder'"/> 50 50 51 51 … … 73 73 for the query module builder pages." 74 74 > 75 <script type="text/javascript" src="{$ibis. urlPrefix}js/InputSelections.js"/>75 <script type="text/javascript" src="{$ibis.contextPath}js/InputSelections.js"/> 76 76 <script type="text/javascript"> 77 var saveCriteriaURL = "<xsl:value-of select="concat($ibis. urlPrefix, $Page.queryDefinitionFromBuilderURLPrefix)"/>";77 var saveCriteriaURL = "<xsl:value-of select="concat($ibis.contextPath, $Page.queryDefinitionFromBuilderPath)"/>"; 78 78 window.inputSelections = new InputSelections(); // all input elements on the page. 79 79 -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/builder/SiteSpecific.xslt
r17502 r18253 53 53 </SELECTION> 54 54 <SELECTION> 55 <URL><xsl:value-of select="concat($ibis. urlPrefix, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL>55 <URL><xsl:value-of select="concat($ibis.contextPath, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL> 56 56 <DESCRIPTION>Choose different query dataset/measure.</DESCRIPTION> 57 57 <TITLE>Select Different Measure</TITLE> … … 63 63 </SELECTION> 64 64 <SELECTION> 65 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL>65 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL> 66 66 <DESCRIPTION>Reloads the query definition.</DESCRIPTION> 67 67 <TITLE>Reset to Default Selections</TITLE> … … 98 98 </xsl:if> 99 99 <SELECTION> 100 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/definition/index/MyDefinitions.html')"/></URL>100 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/definition/index/MyDefinitions.html')"/></URL> 101 101 <DESCRIPTION>Click this button to access all query definitions.</DESCRIPTION> 102 102 <TITLE>My Saved Query Definitions</TITLE> … … 120 120 <SHOW/> 121 121 <SELECTION> 122 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/configuration/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL>122 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/configuration/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL> 123 123 <DESCRIPTION>View the Query Module XML.</DESCRIPTION> 124 124 <TITLE>View Query Module XML</TITLE> … … 186 186 </div> 187 187 188 <script language="JavaScript" type="text/javascript" src="{$ibis. urlPrefix}js/Cookie.js"/>188 <script language="JavaScript" type="text/javascript" src="{$ibis.contextPath}js/Cookie.js"/> 189 189 <script language="JavaScript" type="text/javascript"> 190 var agreementCookie = new Cookie("UsageAgreement", null, "<xsl:value-of select="$ibis. urlPrefix"/>");190 var agreementCookie = new Cookie("UsageAgreement", null, "<xsl:value-of select="$ibis.contextPath"/>"); 191 191 var usageAgreementDialog = null; 192 192 $(document).ready(function() -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/configurations_by_file.xslt
r15958 r18253 95 95 <xsl:param name="file" select="document(concat($ConfigurationsByFile.filePath, $filename), /)"/> 96 96 <xsl:param name="configCount" select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION)"/> 97 <xsl:param name="partialURL" select="concat($ibis. urlPrefix, replace( replace($filename, '.xml', ''), 'query/module/', 'query/result/'))"/>97 <xsl:param name="partialURL" select="concat($ibis.contextPath, replace( replace($filename, '.xml', ''), 'query/module/', 'query/result/'))"/> 98 98 99 99 <xsl:if test="$configCount > 0"> 100 100 <div class="FileHeader"> 101 <button type="button" onclick="window.location.href='{$ibis. urlPrefix}view.html?xslt=html/query/module/report/exercise_configurations.xslt&xml={$filename}'">Exercise Configurations</button>101 <button type="button" onclick="window.location.href='{$ibis.contextPath}view.html?xslt=html/query/module/report/exercise_configurations.xslt&xml={$filename}'">Exercise Configurations</button> 102 102 <h2><xsl:value-of select="$file/QUERY_MODULE/TITLE"/></h2> 103 103 <div>Module File: <xsl:value-of select="$filename"/>, Config Count: <xsl:value-of select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION)"/></div> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/configurations_by_file_table.xslt
r15958 r18253 100 100 <xsl:param name="file" select="document(concat($ConfigurationsByFile.filePath, $filename), /)"/> 101 101 <xsl:param name="configCount" select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION)"/> 102 <xsl:param name="partialURL" select="concat($ibis. urlPrefix, replace( replace($filename, '.xml', ''), 'query/module/', 'query/builder/'))"/>102 <xsl:param name="partialURL" select="concat($ibis.contextPath, replace( replace($filename, '.xml', ''), 'query/module/', 'query/builder/'))"/> 103 103 104 104 <xsl:if test="$configCount > 0"> … … 106 106 <th scope="col"><xsl:value-of select="$file/QUERY_MODULE/TITLE"/></th> 107 107 <th scope="col"> 108 <a href="{$ibis. urlPrefix}view?xslt=query/module/report/exercise_configurations.xslt&xml={$filename}">108 <a href="{$ibis.contextPath}view?xslt=query/module/report/exercise_configurations.xslt&xml={$filename}"> 109 109 <xsl:value-of select="$filename"/> 110 110 </a> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/dup_cgb_configurations_by_file.xslt
r15958 r18253 92 92 <xsl:param name="file" select="document(concat($filenamePath, $filename), /)"/> 93 93 <xsl:param name="configCount" select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION[count(PARAMETERS/PARAMETER[NAME='_SeriesGroupByDimensionName']) > 1])"/> 94 <xsl:param name="partialURL" select="concat($ibis. urlPrefix, replace( replace($filename, '.xml', ''), 'query/module/', 'query/result/'))"/>94 <xsl:param name="partialURL" select="concat($ibis.contextPath, replace( replace($filename, '.xml', ''), 'query/module/', 'query/result/'))"/> 95 95 96 96 <xsl:if test="$configCount > 0"> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/exercise_configurations - all in one.xslt
r15958 r18253 102 102 <xsl:for-each select="/FILES/FILE"> 103 103 <xsl:call-template name="processFile"> 104 <xsl:with-param name="path Prefix"select="'../'"/>105 <xsl:with-param name="filename" 104 <xsl:with-param name="path" select="'../'"/> 105 <xsl:with-param name="filename" select="current()/NAME"/> 106 106 </xsl:call-template> 107 107 </xsl:for-each> … … 109 109 <xsl:when test="$isModuleFile"> 110 110 <xsl:call-template name="processFile"> 111 <xsl:with-param name="path Prefix"select="'xml/'"/>111 <xsl:with-param name="path" select="'xml/'"/> 112 112 <xsl:with-param name="filename" select="$xml"/> 113 113 </xsl:call-template> … … 134 134 135 135 <xsl:template name="processFile"> 136 <xsl:param name="path Prefix"/>136 <xsl:param name="path"/> 137 137 <xsl:param name="filename"/> 138 <xsl:variable name="file" select="document(concat($path Prefix, $filename), /)"/>138 <xsl:variable name="file" select="document(concat($path, $filename), /)"/> 139 139 <xsl:variable name="configCount" select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION)"/> 140 140 … … 142 142 <xsl:variable name="baseBuilderPath" select="replace(replace($filename, '.xml', ''), '/module/', '/builder/')"/> 143 143 <xsl:for-each select="$file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION"> 144 url[index++] = "<xsl:value-of select="concat($ibis. urlPrefix, $baseBuilderPath, '/', NAME[1], '.html?AutoSubmit=true')"/>";144 url[index++] = "<xsl:value-of select="concat($ibis.contextPath, $baseBuilderPath, '/', NAME[1], '.html?AutoSubmit=true')"/>"; 145 145 </xsl:for-each> 146 146 </xsl:if> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/exercise_configurations.xslt
r15958 r18253 54 54 <xsl:variable name="baseBuilderPath" select="replace(replace($xml, '.xml', ''), '/module/', '/result/')"/> 55 55 <xsl:for-each select="/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION"> 56 url[index++] = "<xsl:value-of select="concat($ibis. urlPrefix, $baseBuilderPath, '/', NAME[1], '.html')"/>";56 url[index++] = "<xsl:value-of select="concat($ibis.contextPath, $baseBuilderPath, '/', NAME[1], '.html')"/>"; 57 57 </xsl:for-each> 58 58 -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/exercise_files_configurations.xslt
r15958 r18253 98 98 <xsl:variable name="baseBuilderPath" select="replace(replace($filename, '.xml', ''), '/module/', '/result/')"/> 99 99 <xsl:for-each select="$file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION"> 100 url[index++] = "<xsl:value-of select="concat($ibis. urlPrefix, $baseBuilderPath, '/', NAME[1], '.html')"/>";100 url[index++] = "<xsl:value-of select="concat($ibis.contextPath, $baseBuilderPath, '/', NAME[1], '.html')"/>"; 101 101 </xsl:for-each> 102 102 </xsl:if> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/map_no_cgb_configurations_by_file.xslt
r15958 r18253 89 89 <xsl:param name="file" select="document(concat('../', $filename), /)"/> 90 90 <xsl:param name="configCount" select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION[ exists(MAP) and count(PARAMETERS/PARAMETER[NAME='_SeriesGroupByDimensionName']) = 0])"/> 91 <xsl:param name="partialURL" select="concat($ibis. urlPrefix, replace( replace($filename, '.xml', ''), 'query/module/', 'query/result/'))"/>91 <xsl:param name="partialURL" select="concat($ibis.contextPath, replace( replace($filename, '.xml', ''), 'query/module/', 'query/result/'))"/> 92 92 93 93 <xsl:if test="$configCount > 0"> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/result/Page.xslt
r17771 r18253 50 50 /> 51 51 52 <xsl:param name="Page.resultURL" select="concat($ibis. urlPrefix, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"/>52 <xsl:param name="Page.resultURL" select="concat($ibis.contextPath, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"/> 53 53 54 54 <xsl:param name="Page.dimensions" select="/QUERY_MODULE/DIMENSIONS"/> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/result/Result.xslt
r17771 r18253 87 87 the servers or the network. Please wait a few minutes and try 88 88 your query again. If the problem persists, please report this 89 problem to us (<a href="{$ibis. urlPrefix}about/ContactInformation.html">contact information</a>).89 problem to us (<a href="{$ibis.contextPath}about/ContactInformation.html">contact information</a>). 90 90 The nature of the problem is shown below and will be helpful 91 91 when reporting the problem. We apologize for any inconveniences … … 103 103 <h2>SAS/CGI System Error:</h2> 104 104 There is a problem getting the specified query data from the 105 database. Please report this problem to us (<a href="{$ibis. urlPrefix}about/ContactInformation.html">contact information</a>).105 database. Please report this problem to us (<a href="{$ibis.contextPath}about/ContactInformation.html">contact information</a>). 106 106 The nature of the problem is shown below and will be helpful 107 107 when reporting the problem. We apologize for any inconveniences … … 259 259 <xsl:call-template name="Graphic.choroplethMapJavaScript"/> 260 260 </xsl:if> 261 <script type="text/javascript" src="{$ibis. urlPrefix}js/jszip.js"/>261 <script type="text/javascript" src="{$ibis.contextPath}js/jszip.js"/> 262 262 <script type="text/javascript"> 263 263 var records = … … 320 320 <xsl:with-param name="geoJSONName" select="$request/ACTUAL_GROUP_BY/CATEGORY_DIMENSION_NAME"/> 321 321 322 <xsl:with-param name="geoIDFieldName" 323 <xsl:with-param name="geoIDFieldValuePrefixToRemove" 324 <xsl:with-param name="legendTitle" select="$measure/TITLE"/>325 <xsl:with-param name="geoTypeTitle" select="ibis:getDimensionTitle($queryModule//DIMENSIONS/DIMENSION[NAME = $configuration/MAP_DIMENSION_NAME])"/>326 <xsl:with-param name="reverseColors" select="$measure/DESIRABLE_VALUE = 1"/>327 <xsl:with-param name="desirable IndexValue"select="$measure/DESIRABLE_VALUE"/>322 <xsl:with-param name="geoIDFieldName" select="'Category'"/> 323 <xsl:with-param name="geoIDFieldValuePrefixToRemove" select="concat($request/ACTUAL_GROUP_BY/CATEGORY_DIMENSION_NAME, '.')"/> 324 <xsl:with-param name="legendTitle" select="$measure/TITLE"/> 325 <xsl:with-param name="geoTypeTitle" select="ibis:getDimensionTitle($queryModule//DIMENSIONS/DIMENSION[NAME = $configuration/MAP_DIMENSION_NAME])"/> 326 <xsl:with-param name="reverseColors" select="$measure/DESIRABLE_VALUE = 'HIGH'"/> 327 <xsl:with-param name="desirableValue" select="$measure/DESIRABLE_VALUE"/> 328 328 <xsl:with-param name="comparisonValue" select="$datasetRecords/RECORD[ DIMENSIONS[ (2 = count(DIMENSION)) and DIMENSION[(NAME = $Result.comparisonDimensionName) and (VALUE = $Result.comparisonDimensionValue)]]]/MEASURE/VALUE"/> 329 329 </xsl:call-template> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/result/SiteSpecific.xslt
r17632 r18253 19 19 20 20 <!-- ~~~~~~~~~~~~~~~~~~~~~~~ PARAMS / VARIABLES ~~~~~~~~~~~~~~~~~~~~~~~~ --> 21 <xsl:param name="SiteSpecific.builderURL" select="concat($ibis. urlPrefix, 'query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"21 <xsl:param name="SiteSpecific.builderURL" select="concat($ibis.contextPath, 'query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')" 22 22 ibis:doc="Builder page URL." 23 23 /> … … 53 53 </SELECTION> 54 54 <SELECTION> 55 <URL><xsl:value-of select="concat($ibis. urlPrefix, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL>55 <URL><xsl:value-of select="concat($ibis.contextPath, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL> 56 56 <DESCRIPTION>Choose different query dataset/measure.</DESCRIPTION> 57 57 <TITLE>Select Different Measure</TITLE> 58 58 </SELECTION> 59 59 <SELECTION> 60 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL>60 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL> 61 61 <DESCRIPTION>Runs the query using default criteria.</DESCRIPTION> 62 62 <TITLE>Load Default Query Definition</TITLE> … … 70 70 <SHOW/> 71 71 <SELECTION> 72 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/definition/from/result')"/></URL>72 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/definition/from/result')"/></URL> 73 73 <DESCRIPTION>Click this button to define a saved query result definition.</DESCRIPTION> 74 74 <TITLE>Save Query Definition</TITLE> 75 75 </SELECTION> 76 76 <SELECTION> 77 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/definition/index/MyDefinitions.html')"/></URL>77 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/definition/index/MyDefinitions.html')"/></URL> 78 78 <DESCRIPTION>Click this button to access all query definitions.</DESCRIPTION> 79 79 <TITLE>My Saved Query Definitions</TITLE> … … 111 111 112 112 <SELECTION> 113 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL>113 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL> 114 114 <DESCRIPTION>View the IBISQ result XML.</DESCRIPTION> 115 115 <TITLE>View Resultant IBISQ XML</TITLE> -
trunk/ibisph-view/src/main/webapp/xslt/html/query/report/usage_by_xinclude_file.xslt
r15958 r18253 53 53 and does not show the complete file inclusion path back to the root parent 54 54 container file. For the complete nested tree see the 55 <a href="{$ibis. urlPrefix}view?xslt=query/report/xincludes_by_file.xslt&xml={$xml}">55 <a href="{$ibis.contextPath}view?xslt=query/report/xincludes_by_file.xslt&xml={$xml}"> 56 56 Files Xinclude Report</a> which shows the main parent container file along 57 57 with an indentured list of all files used/referenced. This report doesn't -
trunk/ibisph-view/src/main/webapp/xslt/html/query/report/usage_by_xinclude_file_selections.xslt
r15958 r18253 53 53 and does not show the complete file inclusion path back to the root parent 54 54 container file. For the complete nested tree see the 55 <a href="{$ibis. urlPrefix}view?xslt=query/report/xincludes_by_file.xslt&xml={$xml}">55 <a href="{$ibis.contextPath}view?xslt=query/report/xincludes_by_file.xslt&xml={$xml}"> 56 56 Files Xinclude Report</a> which shows the main parent container file along 57 57 with an indentured list of all files used/referenced. This report doesn't -
trunk/ibisph-view/src/main/webapp/xslt/html/query/report/xincludes_by_file.xslt
r15958 r18253 42 42 structure. If a file exists and is not listed in this report then it needs 43 43 an entry in the "files" xml file. For a list of what files use which include 44 file see the <a href="{$ibis. urlPrefix}view?xslt=query/report/usage_by_xinclude_file.xslt&xml={$xml}">44 file see the <a href="{$ibis.contextPath}view?xslt=query/report/usage_by_xinclude_file.xslt&xml={$xml}"> 45 45 Xincldue XRef</a> report. 46 46 <br/><br/> -
trunk/ibisph-view/src/main/webapp/xslt/html/report/phom/complete/SiteSpecific.xslt
r15958 r18253 27 27 > 28 28 <SELECTION> 29 <URL><xsl:value-of select="concat($ibis. urlPrefix, $SiteSpecific.currentPage/LOCAL_URL)"/></URL>29 <URL><xsl:value-of select="concat($ibis.contextPath, $SiteSpecific.currentPage/LOCAL_URL)"/></URL> 30 30 <DESCRIPTION>Show the default view of this indicator profile</DESCRIPTION> 31 31 <TITLE>Normal View</TITLE> -
trunk/ibisph-view/src/main/webapp/xslt/html/report/phom/summary/SiteSpecific.xslt
r15958 r18253 27 27 > 28 28 <SELECTION> 29 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'report/phom/complete/', $indicator/NAME, '.html')"/></URL>29 <URL><xsl:value-of select="concat($ibis.contextPath, 'report/phom/complete/', $indicator/NAME, '.html')"/></URL> 30 30 <DESCRIPTION>Show expanded view of this indicator profile</DESCRIPTION> 31 31 <TITLE>Expanded View</TITLE> -
trunk/ibisph-view/src/main/webapp/xslt/html/secure/query/definition/SiteSpecific.xslt
r15958 r18253 18 18 <!-- menu: 19 19 Please 20 see the <a href="{$ibis. urlPrefix}query/SavedQueryHelp.html">Saved20 see the <a href="{$ibis.contextPath}query/SavedQueryHelp.html">Saved 21 21 Query Help</a> page for general information about saved query usage 22 22 and its capabilities. -
trunk/ibisph-view/src/main/webapp/xslt/html/secure/query/definition/detail/Page.xslt
r15958 r18253 16 16 </description> 17 17 </ibis:doc> 18 <xsl:param name="Page.request PathPrefix">secure</xsl:param>18 <xsl:param name="Page.requestBasePath">secure</xsl:param> 19 19 20 20 </xsl:stylesheet> -
trunk/ibisph-view/src/main/webapp/xslt/html/secure/query/module/builder/SiteSpecific.xslt
r17502 r18253 18 18 </ibis:doc> 19 19 20 <xsl:param name="Page.queryDefinitionFromBuilder URLPrefix" select="'secure/query/definition/from/builder'"/>20 <xsl:param name="Page.queryDefinitionFromBuilderPath" select="'secure/query/definition/from/builder'"/> 21 21 22 22 <xsl:param name="Builder.postURL" 23 select="concat($ibis. urlPrefix, 'secure/query/submit/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"23 select="concat($ibis.contextPath, 'secure/query/submit/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')" 24 24 ibis:doc="Mechanism implemented so secure query can have a different result page." 25 25 /> … … 52 52 </SELECTION> 53 53 <SELECTION> 54 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'secure/query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL>54 <URL><xsl:value-of select="concat($ibis.contextPath, 'secure/query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL> 55 55 <DESCRIPTION>Reloads the query definition.</DESCRIPTION> 56 56 <TITLE>Reset Query Definition</TITLE> 57 57 </SELECTION> 58 58 <SELECTION> 59 <URL><xsl:value-of select="concat($ibis. urlPrefix, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL>59 <URL><xsl:value-of select="concat($ibis.contextPath, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL> 60 60 <DESCRIPTION>Choose different query dataset/measure.</DESCRIPTION> 61 61 <TITLE>Select Different Measure</TITLE> … … 68 68 </SELECTION> 69 69 <SELECTION> 70 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/definition/index/MyDefinitions.html')"/></URL>70 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/definition/index/MyDefinitions.html')"/></URL> 71 71 <DESCRIPTION>Click this button to access all query definitions.</DESCRIPTION> 72 72 <TITLE>My Saved Query Definitions</TITLE> … … 74 74 75 75 <SELECTION> 76 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'secure/query/configuration/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL>76 <URL><xsl:value-of select="concat($ibis.contextPath, 'secure/query/configuration/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL> 77 77 <DESCRIPTION>Click this button to get the raw module data as XML.</DESCRIPTION> 78 78 <TITLE>View Query Definition XML</TITLE> -
trunk/ibisph-view/src/main/webapp/xslt/html/secure/query/module/result/SiteSpecific.xslt
r17416 r18253 18 18 19 19 <!-- ~~~~~~~~~~~~~~~~~~~~~~~ PARAMS / VARIABLES ~~~~~~~~~~~~~~~~~~~~~~~~ --> 20 <xsl:param name="Page.resultURL" select="concat($ibis. urlPrefix, 'secure/query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"/>20 <xsl:param name="Page.resultURL" select="concat($ibis.contextPath, 'secure/query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"/> 21 21 22 <xsl:param name="SiteSpecific.builderURL" select="concat($ibis. urlPrefix, 'secure/query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')"22 <xsl:param name="SiteSpecific.builderURL" select="concat($ibis.contextPath, 'secure/query/builder/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html')" 23 23 ibis:doc="Builder page URL." 24 24 /> … … 79 79 80 80 <SELECTION> 81 <URL><xsl:value-of select="concat($ibis. urlPrefix, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL>81 <URL><xsl:value-of select="concat($ibis.contextPath, /QUERY_MODULE/QUERY_CONFIGURATION_SELECTION/LOCAL_URL)"/></URL> 82 82 <DESCRIPTION>Choose different query dataset/measure.</DESCRIPTION> 83 83 <TITLE>Select Different Measure</TITLE> … … 85 85 86 86 <SELECTION> 87 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'secure/query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL>87 <URL><xsl:value-of select="concat($ibis.contextPath, 'secure/query/result/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.html?Reload=x')"/></URL> 88 88 <DESCRIPTION>Runs the query using default criteria.</DESCRIPTION> 89 89 <TITLE>Reset Query Definition</TITLE> … … 91 91 92 92 <SELECTION> 93 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'secure/query/definition/from/result')"/></URL>93 <URL><xsl:value-of select="concat($ibis.contextPath, 'secure/query/definition/from/result')"/></URL> 94 94 <DESCRIPTION>Click this button to define a saved query result definition.</DESCRIPTION> 95 95 <TITLE>Save Query Definition</TITLE> 96 96 </SELECTION> 97 97 <SELECTION> 98 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'query/definition/index/MyDefinitions.html')"/></URL>98 <URL><xsl:value-of select="concat($ibis.contextPath, 'query/definition/index/MyDefinitions.html')"/></URL> 99 99 <DESCRIPTION>Click this button to access all query definitions.</DESCRIPTION> 100 100 <TITLE>My Saved Query Definitions</TITLE> … … 109 109 </SELECTION> 110 110 <SELECTION> 111 <URL><xsl:value-of select="concat($ibis. urlPrefix, 'secure/query/configuration/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL>111 <URL><xsl:value-of select="concat($ibis.contextPath, 'secure/query/configuration/', /QUERY_MODULE/REQUEST/CONFIGURATION_PATH, '.xml')"/></URL> 112 112 <DESCRIPTION>Click this button to get the raw module data as XML.</DESCRIPTION> 113 113 <TITLE>View Query Definition XML</TITLE> -
trunk/ibisph-view/src/main/webapp/xslt/html/user/access/Page.xslt
r15958 r18253 65 65 If you don't have an account and would like to be able to save your 66 66 query definitions you can self register for an account by making a 67 <a href="{$ibis. urlPrefix}user/Registration.html">New My Data User67 <a href="{$ibis.contextPath}user/Registration.html">New My Data User 68 68 Registration</a> request. 69 69 <br/><br/> 70 70 71 71 If you have an account with the Department of Health you may login 72 by clicking on <a href="{$ibis. urlPrefix}secure">Use Department of73 Health Secure Login</a>. You can also <a href="{$ibis. urlPrefix}user/Login.html">login72 by clicking on <a href="{$ibis.contextPath}secure">Use Department of 73 Health Secure Login</a>. You can also <a href="{$ibis.contextPath}user/Login.html">login 74 74 to an existing self registered account.</a> 75 75 </div><br/> … … 134 134 135 135 <h2>Required Information</h2> 136 <form name="form" action="{$ibis. urlPrefix}user/status" method="POST" onload="document.form.userID.focus()">136 <form name="form" action="{$ibis.contextPath}user/status" method="POST" onload="document.form.userID.focus()"> 137 137 <table cellspacing="0" cellpadding="5" border="0"> 138 138 <tr> … … 148 148 <tr> 149 149 <td><label>Captcha Image</label></td> 150 <td><img id="captchaImage" src="{$ibis. urlPrefix}captcha/code.png" alt="captcha image" title="Captcha image to be entered"/></td>150 <td><img id="captchaImage" src="{$ibis.contextPath}captcha/code.png" alt="captcha image" title="Captcha image to be entered"/></td> 151 151 </tr> 152 152 <tr> … … 186 186 187 187 <script type="text/javascript"> 188 var statusURL = "<xsl:value-of select="concat($ibis. urlPrefix, 'user/status')"/>";189 var accessURL = "<xsl:value-of select="concat($ibis. urlPrefix, 'user/access/email')"/>";188 var statusURL = "<xsl:value-of select="concat($ibis.contextPath, 'user/status')"/>"; 189 var accessURL = "<xsl:value-of select="concat($ibis.contextPath, 'user/access/email')"/>"; 190 190 191 191 // <![CDATA[ -
trunk/ibisph-view/src/main/webapp/xslt/html/user/login/Page.xslt
r17416 r18253 30 30 and your password. If you don't have an account and would like to be 31 31 able to save your query definitions you can self register for an account 32 via the <a href="{$ibis. urlPrefix}user/Registration.html">New User32 via the <a href="{$ibis.contextPath}user/Registration.html">New User 33 33 Registration</a> page. 34 34 <br/><br/> … … 41 41 <br/><br/> 42 42 43 <img src="{$ibis. urlPrefix}image/lock.jpg" alt="lock" style="float:left; padding-right:10pt;"/>43 <img src="{$ibis.contextPath}image/lock.jpg" alt="lock" style="float:left; padding-right:10pt;"/> 44 44 </xsl:param> 45 45 … … 48 48 <div class="Note"> 49 49 If you have an account with the Department of Health you may login 50 by clicking on <a href="{$ibis. urlPrefix}secure">Use Department of Health Secure Login</a>.50 by clicking on <a href="{$ibis.contextPath}secure">Use Department of Health Secure Login</a>. 51 51 If you are having issues with your account registration or have forgotten 52 your password please visit the <a href="{$ibis. urlPrefix}user/Access.html">Account52 your password please visit the <a href="{$ibis.contextPath}user/Access.html">Account 53 53 Access/Registration Status</a> page. 54 54 </div><br/> … … 110 110 </div> 111 111 112 <script language="JavaScript" type="text/javascript" src="{$ibis. urlPrefix}js/Cookie.js"></script>112 <script language="JavaScript" type="text/javascript" src="{$ibis.contextPath}js/Cookie.js"></script> 113 113 <script type="text/javascript"> 114 114 var usageAgreementDialog; … … 148 148 <div class="Note"> 149 149 If you want to change/switch to a different user account you 150 MUST first <a href="{$ibis. urlPrefix}user/logout">logout</a>150 MUST first <a href="{$ibis.contextPath}user/logout">logout</a> 151 151 of your current session before you can relogin. Simply logging 152 152 in without first logging out will NOT automatically logout of … … 155 155 </div><br/> 156 156 157 <button type="button" accesskey="O" onclick="location.href='{$ibis. urlPrefix}user/logout'" title="logout">Logout</button>157 <button type="button" accesskey="O" onclick="location.href='{$ibis.contextPath}user/logout'" title="logout">Logout</button> 158 158 </xsl:if> 159 159 … … 165 165 </style> 166 166 <h2>Login Credentials</h2> 167 <form name="form" action="{$ibis. urlPrefix}user/authenticate" method="POST" onload="document.form.username.focus()">167 <form name="form" action="{$ibis.contextPath}user/authenticate" method="POST" onload="document.form.username.focus()"> 168 168 <table cellspacing="0" cellpadding="5" border="0"> 169 169 <tr> … … 181 181 you are trying to access your self registered 182 182 account and are having problems see the 183 <a href="{$ibis. urlPrefix}user/Access.html">Account Access Page</a>.183 <a href="{$ibis.contextPath}user/Access.html">Account Access Page</a>. 184 184 This page will provide options to check the 185 185 status, resend the verification email, or email -
trunk/ibisph-view/src/main/webapp/xslt/html/user/registration/Page.xslt
r15958 r18253 26 26 This allows you to define a query, save it, run it again, and even share 27 27 it with another user. If you already have an existing self registered 28 account you can access your selections after <a href="{$ibis. urlPrefix}user/Login.html">logging28 account you can access your selections after <a href="{$ibis.contextPath}user/Login.html">logging 29 29 in</a>. 30 30 <br/><br/> … … 45 45 to that email address. If you have forgotten your password or need 46 46 to have your account verification email resent please use the 47 <a href="{$ibis. urlPrefix}user/Access.html">Account Access/Registration Status</a> page.47 <a href="{$ibis.contextPath}user/Access.html">Account Access/Registration Status</a> page. 48 48 </xsl:param> 49 49 … … 114 114 </div> 115 115 116 <script language="JavaScript" type="text/javascript" src="{$ibis. urlPrefix}js/Cookie.js"></script>116 <script language="JavaScript" type="text/javascript" src="{$ibis.contextPath}js/Cookie.js"></script> 117 117 <script type="text/javascript"> 118 118 var usageAgreementDialog; … … 144 144 else 145 145 { 146 var agreementCookie = new Cookie("RegistrationAgreement", null, "<xsl:value-of select="$ibis. urlPrefix"/>");146 var agreementCookie = new Cookie("RegistrationAgreement", null, "<xsl:value-of select="$ibis.contextPath"/>"); 147 147 if("shown" != agreementCookie.getValue()) usageAgreementDialog.center().open(); 148 148 agreementCookie.setValue("shown", null, "/"); … … 176 176 177 177 <h2>Registration Information</h2> 178 <form name="form" action="{$ibis. urlPrefix}user/registration/save" method="POST">178 <form name="form" action="{$ibis.contextPath}user/registration/save" method="POST"> 179 179 <table cellspacing="0" cellpadding="5" border="0"> 180 180 <tr> … … 210 210 <tr> 211 211 <td><label>Captcha Image</label></td> 212 <td><img id="captchaImage" src="{$ibis. urlPrefix}captcha/code.png" alt="captcha image" title="Captcha image to be entered"/></td>212 <td><img id="captchaImage" src="{$ibis.contextPath}captcha/code.png" alt="captcha image" title="Captcha image to be entered"/></td> 213 213 </tr> 214 214 <tr> -
trunk/ibisph-view/src/main/webapp/xslt/html/user/selections/Page.xslt
r15958 r18253 37 37 It appears that this account is an un-secure self registered user 38 38 account. If you have a secure account and want to access your 39 secure selections you will need to <a href="{$ibis. urlPrefix}logout">logout</a>39 secure selections you will need to <a href="{$ibis.contextPath}logout">logout</a> 40 40 and log back in using the secure login mechanism. 41 41 </xsl:if> -
trunk/ibisph-view/src/main/webapp/xslt/html/user/status/Page.xslt
r14712 r18253 63 63 64 64 Please press your browser's back button and correct the error. If 65 you have forgotten your password please visit the <a href="{$ibis. urlPrefix}user/Access.html">Account65 you have forgotten your password please visit the <a href="{$ibis.contextPath}user/Access.html">Account 66 66 Access</a> page. If you have concerns about this issue contact 67 67 this application's system administrator to report the problem. … … 120 120 you should check with your email provider to make sure that they 121 121 are not filtering the email as junk. If you would like your 122 verification email sent again please visit the <a href="{$ibis. urlPrefix}user/Access.html">Account122 verification email sent again please visit the <a href="{$ibis.contextPath}user/Access.html">Account 123 123 Access</a> page. 124 124 <br/><br/> … … 162 162 activated. Active accounts allow for saving of query dataset definitions 163 163 and criteria definitions. You can login to your account at the time of 164 saving your definition or you can login now via the <a href="{$ibis. urlPrefix}user/Login.html">User Login</a>164 saving your definition or you can login now via the <a href="{$ibis.contextPath}user/Login.html">User Login</a> 165 165 page. 166 166 <br/><br/> 167 167 168 If you have forgotten your password please visit the <a href="{$ibis. urlPrefix}user/Access.html">Account168 If you have forgotten your password please visit the <a href="{$ibis.contextPath}user/Access.html">Account 169 169 Access</a> page. If you have concerns about your account please 170 170 contact this application's system administrator. -
trunk/ibisph-view/src/main/webapp/xslt/json/LeafletMap.xslt
r18245 r18253 54 54 55 55 <xsl:template name="LeafletMap.requestJSON"> 56 <xsl:param name="mapTitle" 57 <xsl:param name=" webappPrefix" select="$ibis.urlPrefix"/>58 <xsl:param name=" mapType" select="'selection'"/>56 <xsl:param name="mapTitle" select="'Request JSON'"/> 57 <xsl:param name="mapType" select="'selection'"/> 58 <xsl:param name="webappContextPath" select="$ibis.contextPath"/> 59 59 <xsl:param name="selectionLayerSetLayerKeys"/> 60 60 <xsl:param name="selectionLayerSetSelectionType" select="'multiple'"/> … … 62 62 { // Start of Request Specific JSON 63 63 title: "<xsl:value-of select="$mapTitle"/>" 64 , localURLWebappPrefix: "<xsl:value-of select="$webappPrefix"/>"64 ,webappContextPath: "<xsl:value-of select="$webappContextPath"/>" 65 65 ,type: "<xsl:value-of select="$mapType"/>" 66 66 <xsl:if test="$selectionLayerSetLayerKeys">
Note: See TracChangeset
for help on using the changeset viewer.