Changeset 21698 in main


Ignore:
Timestamp:
10/02/20 10:35:22 (4 weeks ago)
Author:
GarthBraithwaite_STG
Message:

view - implemented QM report ss.xslt and partial url params to support adopters that use different request page pages ie dataportal.

Location:
trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report
Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/configurations_by_file.xslt

    r21259 r21698  
    1212>
    1313        <xsl:import href="../../../Page.xslt"/>
    14         <xsl:import href="../../SiteSpecific.xslt"/>
     14        <xsl:import href="../SiteSpecific.xslt"/>
    1515
    1616        <ibis:doc>
     
    2121        </ibis:doc>
    2222
    23         <xsl:param name="ConfigurationsByFile.filePath" select="'../'"/>
    2423
    2524        <xsl:param name="xml"/>
    2625        <xsl:param name="Page.pageTitle" ibis:doc="Page's title text.">Query Module Configuration Report (<xsl:value-of select="/FILES/TITLE"/>)</xsl:param>
     26
     27        <xsl:param name="ConfigurationsByFile.filePath" select="'../'"/>
     28        <xsl:param name="ConfigurationsByFile.partialURLSearchFor"   select="'query/module/'"/>
     29        <xsl:param name="ConfigurationsByFile.partialURLReplaceWith" select="'query/result/'"/>
    2730
    2831
     
    9497
    9598
    96 
    9799        <xsl:template name="processFile">
    98100                <xsl:param name="filename"/>
    99101                <xsl:param name="file"        select="document(concat($ConfigurationsByFile.filePath, $filename), /)"/>
    100102                <xsl:param name="configCount" select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION)"/>
    101                 <xsl:param name="partialURL"  select="concat($ibis.baseRequestPath, replace( replace($filename, '.xml', ''), 'query/module/', 'query/result/'))"/>
     103                <xsl:param name="partialURL"  select="concat($ibis.baseRequestPath, replace( replace($filename, '.xml', ''), $ConfigurationsByFile.partialURLSearchFor, $ConfigurationsByFile.partialURLReplaceWith))"/>
    102104
    103105                <xsl:if test="$configCount &gt; 0">
     
    125127
    126128
    127 
    128129        <xsl:template name="processConfigNames">
    129130                <xsl:param name="filename"/>
    130                 <xsl:param name="file" select="document(concat($ConfigurationsByFile.filePath, $filename), /)"/>
     131                <xsl:param name="file" select="document(concat($filePath, $filename), /)"/>
    131132                <xsl:for-each select="$file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION">
    132133                        <xsl:copy-of select="NAME"/>
  • trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/configurations_by_file_table.xslt

    r21694 r21698  
    1212>
    1313        <xsl:import href="../../../Page.xslt"/>
    14         <xsl:import href="../../SiteSpecific.xslt"/>
     14        <xsl:import href="../SiteSpecific.xslt"/>
    1515
    1616        <ibis:doc>
     
    2121        </ibis:doc>
    2222
    23         <xsl:param name="ConfigurationsByFile.filePath" select="'../'"/>
    2423
    2524        <xsl:param name="xml"/>
    2625        <xsl:param name="Page.pageTitle" ibis:doc="Page's title text.">Query Module Configuration Report (<xsl:value-of select="/FILES/TITLE"/>)</xsl:param>
    2726
    28         <xsl:param name="partialURLSearchFor"   select="'query/module/'"/>
    29         <xsl:param name="partialURLReplaceWith" select="'query/result/'"/>
     27        <xsl:param name="ConfigurationsByFile.filePath" select="'../'"/>
     28        <xsl:param name="ConfigurationsByFile.partialURLSearchFor"   select="'query/module/'"/>
     29        <xsl:param name="ConfigurationsByFile.partialURLReplaceWith" select="'query/result/'"/>
    3030
    3131
     
    8989                <xsl:param name="file"        select="document(concat($ConfigurationsByFile.filePath, $filename), /)"/>
    9090                <xsl:param name="configCount" select="count($file/QUERY_MODULE/CONFIGURATIONS/CONFIGURATION)"/>
    91                 <xsl:param name="partialURL"  select="concat($ibis.baseRequestPath, replace( replace($filename, '.xml', ''), $partialURLSearchFor, $partialURLReplaceWith))"/>
     91                <xsl:param name="partialURL"  select="concat($ibis.baseRequestPath, replace( replace($filename, '.xml', ''), $ConfigurationsByFile.partialURLSearchFor, $ConfigurationsByFile.partialURLReplaceWith))"/>
    9292
    9393                <xsl:if test="$configCount &gt; 0">
  • trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/configurations_func.xslt

    r21259 r21698  
    1212>
    1313        <xsl:import href="../../../Page.xslt"/>
    14         <xsl:import href="../../SiteSpecific.xslt"/>
     14        <xsl:import href="../SiteSpecific.xslt"/>
    1515
    1616        <ibis:doc>
     
    2121        </ibis:doc>
    2222
    23         <xsl:param name="Configurations.filePath" select="'../'"/>
    2423
    2524        <xsl:param name="xml"/>
    2625        <xsl:param name="Page.pageTitle" ibis:doc="Page's title text.">Query Module Func to Configuration Report (<xsl:value-of select="/FILES/TITLE"/>)</xsl:param>
     26
     27        <xsl:param name="Configurations.filePath" select="'../'"/>
    2728
    2829
  • trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/dimension_names.xslt

    r21259 r21698  
    99>
    1010        <xsl:import href="../../../Page.xslt"/>
    11         <xsl:import href="../../SiteSpecific.xslt"/>
     11        <xsl:import href="../SiteSpecific.xslt"/>
    1212
    1313        <ibis:doc>
     
    2121        </ibis:doc>
    2222
    23         <xsl:param name="DimensionNames.filenamePath" select="'../'"/>
    2423
    2524        <xsl:param name="xml"/>
    2625        <xsl:param name="Page.pageTitle" ibis:doc="Page's title text.">Query Module Dimension Names Report (<xsl:value-of select="/FILES/TITLE"/>)</xsl:param>
     26
     27        <xsl:param name="DimensionNames.filePath" select="'../'"/>
    2728
    2829
     
    3536                                <xsl:for-each select="/FILES/FILE">
    3637                                        <xsl:call-template name="processFile">
    37                                                 <xsl:with-param name="filename" select="concat($DimensionNames.filenamePath, NAME)"/>
     38                                                <xsl:with-param name="filename" select="concat($DimensionNames.filePath, NAME)"/>
    3839                                        </xsl:call-template>
    3940                                </xsl:for-each>
  • trunk/ibisph-view/src/main/webapp/xslt/html/query/module/report/dimension_names_by_file.xslt

    r21259 r21698  
    99>
    1010        <xsl:import href="../../../Page.xslt"/>
    11         <xsl:import href="../../SiteSpecific.xslt"/>
     11        <xsl:import href="../SiteSpecific.xslt"/>
    1212
    13         <ibis:doc>
     13        <ibis:doc>-
    1414                <name>html/query/module/report/dimension_names_by_file</name>
    1515                <summary>Report that lists ALL unique Dimension names by module file</summary>
     
    2323        </ibis:doc>
    2424
    25         <xsl:param name="DimensionNamesByFile.filenamePath" select="'../'"/>
     25
     26        <xsl:param name="DimensionNamesByFile.filePath" select="'../'"/>
    2627
    2728        <xsl:param name="xml"/>
     
    6263                <xsl:for-each select="/FILES/FILE">
    6364                        <xsl:call-template name="processFile">
    64                                 <xsl:with-param name="filename" select="concat($DimensionNamesByFile.filenamePath, current()/NAME)"/>
     65                                <xsl:with-param name="filename" select="concat($DimensionNamesByFile.filePath, current()/NAME)"/>
    6566                        </xsl:call-template>
    6667                </xsl:for-each><br/>
Note: See TracChangeset for help on using the changeset viewer.