Changeset 403
- Timestamp:
- 03/19/07 22:50:33 (2 years ago)
- Files:
-
- trunk/src/main/resources/xsl/stub.xsl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/resources/xsl/stub.xsl
r338 r403 242 242 </xsl:if> 243 243 <xsl:choose> 244 <xsl:when test="@type = 'text' ">244 <xsl:when test="@type = 'text' or @type = 'password'"> 245 245 <input> 246 246 <xsl:attribute name="id"> 247 <xsl:value-of select="$id"/> 248 <xsl:text>_</xsl:text> 249 <xsl:value-of select="@name"/> 250 </xsl:attribute> 251 <xsl:attribute name="name"> 247 252 <xsl:value-of select="$id"/> 248 253 <xsl:text>_</xsl:text> … … 255 260 <select> 256 261 <xsl:attribute name="id"> 262 <xsl:value-of select="$id"/> 263 <xsl:text>_</xsl:text> 264 <xsl:value-of select="@name"/> 265 </xsl:attribute> 266 <xsl:attribute name="name"> 257 267 <xsl:value-of select="$id"/> 258 268 <xsl:text>_</xsl:text> … … 272 282 <xsl:value-of select="@name"/> 273 283 </xsl:attribute> 284 <xsl:attribute name="name"> 285 <xsl:value-of select="$id"/> 286 <xsl:text>_</xsl:text> 287 <xsl:value-of select="@name"/> 288 </xsl:attribute> 274 289 <xsl:copy-of select="@*[local-name() != 'id' and local-name() != 'name' and local-name() != 'mandatory' and local-name() != 'type']"/> 275 290 <xsl:apply-templates select="text()"/> … … 278 293 <xsl:when test="@type = 'submit'"> 279 294 <input> 280 <xsl:copy-of select="@*"/> 295 <xsl:attribute name="name"> 296 <xsl:value-of select="$id"/> 297 <xsl:text>_</xsl:text> 298 <xsl:value-of select="@name"/> 299 </xsl:attribute> 300 <xsl:copy-of select="@*[local-name() != 'name']"/> 281 301 </input> 282 302 </xsl:when>
