Ignore:
Timestamp:
04/25/18 16:20:05 (4 years ago)
Author:
Garth Braithwaite
Message:

admin, view, java, content - Moved dataset XML service to IP XML service for publishing and preview to work. Removed "View" from admin IP XML controller config to reduce confusion. Moved the xml/menu/nav to selection/nav for consist, future usage. Changed view app's left nav from expandablelist to simple list. Set map graphic css z-index to 1 so that nav menu will go over top. Moved current IP Interactive view to the standard view. Added XSLT code to consist build dim title.

Location:
trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/ibisph-view/src/main/webapp/xslt/html/indicator/profile/view/Page.xslt

    r15958 r16027  
    1212        <xsl:import href="../../../LeafletMap.xslt"/>
    1313        <xsl:import href="../Indicator.xslt"/>
    14         <xsl:import href="../ChartOptions.xslt"/>
    15         <xsl:import href="Interactive.xslt"/>
     14        <xsl:import href="../Interactive.xslt"/>
    1615
    1716
    1817        <ibis:doc>
    19                 <name>html/indicator/profile/interactive/Page</name>
     18                <name>html/indicator/profile/view/Page</name>
    2019                <summary>Interactive indicator profile view page</summary>
    2120                <description>
     
    3534        <xsl:param name="Indicator.contentBlockTitleLevel" select="3"/>
    3635
    37         <xsl:param name="Page.nonChartableMessageContent" ibis:doc="text shown when chart is 3d and not chartable.">
    38                 <h3>Chart Not Available</h3>
    39                 The data are grouped by more dimensions than the chart is capable of displaying. 
    40                 At some future point the site will provide a mechanism to choose or cycle
    41                 through the different dimensions.
    42         </xsl:param>
    43         <xsl:param name="Page.nonMapableMessageContent" ibis:doc="text shown when map is 2d or 3d.">
    44                 <h3>Map Not Available</h3>
    45                 The data are grouped by 2 or more dimensions.  Maps can only be displayed
    46                 when the data are grouped by a single geographical dimension. 
    47                 At some future point the site will provide a mechanism to choose or cycle
    48                 through the different dimensions.
    49         </xsl:param>
    50 
    5136
    5237        <xsl:template name="Page.sectionsContent"
     
    7257                <xsl:param name="indicatorView"/>
    7358
    74                 <xsl:variable name="isSingleSeries" select="count($indicatorView/DATASET_SERIES/DATASET_SERIES_VALUES/DATASET_SERIES_VALUE[ACTIVE_FLAG='x']) &lt; 2"/>
    75 
    7659                <xsl:call-template name="ContentContainer.expandable">
    7760                        <xsl:with-param name="title"   select="'Why Is This Important?'"/>
     
    8366                </xsl:call-template>
    8467
    85                 <xsl:variable name="mapName" select="ibis:LeafletMap.getMapName($indicatorView/MAP_NAME)"/>
    86                 <xsl:if test="ibis:LeafletMap.showMap($mapName)">
    87 <xsl:message select="$mapName"/>
     68                <xsl:if test="ibis:LeafletMap.showMap($indicatorView/MAP_NAME)">
    8869                        <xsl:call-template name="ContentContainer.expandable">
    8970                                <xsl:with-param name="title" select="'Map'"/>
    9071                                <xsl:with-param name="content">
    91                                         <xsl:choose>
    92                                                 <xsl:when test="$isSingleSeries = false()">
    93                                                         <xsl:copy-of select="$Page.nonMapableMessageContent"/>
    94                                                 </xsl:when>
    95                                                 <xsl:otherwise>
    96                                                         <xsl:call-template name="LeafletMap.mapContainer">
    97                                                                 <xsl:with-param name="containerID" select="'map'"/>
    98                                                                 <xsl:with-param name="title"       select="ibis:getCompleteIndicatorViewTitle($indicatorView)"/>
    99                                                         </xsl:call-template>
    100                                                 </xsl:otherwise>
    101                                         </xsl:choose>
     72                                        <xsl:call-template name="LeafletMap.mapContainer">
     73                                                <xsl:with-param name="containerID" select="'map'"/>
     74                                                <xsl:with-param name="title" select="ibis:getMapTitle($indicator, $indicatorView)"/>
     75                                        </xsl:call-template>
    10276                                        <xsl:call-template name="Indicator.contentBlock">
    103                                                 <xsl:with-param name="content" select="$indicatorView/CHART_NARRATIVE"/>
     77                                                <xsl:with-param name="content" select="$indicatorView/MAP_NARRATIVE"/>
    10478                                                <xsl:with-param name="contentBlockType" select="'fixed'" tunnel="yes"/>
    10579                                        </xsl:call-template>
     
    11185                </xsl:if>
    11286
    113                 <xsl:variable name="chartName" select="ibis:Kendo.getChartName($indicatorView/CHART_NAME)"/>
    114                 <xsl:if test="ibis:Kendo.showChart($chartName)">
     87                <xsl:if test="ibis:Kendo.showChart($indicatorView/CHART_NAME)">
    11588                        <xsl:call-template name="ContentContainer.expandable">
    11689                                <xsl:with-param name="title" select="'Chart'"/>
    11790                                <xsl:with-param name="content">
    118                                         <xsl:choose>
    119                                                 <xsl:when test="($chartName = 'Pie') and ($isSingleSeries = false())">
    120                                                         <xsl:copy-of select="$Page.nonChartableMessageContent"/>
    121                                                 </xsl:when>
    122                                                 <xsl:otherwise>
    123                                                         <xsl:call-template name="Kendo.chartContainer">
    124                                                                 <xsl:with-param name="containerID" select="'chart'"/>
    125                 <!--
    126                                                                 <xsl:with-param name="title"       select="ibis:getCompleteIndicatorViewTitle($indicatorView)"/>
    127                 -->
    128                                                         </xsl:call-template>
    129                                                 </xsl:otherwise>
    130                                         </xsl:choose>
    131 
     91                                        <xsl:call-template name="Kendo.chartContainer">
     92                                                <xsl:with-param name="containerID" select="'chart'"/>
     93                                                <xsl:with-param name="title" select="ibis:getChartTitle($indicator, $indicatorView)"/>
     94                                        </xsl:call-template>
    13295                                        <xsl:call-template name="Indicator.contentBlock">
    13396                                                <xsl:with-param name="content" select="$indicatorView/CHART_NARRATIVE"/>
     
    140103                        </xsl:call-template>
    141104                </xsl:if>
    142 
    143105
    144106                <xsl:call-template name="ContentContainer.expandable">
     
    168130                </xsl:call-template>
    169131
    170 
    171132                <xsl:call-template name="ContentContainer.expandable">
    172133                        <xsl:with-param name="title" select="'Data Notes'"/>
     
    191152                </xsl:call-template>
    192153
    193 
    194154                <xsl:call-template name="ContentContainer.expandable">
    195155                        <xsl:with-param name="title" select="'Other Views'"/>
    196156                        <xsl:with-param name="content">
     157This is possibly a left nav list???
    197158                                <xsl:variable name="currentIndicatorViewName" select="$indicatorView/NAME"/>
    198159                                <xsl:variable name="indicatorViews" select="if(string-length($currentIndicatorViewName) != 0) then $indicator/INDICATOR_VIEWS/INDICATOR_VIEW[NAME != $currentIndicatorViewName] else $indicator/INDICATOR_VIEWS/INDICATOR_VIEW"/>
     
    211172                </xsl:call-template>
    212173
    213 
    214174                <xsl:call-template name="ContentContainer.expandable">
    215175                        <xsl:with-param name="title" select="'Health Indicator Definition'"/>
     
    221181                        <xsl:with-param name="description" select="'What defines this health indicator.'"/>
    222182                </xsl:call-template>
    223 
    224183
    225184                <xsl:call-template name="ContentContainer.expandable">
     
    257216                        <xsl:with-param name="title" select="'Health Topics'"/>
    258217                        <xsl:with-param name="content">
     218another set of links that could be left nav
    259219                                <xsl:call-template name="Indicator.topics">
    260220                                        <xsl:with-param name="indicator" select="$indicator"/>
     
    265225                <xsl:call-template name="Indicator.allDates"/>
    266226
    267                 <xsl:call-template name="Interactive.leafletKendoScript">
     227                <xsl:call-template name="Page.leafletKendoScript">
    268228                        <xsl:with-param name="indicatorView" select="$indicatorView"/>
    269229                </xsl:call-template>
    270 
    271                 <xsl:call-template name="ChartOptions.dialog"/>
     230        </xsl:template>
     231
     232
     233
     234        <xsl:template name="Page.leafletKendoScript"
     235                ibis:doc="Provides the kendo and leaflet javascript."
     236        >
     237                <xsl:param name="indicatorView"/>
     238
     239                <xsl:if test="ibis:LeafletMap.showMap($indicatorView/MAP_NAME)">
     240                        <xsl:call-template name="LeafletMap.choroplethJavaScript"/>
     241                </xsl:if>
     242                <xsl:variable name="measureName" select="$indicatorView/MEASURE_NAME"/>
     243                <xsl:variable name="measure"     select="($indicator//MEASURE[NAME = $measureName])[1]"/>
     244                <xsl:variable name="measureValueFormatPattern" select="($indicator//VALUE_TYPE[NAME = $measure/VALUE_TYPE_NAME]/XSLT_FORMAT_PATTERN)[1]"/>
     245
     246                <xsl:variable name="recordDimensionFields">
     247                        <xsl:call-template name="Interactive.recordDimensionFields">
     248                                <xsl:with-param name="indicatorView" select="$indicatorView"/>
     249                        </xsl:call-template>
     250                </xsl:variable>
     251
     252                <xsl:variable name="ancillaryValueNames" select="distinct-values($indicator/DATASETS/DATASET[NAME = $indicatorView/DATASET_NAMES/DATASET_NAME]/ANCILLARY_VALUES/ANCILLARY_VALUE/NAME)"/>
     253                <xsl:variable name="recordAncillaryValueFields">
     254                        <xsl:call-template name="Interactive.recordAncillaryValueFields">
     255                                <xsl:with-param name="indicator"     select="$indicator"/>
     256                                <xsl:with-param name="indicatorView" select="$indicatorView"/>
     257                                <xsl:with-param name="ancillaryValueNames" select="$ancillaryValueNames"/>
     258                                <xsl:with-param name="measureValueFormatPattern" select="$measureValueFormatPattern"/>
     259                        </xsl:call-template>
     260                </xsl:variable>
     261
     262                <xsl:variable name="datasetRecords" select="$indicator/DATASETS/DATASET[NAME = $indicatorView/DATASET_NAMES/DATASET_NAME]/RECORDS/RECORD"/>
     263                <xsl:variable name="indicatorViewDatasetRecords">
     264                        <xsl:call-template name="Interactive.indicatorViewDatasetRecords">
     265                                <xsl:with-param name="indicatorView"  select="$indicatorView"/>
     266                                <xsl:with-param name="datasetRecords" select="$datasetRecords"/>
     267                                <xsl:with-param name="recordDimensionFields" select="$recordDimensionFields"/>
     268                        </xsl:call-template>
     269                </xsl:variable>
     270
     271<!--
     272<xsl:message select="'============= start of IV datasetRecords'"/>
     273<xsl:message select="$datasetRecords"/>
     274<xsl:message select="'============= end of IV datasetRecords'"/>
     275-->
     276
     277                <!-- tried doing jsonp tech but callback func must be defined before doing the script jsonp
     278                        so you'd have the variable = null, call back, end of script, include jsonp, then contructor
     279                        script.  Very messy - decided just to do simple var and include it.
     280                -->
     281                <script type="text/javascript">
     282                        var records =
     283                        [<xsl:text>&#10;</xsl:text>
     284                                <xsl:call-template name="Interactive.getIndicatorViewJSONDataRecords">
     285                                        <xsl:with-param name="datasetRecords"             select="$indicatorViewDatasetRecords"/>
     286                                        <xsl:with-param name="recordDimensionFields"      select="$recordDimensionFields"/>
     287                                        <xsl:with-param name="recordAncillaryValueFields" select="$recordAncillaryValueFields"/>
     288                                        <xsl:with-param name="measureValueFormatPattern"  select="$measureValueFormatPattern"/>
     289                                </xsl:call-template>
     290                        ];
     291
     292                        var kendoDataSource = new kendo.data.DataSource(
     293                                <xsl:call-template name="Kendo.dataSourceConstructorJSON">
     294                                        <xsl:with-param name="javascriptRecordArrayVariableName" select="'records'"/>
     295                                        <xsl:with-param name="recordDimensionFields"      select="$recordDimensionFields"/>
     296                                        <xsl:with-param name="recordAncillaryValueFields" select="$recordAncillaryValueFields"/>
     297                                </xsl:call-template>
     298                        );
     299
     300                        var kendoGridConstructorJSON = $.extend
     301                        (true, {}
     302                                ,<xsl:call-template name="Kendo.baseGridJSON"/>
     303                                ,<xsl:call-template name="Kendo.namedConfigurationJSON">
     304                                        <xsl:with-param name="configurationName" select="'IndicatorProfileGrid'"/>
     305                                </xsl:call-template>
     306                                ,<xsl:call-template name="Kendo.requestGridJSON">
     307                                        <xsl:with-param name="kendoDataSourceJavascriptVariableName" select="'kendoDataSource'"/>
     308                                        <xsl:with-param name="measure" select="$measure"/>
     309                                        <xsl:with-param name="recordDimensionFields"      select="$recordDimensionFields"/>
     310                                        <xsl:with-param name="recordAncillaryValueFields" select="$recordAncillaryValueFields"/>
     311<xsl:with-param name="showFooterRow"   select="false()"/>
     312<xsl:with-param name="showNoteColumn"  select="false()"/>
     313<xsl:with-param name="showLabelColumn" select="false()"/>
     314                                </xsl:call-template>
     315                        );
     316
     317
     318                        var kendoChartConstructorJSON = $.extend
     319                        (true, {}
     320                                ,<xsl:call-template name="Kendo.baseChartJSON"/>
     321                                ,<xsl:call-template name="Kendo.namedConfigurationJSON">
     322                                        <xsl:with-param name="configurationName" select="$indicatorView/CHART_NAME"/>
     323                                </xsl:call-template>
     324                                ,<xsl:call-template name="Kendo.requestChartJSON">
     325                                        <xsl:with-param name="kendoDataSourceJavascriptVariableName" select="'kendoDataSource'"/>
     326
     327                                        <xsl:with-param name="title"         select="ibis:getCompleteIndicatorViewTitle($indicator, $indicatorView)"/>
     328                                        <xsl:with-param name="seriesTitle"   select="$recordDimensionFields/RECORD_DIMENSION_FIELD[USAGE='series']/TITLE"/>
     329                                        <xsl:with-param name="categoryTitle" select="$recordDimensionFields/RECORD_DIMENSION_FIELD[USAGE='category']/TITLE"/>
     330                                        <xsl:with-param name="valueTitle"    select="$measure/TITLE"/>
     331
     332                                        <xsl:with-param name="seriesFieldName"    select="$recordDimensionFields/RECORD_DIMENSION_FIELD[USAGE='series']/NAME"/>
     333                                        <xsl:with-param name="categoryFieldName"  select="$recordDimensionFields/RECORD_DIMENSION_FIELD[USAGE='category']/NAME"/>
     334
     335                                        <xsl:with-param name="includeDatasetSeries" select="1 &lt; $recordDimensionFields/RECORD_DIMENSION_FIELD[USAGE='series']/VALUE_COUNT"/>
     336                                        <xsl:with-param name="ancillaryValueNames"  select="$ancillaryValueNames"/>
     337                                </xsl:call-template>
     338                        );
     339//console.debug("%o", kendoChartConstructorJSON);
     340//console.log(JSON.stringify(kendoChartConstructorJSON,null,2)); 
     341
     342                        var $kendoGrid;
     343                        var $kendoChart;
     344                        var $leafletMap;
     345                        $(document).ready(function()
     346                        {
     347                                $kendoGrid  = $("#grid").kendoGrid (kendoGridConstructorJSON);
     348                                $kendoChart = $("#chart").kendoChart(kendoChartConstructorJSON);
     349                                kendoDataSource.read();         // have to have after grid and chart because .autoBind = false.
     350
     351
     352
     353<!-- =====================================================
     354// var firstSlot = $kendoChart.getKendoChart()._plotArea.axes[0].getSlot(0);
     355// alert("first slot width" + firstSlot.width());
     356
     357<xsl:variable name="geoDimensionName" select="
     358        if(0 != string-length($indicatorView/DEFAULT_GEOGRAPHY_DIM_NAME))
     359        then $indicatorView/DEFAULT_GEOGRAPHY_DIM_NAME
     360        else ($indicator/DATASETS/DATASET/DIMENSIONS/DIMENSION[
     361                        exists(GEOGRAPHY_FLAG)
     362                        and
     363                        NAME = $indicatorView//DATASET_DIMENSION_USAGE/DIMENSION_NAME
     364                ])[1]/NAME"
     365/>
     366
     367<xsl:message select="$indicator/DATASETS/DATASET/DIMENSIONS/DIMENSION[exists(GEOGRAPHY_FLAG)]/NAME"/>
     368<xsl:message select="exists($indicatorView/DATASET_DIMENSION_USAGES/DATASET_DIMENSION_USAGES[DIMENSION_NAME = $indicator/DATASETS/DATASET/DIMENSIONS/DIMENSION[exists(GEOGRAPHY_FLAG)]/NAME])"/>
     369<xsl:message select="exists($indicatorView/DATASET_DIMENSION_USAGES/DATASET_DIMENSION_USAGES[DIMENSION_NAME = $indicator/DATASETS/DATASET/DIMENSIONS/DIMENSION[exists(GEOGRAPHY_FLAG)]/NAME])"/>
     370<xsl:message select="exists($indicatorView/DATASET_DIMENSION_USAGES/DATASET_DIMENSION_USAGES[DIMENSION_NAME = $indicator/DATASETS/DATASET/DIMENSIONS/DIMENSION[exists(GEOGRAPHY_FLAG)]])"/>
     371<xsl:message select="$indicator/DATASETS/DATASET/DIMENSIONS/DIMENSION[exists(GEOGRAPHY_FLAG)]/NAME"/>
     372<xsl:message select="concat('Interactive - Show Map: ', $Interactive.showMap, ', geoDimensionName:', $geoDimensionName)"/>
     373
     374<xsl:message select="'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX interact.xslt'"/>
     375<xsl:message select="$Interactive.comparisonDimensionName"/>
     376<xsl:message select="$Interactive.comparisonDimensionValue"/>
     377<xsl:with-param name="comparisonValue" select="$indicatorViewDatasetRecords/RECORD[ DIMENSIONS[ (2 = count(DIMENSION)) and DIMENSION[(NAME = $Interactive.comparisonDimensionName)     and (VALUE = $Interactive.comparisonDimensionValue)]]]/MEASURE_VALUE"/>
     378
     379Stuff to try when doing dashboard
     380function dataSource_change(e) {
     381  console.log(e);
     382}
     383kendoDataSource.bind("change", dataSource_change);
     384select="$indicatorViewDatasetRecords/RECORD[ DIMENSIONS[ (2 = count(DIMENSION)) and DIMENSION[(NAME = $Interactive.comparisonDimensionName)     and (VALUE = $Interactive.comparisonDimensionValue)]]]/MEASURE_VALUE"/>
     385
     386**********************************************
     387
     388PROBLEM: "CATEGORY":"GeoCnty.4"
     389                                                <xsl:with-param name="geoJSONName"      select="$indicatorView/MAP_DIMENSION_NAME"/>
     390                                               
     391******************
     392probably need to geojson to have the geodim name + . + geodim value to uniquely ID the area.
     393
     394************ PROBLEM is that the QM only returns 1..31 and not GeoCnty.1
     395
     396The IP and QM dimension files are all 1..31
     397
     398So, need the field name then use the geotype and parse the .XXX from the end.
     399Then in the QM will need to build the JSON fields the same way as we do with
     400the IP - which is the right way to do it anyway so fields can be combined???
     401
     402*** also have issues with if 2d and 3d...
     403        if mult series then drop down for that.
     404        if mult constants then drop down for that as well.
     405        when changed regen map.
     406        Need to specify the category field name and value
     407        Need to specify the series field name and value
     408        Need to specify the constant field name and value
     409       
     410        GeoJSON GeoID Prefix to add when doing comparison???
     411
     412<xsl:variable name="communityDatasets"     select="$indicator/DATASETS/DATASET[DIMENSION_COMBINATIONS/DIMENSION_COMBINATION[not(DIMENSION_2/NAME) and DIMENSION_1/NAME = $communityDimensionName]]"/>
     413<xsl:variable name="communityDataset" select="$communityDatasets[(MEASURE_NAME = $measureName) and DIMENSION_COMBINATIONS/DIMENSION_COMBINATION[PERIOD_DIMENSION/NAME = $periodName]]"/>
     414<xsl:variable name="stateRecord"     select="$communityDataset/RECORDS/RECORD[ DIMENSIONS[ (2 = count(DIMENSION)) and DIMENSION[(NAME = $stateDimensionName)     and (VALUE = $stateDimensionValue)]     and DIMENSION[(NAME = $periodName) and (VALUE = $periodValue)]]]"/>
     415
     416<xsl:message select="'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX'"/>
     417<xsl:message select="$indicatorViewDatasetRecords[1]"/>
     418
     419
     420<xsl:with-param name="dimensionFieldInclusionCriteria">
     421records have the field names to filter.
     422to include need field name and value.
     423
     424specifies the records held constant - This is to filter out not matching constant records
     425
     426for mouse overs, the title needs specifics - dimension title and dimension value title.
     427        <DIMENSION><NAME>CONSTANT</NAME><VALUE>YearAll.2014</VALUE><TITLE>Year</TITLE><VALUE_TITLE>2014</VALUE_TITLE></DIMENSION>
     428        <DIMENSION><NAME>SERIES</NAME><VALUE>Sex.1</VALUE><TITLE>Sex</TITLE><VALUE_TITLE>Male</VALUE_TITLE></DIMENSION>
     429</xsl:with-param>
     430
     431==========================================================================
     432<xsl:message select="$indicatorViewDatasetRecords/RECORD"/>
     433-->
     434
     435
     436
     437
     438<xsl:message select="'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX interact.xslt'"/>
     439<xsl:message select="$indicatorView/MAP_DIMENSION_NAME"/>
     440<xsl:message select="$recordDimensionFields/RECORD_DIMENSION_FIELD[DIMENSION_NAMES/DIMENSION_NAME = $indicatorView/MAP_DIMENSION_NAME]/NAME"/>
     441
     442
     443                        <xsl:if test="ibis:LeafletMap.showMap($indicatorView/MAP_NAME)">
     444                                var leafletMapConstructorJSON = $.extend
     445                                (true, {}
     446,<xsl:call-template name="LeafletMap.baseJSON"/>
     447,<xsl:call-template name="LeafletMap.namedConfigurationJSON">
     448        <xsl:with-param name="configurationName" select="$indicatorView/MAP_NAME"/>
     449</xsl:call-template>
     450,<xsl:call-template name="LeafletMap.requestJSON">
     451<!--    <xsl:with-param name="mapTitle"      select="'Choropleth'"/> -->
     452        <xsl:with-param name="mapType"       select="'choropleth'"/>
     453</xsl:call-template>
     454,<xsl:call-template name="LeafletMap.choroplethJSON">
     455        <xsl:with-param name="javascriptRecordArrayVariableName" select="'records'"/>
     456        <xsl:with-param name="geoJSONName"      select="$indicatorView/MAP_DIMENSION_NAME"/>
     457        <xsl:with-param name="geoIDFieldName"   select="$recordDimensionFields/RECORD_DIMENSION_FIELD[DIMENSION_NAMES/DIMENSION_NAME = $indicatorView/MAP_DIMENSION_NAME]/NAME"/>
     458        <xsl:with-param name="geoIDFieldValuePrefixToRemove"   select="concat($indicatorView/MAP_DIMENSION_NAME, '.')"/>
     459        <xsl:with-param name="measureValueFieldName" select="'MeasureValue'"/>
     460        <xsl:with-param name="legendTitle"   select="$measure/TITLE"/>
     461        <xsl:with-param name="geoTypeTitle"  select="distinct-values($indicator//DIMENSIONS/DIMENSION[NAME = $indicatorView/MAP_DIMENSION_NAME]/TITLE)"/>
     462        <xsl:with-param name="reverseColors" select="$measure/DESIRABLE_VALUE = 1"/>
     463        <xsl:with-param name="desirableIndexValue" select="$measure/DESIRABLE_VALUE"/>
     464
     465<xsl:with-param name="comparisonValue" select="$indicatorViewDatasetRecords/RECORD[ DIMENSIONS[ (2 = count(DIMENSION)) and DIMENSION[(NAME = $Interactive.comparisonDimensionName)     and (VALUE = $Interactive.comparisonDimensionValue)]]]/MEASURE_VALUE"/>
     466
     467</xsl:call-template>
     468                                );
     469                                $leafletMap = $("#map").leaflet(leafletMapConstructorJSON);
     470<!--
     471                                <xsl:call-template name="LeafletMap.mapsJavaScript"/>
     472                                <xsl:call-template name="LeafletMap.namedMapJavaScript"/>
     473-->
     474                        </xsl:if>
     475
     476                        }); //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End of Function ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     477<!--
     478                        <xsl:call-template name="Kendo.chartsJavaScript"/>
     479                        <xsl:call-template name="Kendo.namedChartJavaScript"/>
     480                        <xsl:call-template name="Kendo.gridsJavaScript"/>
     481                        <xsl:call-template name="Kendo.namedGridJavaScript"/>
     482-->
     483                </script>
    272484        </xsl:template>
    273485
Note: See TracChangeset for help on using the changeset viewer.