You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by im...@apache.org on 2006/05/13 19:56:38 UTC
svn commit: r406133 - in /myfaces/tomahawk/trunk/sandbox/examples/src/main:
java/org/apache/myfaces/examples/conversation/ webapp/ webapp/WEB-INF/
webapp/conversation/
Author: imario
Date: Sat May 13 10:56:36 2006
New Revision: 406133
URL: http://svn.apache.org/viewcvs?rev=406133&view=rev
Log:
conversationTag: multi page conversation example - registration wizard
Added:
myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java (with props)
myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java (with props)
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/index.jsp (with props)
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp (with props)
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp (with props)
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp (with props)
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp (with props)
Modified:
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml
myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/home.jsp
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java?rev=406133&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java Sat May 13 10:56:36 2006
@@ -0,0 +1,28 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package org.apache.myfaces.examples.conversation;
+
+import javax.faces.application.FacesMessage;
+import javax.faces.context.FacesContext;
+
+public class WizardController
+{
+ public String save()
+ {
+ FacesContext.getCurrentInstance().addMessage(null, new FacesMessage("data saved"));
+ return "success";
+ }
+}
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardController.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java?rev=406133&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java Sat May 13 10:56:36 2006
@@ -0,0 +1,125 @@
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package org.apache.myfaces.examples.conversation;
+
+public class WizardData
+{
+ // page 1
+ private String salutation;
+ private String title;
+ private String name;
+ private String surename;
+
+ // page 2
+ private String street;
+ private String city;
+ private String state;
+ private String province;
+ private String postal;
+ private String country;
+
+ // page 3
+ private String info;
+
+ public String getCity()
+ {
+ return city;
+ }
+ public void setCity(String city)
+ {
+ this.city = city;
+ }
+ public String getCountry()
+ {
+ return country;
+ }
+ public void setCountry(String country)
+ {
+ this.country = country;
+ }
+ public String getName()
+ {
+ return name;
+ }
+ public void setName(String name)
+ {
+ this.name = name;
+ }
+ public String getPostal()
+ {
+ return postal;
+ }
+ public void setPostal(String postal)
+ {
+ this.postal = postal;
+ }
+ public String getProvince()
+ {
+ return province;
+ }
+ public void setProvince(String province)
+ {
+ this.province = province;
+ }
+ public String getSalutation()
+ {
+ return salutation;
+ }
+ public void setSalutation(String salutation)
+ {
+ this.salutation = salutation;
+ }
+ public String getState()
+ {
+ return state;
+ }
+ public void setState(String state)
+ {
+ this.state = state;
+ }
+ public String getStreet()
+ {
+ return street;
+ }
+ public void setStreet(String street)
+ {
+ this.street = street;
+ }
+ public String getSurename()
+ {
+ return surename;
+ }
+ public void setSurename(String surename)
+ {
+ this.surename = surename;
+ }
+ public String getTitle()
+ {
+ return title;
+ }
+ public void setTitle(String title)
+ {
+ this.title = title;
+ }
+ public String getInfo()
+ {
+ return info;
+ }
+ public void setInfo(String info)
+ {
+ this.info = info;
+ }
+}
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/conversation/WizardData.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml?rev=406133&r1=406132&r2=406133&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/WEB-INF/examples-config.xml Sat May 13 10:56:36 2006
@@ -574,6 +574,16 @@
<managed-bean-class>org.apache.myfaces.examples.conversation.ConvData</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
+ <managed-bean>
+ <managed-bean-name>wizardData</managed-bean-name>
+ <managed-bean-class>org.apache.myfaces.examples.conversation.WizardData</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
+ <managed-bean>
+ <managed-bean-name>wizardController</managed-bean-name>
+ <managed-bean-class>org.apache.myfaces.examples.conversation.WizardController</managed-bean-class>
+ <managed-bean-scope>request</managed-bean-scope>
+ </managed-bean>
<!-- navigation rules -->
@@ -652,6 +662,27 @@
<from-action>#{convData.save}</from-action>
<from-outcome>jo-o</from-outcome>
<to-view-id>/conversation/pageConversationEndAction.jsp</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-action>#{wizardController.save}</from-action>
+ <from-outcome>success</from-outcome>
+ <to-view-id>/conversation/wizardPage1.jsp</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>wizardPage1</from-outcome>
+ <to-view-id>/conversation/wizardPage1.jsp</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>wizardPage2</from-outcome>
+ <to-view-id>/conversation/wizardPage2.jsp</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>wizardPage3</from-outcome>
+ <to-view-id>/conversation/wizardPage3.jsp</to-view-id>
+ </navigation-case>
+ <navigation-case>
+ <from-outcome>wizardFinish</from-outcome>
+ <to-view-id>/conversation/wizardFinish.jsp</to-view-id>
</navigation-case>
</navigation-rule>
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/index.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/index.jsp?rev=406133&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/index.jsp (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/index.jsp Sat May 13 10:56:36 2006
@@ -0,0 +1,27 @@
+<%@ page session="false" contentType="text/html;charset=utf-8"%>
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+
+<html>
+
+ <%@include file="/inc/head.inc" %>
+<body>
+ <f:view>
+
+ <h:panelGrid>
+ <f:verbatim>
+ Open the links in an new window/tab and see how it will start a new conversation context
+ </f:verbatim>
+
+ <h:outputText value="Conversation"/>
+ <h:panelGrid style="padding-left:25px">
+ <h:outputLink value="pageConversation.jsf" ><f:verbatim>Single page conversation</f:verbatim></h:outputLink>
+ <h:outputLink value="wizardPage1.jsf" ><f:verbatim>Wizard</f:verbatim></h:outputLink>
+ </h:panelGrid>
+
+ </h:panelGrid>
+ </f:view>
+
+</body>
+</html>
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/index.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/index.jsp
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp?rev=406133&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp Sat May 13 10:56:36 2006
@@ -0,0 +1,93 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
+
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<html>
+<head>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" />
+<title>MyFaces - the free JSF Implementation</title>
+<link rel="stylesheet" type="text/css" href="css/basic.css" />
+</head>
+<body>
+<f:view>
+
+<t:htmlTag value="h1">Registration Wizard</t:htmlTag>
+
+<h:form>
+<h:outputText value="Whatever the page might tell you, no data will ever be saved ;-)." />
+<h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="Registration Wizard (Check)" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:commandButton value="Save" action="#{wizardController.save}">
+ <s:endConversation name="wizard" onOutcome="success"/>
+ </h:commandButton>
+ </h:panelGroup>
+ </f:facet>
+
+ <h:outputText value="Edit data on" />
+ <h:commandButton value="Page1" action="wizardPage1" />
+
+ <h:outputText value="Salutation: " />
+ <h:outputText value="#{wizardData.salutation}" />
+
+ <h:outputText value="Title: " />
+ <h:outputText value="#{wizardData.title}" />
+
+ <h:outputText value="Name: " />
+ <h:outputText value="#{wizardData.name}" />
+
+ <h:outputText value="Surename: " />
+ <h:outputText value="#{wizardData.surename}" />
+
+ <h:outputText value="Edit data on" />
+ <h:commandButton value="Page2" action="wizardPage2" />
+
+ <h:outputText value="Street: " />
+ <h:outputText value="#{wizardData.street}" />
+
+ <h:outputText value="City: " />
+ <h:outputText value="#{wizardData.city}" />
+
+ <h:outputText value="State: " />
+ <h:outputText value="#{wizardData.state}" />
+
+ <h:outputText value="Province: " />
+ <h:outputText value="#{wizardData.province}" />
+
+ <h:outputText value="Postal: " />
+ <h:outputText value="#{wizardData.postal}" />
+
+ <h:outputText value="Edit data on" />
+ <h:commandButton value="Page3" action="wizardPage3" />
+
+ <h:outputText value="Info: " />
+ <t:outputText value="#{wizardData.info}" escape="false" />
+
+</h:panelGrid>
+<h:messages showDetail="true"/>
+</h:form>
+</f:view>
+</body>
+</html>
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardFinish.jsp
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp?rev=406133&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp Sat May 13 10:56:36 2006
@@ -0,0 +1,70 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
+
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<html>
+<head>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" />
+<title>MyFaces - the free JSF Implementation</title>
+<link rel="stylesheet" type="text/css" href="css/basic.css" />
+</head>
+<body>
+<f:view>
+
+<t:htmlTag value="h1">Registration Wizard</t:htmlTag>
+
+<s:startConversation name="wizard" />
+<s:conversation name="wizard" value="#{wizardData}" />
+
+<h:form>
+<h:outputText value="Whatever the page might tell you, no data will ever be saved ;-)." />
+<h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="Registration Wizard (page 1/3)" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:commandButton value="Next >>" action="wizardPage2" />
+ </h:panelGroup>
+ </f:facet>
+
+ <h:outputText id="salutation" value="Salutation: " />
+ <h:selectOneMenu value="#{wizardData.salutation}" required="true">
+ <f:selectItem itemValue="Mr."/>
+ <f:selectItem itemValue="Mrs."/>
+ </h:selectOneMenu>
+
+ <h:outputText value="Title: " />
+ <h:inputText id="stree" value="#{wizardData.title}" />
+
+ <h:outputText value="Name: " />
+ <h:inputText id="name" value="#{wizardData.name}" required="true"/>
+
+ <h:outputText value="Surename: " />
+ <h:inputText id="surename" value="#{wizardData.surename}" required="true"/>
+
+</h:panelGrid>
+<h:messages showDetail="true"/>
+</h:form>
+</f:view>
+</body>
+</html>
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage1.jsp
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp?rev=406133&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp Sat May 13 10:56:36 2006
@@ -0,0 +1,67 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
+
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<html>
+<head>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" />
+<title>MyFaces - the free JSF Implementation</title>
+<link rel="stylesheet" type="text/css" href="css/basic.css" />
+</head>
+<body>
+<f:view>
+
+<t:htmlTag value="h1">Registration Wizard</t:htmlTag>
+
+<h:form>
+<h:outputText value="Whatever the page might tell you, no data will ever be saved ;-)." />
+<h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="Registration Wizard (page 2/3)" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:commandButton value="<< Prev" action="wizardPage1" immediate="true"/>
+ <h:commandButton value="Next >>" action="wizardPage3" />
+ </h:panelGroup>
+ </f:facet>
+
+ <h:outputText value="Street: " />
+ <h:inputText id="street" value="#{wizardData.street}" required="true"/>
+
+ <h:outputText value="City: " />
+ <h:inputText id="city" value="#{wizardData.city}" required="true"/>
+
+ <h:outputText value="State: " />
+ <h:inputText id="state" value="#{wizardData.state}" required="true"/>
+
+ <h:outputText value="Province: " />
+ <h:inputText id="province" value="#{wizardData.province}" />
+
+ <h:outputText value="Postal: " />
+ <h:inputText id="postal" value="#{wizardData.postal}" required="true"/>
+</h:panelGrid>
+<h:messages showDetail="true"/>
+</h:form>
+</f:view>
+</body>
+</html>
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage2.jsp
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp?rev=406133&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp Sat May 13 10:56:36 2006
@@ -0,0 +1,60 @@
+<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
+<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
+<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
+<%@ taglib uri="http://myfaces.apache.org/sandbox" prefix="s"%>
+
+<!--
+/*
+ * Copyright 2006 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+//-->
+
+<html>
+<head>
+<meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8" />
+<title>MyFaces - the free JSF Implementation</title>
+<link rel="stylesheet" type="text/css" href="css/basic.css" />
+</head>
+<body>
+<f:view>
+
+<t:htmlTag value="h1">Registration Wizard</t:htmlTag>
+
+<h:form>
+<h:outputText value="Whatever the page might tell you, no data will ever be saved ;-)." />
+<h:panelGrid columns="2">
+ <f:facet name="header">
+ <h:outputText value="Registration Wizard (page 3/3)" />
+ </f:facet>
+ <f:facet name="footer">
+ <h:panelGroup>
+ <h:commandButton value="<< Prev" action="wizardPage2" immediate="true"/>
+ <h:commandButton value="Finish" action="wizardFinish" />
+ </h:panelGroup>
+ </f:facet>
+
+ <h:outputText value="Info: " />
+ <t:inputHtml
+ id="info"
+ value="#{wizardData.info}"
+ allowEditSource="false"
+ allowExternalLinks="false"/>
+
+</h:panelGrid>
+<h:messages showDetail="true"/>
+</h:form>
+</f:view>
+</body>
+</html>
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/conversation/wizardPage3.jsp
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/home.jsp
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/home.jsp?rev=406133&r1=406132&r2=406133&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/home.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/home.jsp Sat May 13 10:56:36 2006
@@ -102,7 +102,7 @@
<h:outputText value="Conversation"/>
<h:panelGrid style="padding-left:25px">
- <h:outputLink value="conversation/pageConversation.jsf" ><f:verbatim>Single page conversation</f:verbatim></h:outputLink>
+ <h:outputLink value="conversation/index.jsf" ><f:verbatim>Conversation Tag examples</f:verbatim></h:outputLink>
</h:panelGrid>
</h:panelGrid>