Author: sdzmitrovich
Date: 2008-10-21 07:04:01 -0400 (Tue, 21 Oct 2008)
New Revision: 11036
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml
Log:
corrected a4j:commandButton
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml 2008-10-21
09:20:19 UTC (rev 11035)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.vpe.ajax4jsf/templates/vpe-templates-ajax4jsf.xml 2008-10-21
11:04:01 UTC (rev 11036)
@@ -74,9 +74,9 @@
<vpe:tag name="a4j:commandButton" case-sensitive="yes">
<vpe:if test="not(attrpresent('image'))">
- <vpe:if test="(@type='')|(@type='submit')">
+ <vpe:if test="(@type='')">
<vpe:template children="no" modify="no">
- <input type="reset" value="{jsfvalue(@value)}"
class="{@styleClass}" style="{@style}"
title="{tagstring()}"/>
+ <input type="button" value="{jsfvalue(@value)}"
class="{@styleClass}" style="{@style}"
title="{tagstring()}"/>
<vpe:resize>
<vpe:width width-attr="style.width" />
<vpe:height height-attr="style.height" />
@@ -89,7 +89,7 @@
</vpe:template>
</vpe:if>
- <vpe:if test="not(@type='') and not(@type='submit')">
+ <vpe:if test="not(@type='') ">
<vpe:template children="no" modify="no">
<input type="{@type}" value="{jsfvalue(@value)}"
class="{@styleClass}" style="{@style}"
title="{tagstring()}"/>
<vpe:resize>
Show replies by date