[jbosstools-commits] JBoss Tools SVN: r7102 - in trunk/jsf/plugins: org.jboss.tools.jsf.vpe.seam/templates and 1 other directory.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Tue Mar 25 07:26:12 EDT 2008


Author: dsakovich
Date: 2008-03-25 07:26:12 -0400 (Tue, 25 Mar 2008)
New Revision: 7102

Modified:
   trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
   trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
Log:
Code adjustment

Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml	2008-03-25 09:12:02 UTC (rev 7101)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.jsf/templates/vpe-templates-jsf.xml	2008-03-25 11:26:12 UTC (rev 7102)
@@ -275,7 +275,7 @@
 		<vpe:if test="not(attrpresent('image'))">
 			<vpe:if test="@type=''">
 				<vpe:template children="no" modify="no">
-					<input type="button" value="{jsfvalue(@value)}"
+					<input type="submit" value="{iif(@value='',' ', at value)}"
 						class="{@styleClass}" style="{@style}" title="{tagstring()}" />
 					<vpe:resize>
 						<vpe:width width-attr="style.width" />

Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml	2008-03-25 09:12:02 UTC (rev 7101)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml	2008-03-25 11:26:12 UTC (rev 7102)
@@ -116,7 +116,7 @@
 		<vpe:if test="not(attrpresent('image'))">
 			<vpe:if test="@type=''">
 				<vpe:template children="no" modify="no">
-					<input type="button" value="{jsfvalue(@value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
+					<input type="submit" value="{iif(@value='',' ', at value)}" class="{@styleClass}" style="{@style}" title="{tagstring()}"/>
 					<vpe:resize>
 						<vpe:width width-attr="style.width" />
 						<vpe:height height-attr="style.height" />




More information about the jbosstools-commits mailing list