Changeset 19905 in main
- Timestamp:
- 02/26/20 14:30:45 (3 years ago)
- 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 103 103 </xsl:if> 104 104 --> 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;"> 106 106 <xsl:for-each select="$Page.communityDimension/VALUES/VALUE[not(NOT_SELECTABLE_FLAG)]"> 107 107 <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/> 108 108 <xsl:sort select="TITLE" order="ascending"/> 109 109 <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')}"> 111 111 <xsl:if test="$value = $Page.dimensionValue"> 112 112 <xsl:attribute name="selected">selected</xsl:attribute> -
trunk/ibisph-view/src/main/webapp/xslt/html/community/indicators/Page.xslt
r19902 r19905 70 70 </xsl:if> 71 71 --> 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%"> 73 73 <xsl:for-each select="$Page.communityDimension/VALUES/VALUE[not(NOT_SELECTABLE_FLAG)]"> 74 74 <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/> 75 75 <xsl:sort select="TITLE" order="ascending"/> 76 76 <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')}"> 78 78 <xsl:if test="$value = $Page.dimensionValue"> 79 79 <xsl:attribute name="selected">selected</xsl:attribute> … … 98 98 <td> 99 99 <select name="indicatorSetName" id="indicatorSetName" 100 onchange=" requestDifferentIndicatorSet('{$Page.indicatorSetName}')"100 onchange="location=this.value; this.value='';" 101 101 > 102 102 <!-- … … 106 106 <xsl:sort select="SORT_ORDER" data-type="number" order="ascending"/> 107 107 <xsl:sort select="TITLE" order="ascending"/> 108 <option value="{ NAME}">108 <option value="{concat($ibis.baseRequestPath, 'community/indicators/', NAME, '/', $Page.dimensionName, '/', $Page.dimensionValue, '.html')}"> 109 109 <xsl:if test="NAME = $Page.indicatorSetName"> 110 110 <xsl:attribute name="selected">selected</xsl:attribute>
Note: See TracChangeset
for help on using the changeset viewer.