Author: chanaka
Date: Tue May 13 21:22:37 2008
New Revision: 16970
Log:
properties add remove option set to old style without using a Checkbox
Modified:
trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/mediators/property_edit.xsl
Modified:
trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/mediators/property_edit.xsl
==============================================================================
---
trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/mediators/property_edit.xsl
(original)
+++
trunk/esb/java/modules/distribution/src/main/www/extensions/core/xslt/mediators/property_edit.xsl
Tue May 13 21:22:37 2008
@@ -46,25 +46,29 @@
<xsl:text>Action</xsl:text>
</td>
<td>
- <xsl:if test="not(@action) or @action != 'remove'">
- <input id="set" name="action" type="checkbox">
+ <input id="set" name="action" type="radio">
<xsl:attribute name="onClick">
- javascript:setPropertyAction('remove'); return
false;
- </xsl:attribute>
- <xsl:attribute name="checked">
- checked
+ javascript: setPropertyAction('set'); return
false;
</xsl:attribute>
+ <xsl:if test="not(@action) or @action != 'remove'">
+ <xsl:attribute name="checked">
+ true
+ </xsl:attribute>
+ </xsl:if>
</input>
- Set Action
- </xsl:if>
- <xsl:if test="@action = 'remove'">
- <input id="remove" name="action" type="checkbox">
+ Set
+
+ <input id="remove" name="action" type="radio">
<xsl:attribute name="onClick">
- javascript:setPropertyAction('set'); return
false;
- </xsl:attribute>
+ javascript: setPropertyAction('remove');
return false;
+ </xsl:attribute>
+ <xsl:if test="@action = 'remove'">
+ <xsl:attribute name="checked">
+ true
+ </xsl:attribute>
+ </xsl:if>
</input>
- Set Action
- </xsl:if>
+ Remove
</td>
</tr>
<xsl:if test="not(@action) or @action != 'remove'">
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev