Author: sumedha
Date: Sat Jan 19 01:36:25 2008
New Revision: 12505
Log:
Parameter type can be empty
Modified:
branches/wsas/java/2.2/wsas/java/modules/www/extensions/core/xslt/data_service_add_edit_operatoin_query.xsl
Modified:
branches/wsas/java/2.2/wsas/java/modules/www/extensions/core/xslt/data_service_add_edit_operatoin_query.xsl
==============================================================================
---
branches/wsas/java/2.2/wsas/java/modules/www/extensions/core/xslt/data_service_add_edit_operatoin_query.xsl
(original)
+++
branches/wsas/java/2.2/wsas/java/modules/www/extensions/core/xslt/data_service_add_edit_operatoin_query.xsl
Sat Jan 19 01:36:25 2008
@@ -43,13 +43,14 @@
<xsl:otherwise>
<xsl:for-each select="param">
<xsl:variable name="paramType"
select="@type"/>
- <xsl:if test="$paramType='IN'">
+ <xsl:if test="$paramType='' or
$paramType='IN' or $paramType='INOUT'">
<label>
<xsl:value-of
select="@name"/>
</label>
<input type="text">
<xsl:attribute
name="size">30</xsl:attribute>
<xsl:attribute
name="id"><xsl:value-of select="generate-id()"/>_genId</xsl:attribute>
+ <xsl:attribute
name="value"><xsl:value-of select="@name"/></xsl:attribute>
</input>
</xsl:if>
</xsl:for-each>
@@ -73,7 +74,7 @@
<xsl:otherwise>
<xsl:for-each select="$query/param">
<xsl:variable name="paramType"
select="@type"/>
- <xsl:if test="$paramType='IN'">
+ <xsl:if test="$paramType='' or
$paramType='IN' or $paramType='INOUT'">
<label>
<xsl:value-of select="@name"/>
</label>
@@ -126,7 +127,7 @@
<xsl:when test="param">
<xsl:for-each select="param">
<xsl:variable name="paramType"
select="@type"/>
- <xsl:if test="$paramType='IN'">
+ <xsl:if test="$paramType='' or
$paramType='IN' or $paramType='INOUT'">
holderObject["<xsl:value-of
select="@name"/>"] = document.getElementById('<xsl:value-of
select="generate-id()"/>_genId').value;
</xsl:if>
</xsl:for-each>
@@ -144,7 +145,7 @@
<xsl:when test="$query/param">
<xsl:for-each select="$query/param">
<xsl:variable name="paramType"
select="@type"/>
- <xsl:if test="$paramType='IN'">
+ <xsl:if test="$paramType='' or
$paramType='IN' or $paramType='INOUT'">
holderObject["<xsl:value-of
select="@name"/>"] = document.getElementById('<xsl:value-of
select="generate-id()"/>_genId').value;
</xsl:if>
</xsl:for-each>
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev