This commit is contained in:
10
spring-webflow-samples/sellitem-jsf/.springWebflow
Normal file
10
spring-webflow-samples/sellitem-jsf/.springWebflow
Normal 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>
|
||||
@@ -29,7 +29,8 @@
|
||||
<h:inputText id="price" value="#{flowScope.sale.price}" required="true">
|
||||
<f:validateDoubleRange minimum="0.01"/>
|
||||
</h:inputText>
|
||||
|
||||
</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>
|
||||
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user