comparison gnv/src/main/webapp/WEB-INF/config/templates/describe-ui.xsl @ 162:3be414dc974a

The Submitbutton now is placed properly after single IinputFields issue81 gnv/trunk@322 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Wed, 11 Nov 2009 13:20:34 +0000
parents 330871ca1fd3
children b48172dc24ed
comparison
equal deleted inserted replaced
161:9b35599f50bb 162:3be414dc974a
8 8
9 <xsl:template match="*[local-name() = 'select']"> 9 <xsl:template match="*[local-name() = 'select']">
10 <xsl:variable name="selectName" select="@ref"/> 10 <xsl:variable name="selectName" select="@ref"/>
11 <legend><xsl:value-of select="*[local-name() = 'label']"/></legend> 11 <legend><xsl:value-of select="*[local-name() = 'label']"/></legend>
12 <select name="{$selectName}" multiple="multiple" size="6"> <xsl:apply-templates/></select> 12 <select name="{$selectName}" multiple="multiple" size="6"> <xsl:apply-templates/></select>
13 <br/>
13    </xsl:template> 14    </xsl:template>
14 <xsl:template match="*[local-name() = 'select1']"> 15 <xsl:template match="*[local-name() = 'select1']">
15 <xsl:variable name="selectName" select="@ref"/> 16 <xsl:variable name="selectName" select="@ref"/>
16 <legend><xsl:value-of select="*[local-name() = 'label']"/></legend> 17 <legend><xsl:value-of select="*[local-name() = 'label']"/></legend>
17 <select name="{$selectName}"> <xsl:apply-templates/></select> 18 <select name="{$selectName}"> <xsl:apply-templates/></select>
19 <br/>
18    </xsl:template> 20    </xsl:template>
19 <xsl:template match="*[local-name() = 'item']"> 21 <xsl:template match="*[local-name() = 'item']">
20 <xsl:variable name="optionValue" select="*[local-name() = 'value']"/> 22 <xsl:variable name="optionValue" select="*[local-name() = 'value']"/>
21 <xsl:choose> 23 <xsl:choose>
22 <xsl:when test="@selected = 'true'"> 24 <xsl:when test="@selected = 'true'">

http://dive4elements.wald.intevation.org