This commit is contained in:
Keith Donald
2007-04-01 14:57:06 +00:00
parent 3b34e600b1
commit 254aa48351
2 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<webflow-project-description>
<configs>
<config>
<file>src/main/webapp/WEB-INF/flows/sellitem-flow.xml</file>
<name>sellitem-flow</name>
<beans-config>1:BeansModel|2:swf-sellitem-jsf|3:src/main/java/org/springframework/webflow/samples/sellitem/services-config.xml</beans-config>
</config>
</configs>
</webflow-project-description>

View File

@@ -29,7 +29,8 @@
<h:inputText id="price" value="#{flowScope.sale.price}" required="true">
<f:validateDoubleRange minimum="0.01"/>
</h:inputText>
&nbsp;&nbsp;
</td>
<td>
<h:message for="price" errorClass="error"/>
</td>
</tr>
@@ -39,7 +40,8 @@
<h:inputText id="itemCount" value="#{flowScope.sale.itemCount}" required="true">
<f:validateLongRange minimum="1"/>
</h:inputText>
&nbsp;&nbsp;
</td>
<td>
<h:message for="itemCount" errorClass="error"/>
</td>
</tr>
@@ -48,6 +50,7 @@
<input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}"/>
<h:commandButton type="submit" value="Next" action="submit" immediate="false" />
</td>
<td></td>
</tr>
</h:form>
</table>