Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

Commit

Permalink
Update for SWF-1501
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoyanchev committed Feb 29, 2012
1 parent b164c1a commit 6a24d85
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion SWF-0000/src/main/webapp/WEB-INF/myflow/myflow.xml
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/webflow
http://www.springframework.org/schema/webflow/spring-webflow.xsd">
http://www.springframework.org/schema/webflow/spring-webflow-2.0.xsd">

<view-state id="view">
<transition on="continue" to="done" />
Expand Down
1 change: 1 addition & 0 deletions SWF-0000/src/main/webapp/WEB-INF/myflow/view.jsp
@@ -1,5 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
Expand Down
7 changes: 0 additions & 7 deletions SWF-1501/pom.xml
Expand Up @@ -132,13 +132,6 @@
<scope>provided</scope>
</dependency>

<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.1</version>
<scope>provided</scope>
</dependency>

<!-- Bean Validation with the Hibernate Validator implementation -->
<dependency>
<groupId>javax.validation</groupId>
Expand Down
3 changes: 3 additions & 0 deletions SWF-1501/src/main/webapp/WEB-INF/myflow/myflow.xml
Expand Up @@ -7,6 +7,9 @@
<var name="mainEntityController" class="org.springframework.webflow.issues.MainEntityController"/>

<view-state id="view">
<on-render>
<set name="requestScope.dynamicImage" value="mainEntityController.createDynamicImage()" />
</on-render>
<transition on="continue" to="done" />
</view-state>

Expand Down
2 changes: 1 addition & 1 deletion SWF-1501/src/main/webapp/WEB-INF/myflow/view.xhtml
Expand Up @@ -10,7 +10,7 @@
<div>
<h1>My Page</h1>
<h:form>
<p:graphicImage value="#{mainEntityController.createDynamicImage()}" />
<p:graphicImage value="#{dynamicImage}" />
<h:commandButton id="continue" value="End Flow" action="continue" />
</h:form>
</div>
Expand Down

0 comments on commit 6a24d85

Please sign in to comment.