Changeset 4730


Ignore:
Timestamp:
2003-06-18T15:56:34+12:00 (21 years ago)
Author:
kjdon
Message:

now uses paramList from service-params.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/default/transform/process.xsl

    r4712 r4730  
    5353  </xsl:template>
    5454 
    55 
    56   <xsl:template match="paramList">
    57     <p/><table width="537">
    58       <xsl:for-each select="param">
    59     <xsl:choose>
    60       <xsl:when test="@type='multi'">
    61         <tr><td colspan='2'>
    62         <xsl:apply-templates select='.'/></td></tr>
    63       </xsl:when>
    64       <xsl:otherwise>
    65         <xsl:variable name="pname" select="@name"/>
    66         <xsl:variable name="pvalue"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name=$pname]"><xsl:value-of select="/page/pageRequest/paramList/param[@name=$pname]/@value"/></xsl:when><xsl:otherwise><xsl:value-of select="@default"/></xsl:otherwise></xsl:choose></xsl:variable>
    67         <tr><td><xsl:value-of select='ancestor::service/display/param[@name=$pname]/name'/></td><td align="right"><xsl:apply-templates select="."><xsl:with-param name="default" select="$pvalue"/></xsl:apply-templates></td></tr>
    68       </xsl:otherwise>
    69     </xsl:choose>
    70       </xsl:for-each>
    71     </table>
    72   </xsl:template>
    73  
    7455  <xsl:template match="status">
    7556    <xsl:param name="clusterName"/>
Note: See TracChangeset for help on using the changeset viewer.