Update of /var/cvs/applications/taglib/META-INF/tags/mm/u
In directory james.mmbase.org:/tmp/cvs-serv27139
Modified Files:
Tag: MMBase-1_8
option.tagx radio.tagx
Log Message:
onclick, onchange (ported from HEAD)
See also: http://cvs.mmbase.org/viewcvs/applications/taglib/META-INF/tags/mm/u
Index: option.tagx
===================================================================
RCS file: /var/cvs/applications/taglib/META-INF/tags/mm/u/option.tagx,v
retrieving revision 1.2.2.2
retrieving revision 1.2.2.3
diff -u -b -r1.2.2.2 -r1.2.2.3
--- option.tagx 23 Jul 2008 09:17:15 -0000 1.2.2.2
+++ option.tagx 25 Aug 2008 12:50:02 -0000 1.2.2.3
@@ -31,6 +31,8 @@
<jsp:directive.attribute name="lang" />
<jsp:directive.attribute name="xmllang" />
<jsp:directive.attribute name="tabindex" />
+ <jsp:directive.attribute name="onchange" />
+ <jsp:directive.attribute name="onclick" />
<c:if test="! empty referid">
<mm:write id="compare" referid="${referid}" write="false" />
@@ -82,6 +84,12 @@
<c:if test="${! empty tabindex}">
<xsl:attribute name="tabindex">${tabindex}</xsl:attribute>
</c:if>
+ <c:if test="${! empty onchange}">
+ <xsl:attribute name="onchange">${onchange}</xsl:attribute>
+ </c:if>
+ <c:if test="${! empty onclick}">
+ <xsl:attribute name="onclick">${onclick}</xsl:attribute>
+ </c:if>
<xsl:apply-templates select="*|text()" />
</option>
</xsl:template>
Index: radio.tagx
===================================================================
RCS file: /var/cvs/applications/taglib/META-INF/tags/mm/u/radio.tagx,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- radio.tagx 7 Dec 2007 12:39:15 -0000 1.1.2.2
+++ radio.tagx 25 Aug 2008 12:50:02 -0000 1.1.2.3
@@ -32,6 +32,8 @@
<jsp:directive.attribute name="lang" />
<jsp:directive.attribute name="xmllang" />
<jsp:directive.attribute name="tabindex" />
+ <jsp:directive.attribute name="onchange" />
+ <jsp:directive.attribute name="onclick" />
<jsp:directive.attribute name="type" />
@@ -85,6 +87,12 @@
<c:if test="${! empty tabindex}">
<xsl:attribute name="tabindex">${tabindex}</xsl:attribute>
</c:if>
+ <c:if test="${! empty onchange}">
+ <xsl:attribute name="onchange">${onchange}</xsl:attribute>
+ </c:if>
+ <c:if test="${! empty onclick}">
+ <xsl:attribute name="onclick">${onclick}</xsl:attribute>
+ </c:if>
<xsl:apply-templates select="*|text()" />
</input>
</xsl:template>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs