Changeset 19905 in main


Ignore:
Timestamp:
02/26/20 14:30:45 (3 years ago)
Author:
GarthBraithwaite_STG
Message:

view - temp CP commit to save the control UI before refactor.

Location:
trunk/ibisph-view/src/main/webapp/xslt/html/community
Files:
2 edited

Legend:

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

    r19902 r19905  
    103103                                                </xsl:if>
    104104-->
    105                                                 <select name="dimensionValue" id="dimensionValue" onchange="requestSamePageDifferentDimensionValue()" style="width: 200px;">
     105                                                <select name="dimensionValue" id="dimensionValue" onchange="location=this.value; this.value='';" style="width: 200px;">
    106106                                                        <xsl:for-each select="$Page.communityDimension/VALUES/VALUE[not(NOT_SELECTABLE_FLAG)]">
    107107                                                                <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/>
    108108                                                                <xsl:sort select="TITLE" order="ascending"/>
    109109                                                                <xsl:variable name="value" select="normalize-space(text()[1])"/>
    110                                                                 <option value="{$value}">
     110                                                                <option value="{concat($ibis.baseRequestPath, 'community/facts/', $Page.dimensionName, '/', $value, '.html')}">
    111111                                                                        <xsl:if test="$value = $Page.dimensionValue">
    112112                                                                                <xsl:attribute name="selected">selected</xsl:attribute>
  • trunk/ibisph-view/src/main/webapp/xslt/html/community/indicators/Page.xslt

    r19902 r19905  
    7070                                                </xsl:if>
    7171-->
    72                                                 <select name="dimensionValue" id="dimensionValue" onchange="requestSamePageDifferentDimensionValue()" style="width: 100%">
     72                                                <select name="dimensionValue" id="dimensionValue" onchange="location=this.value; this.value='';" style="width: 100%">
    7373                                                        <xsl:for-each select="$Page.communityDimension/VALUES/VALUE[not(NOT_SELECTABLE_FLAG)]">
    7474                                                                <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/>
    7575                                                                <xsl:sort select="TITLE" order="ascending"/>
    7676                                                                <xsl:variable name="value" select="normalize-space(text()[1])"/>
    77                                                                 <option value="{$value}">
     77                                                                <option value="{concat($ibis.baseRequestPath, 'community/indicators/', $Page.indicatorSetName, '/', $Page.dimensionName, '/', $value, '.html')}">
    7878                                                                        <xsl:if test="$value = $Page.dimensionValue">
    7979                                                                                <xsl:attribute name="selected">selected</xsl:attribute>
     
    9898                                        <td>
    9999                                                <select name="indicatorSetName" id="indicatorSetName"
    100                                                         onchange="requestDifferentIndicatorSet('{$Page.indicatorSetName}')"
     100                                                        onchange="location=this.value; this.value='';"
    101101                                                >
    102102<!--
     
    106106                                                                <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/>
    107107                                                                <xsl:sort select="TITLE" order="ascending"/>
    108                                                                 <option value="{NAME}">
     108                                                                <option value="{concat($ibis.baseRequestPath, 'community/indicators/', NAME, '/', $Page.dimensionName, '/', $Page.dimensionValue, '.html')}">
    109109                                                                        <xsl:if test="NAME = $Page.indicatorSetName">
    110110                                                                                <xsl:attribute name="selected">selected</xsl:attribute>
Note: See TracChangeset for help on using the changeset viewer.