You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by ta...@apache.org on 2004/09/02 00:05:23 UTC

cvs commit: jakarta-jetspeed-2/applications/jsf-demo/src/webapp index.jsp response.jsp greeting.jsp wave.med.gif

taylor      2004/09/01 15:05:23

  Modified:    applications/jsf-demo/src/webapp index.jsp response.jsp
                        greeting.jsp wave.med.gif
  Log:
  *** keyword substitution change ***
  
  Revision  Changes    Path
  1.2       +57 -57    jakarta-jetspeed-2/applications/jsf-demo/src/webapp/index.jsp
  
  Index: index.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/jsf-demo/src/webapp/index.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.jsp	17 Aug 2004 19:57:57 -0000	1.1
  +++ index.jsp	1 Sep 2004 22:05:23 -0000	1.2
  @@ -1,57 +1,57 @@
  -<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  -<!--
  - Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  - 
  - Redistribution and use in source and binary forms, with or
  - without modification, are permitted provided that the following
  - conditions are met:
  - 
  - - Redistributions of source code must retain the above copyright
  -   notice, this list of conditions and the following disclaimer.
  - 
  - - Redistribution in binary form must reproduce the above
  -   copyright notice, this list of conditions and the following
  -   disclaimer in the documentation and/or other materials
  -   provided with the distribution.
  -    
  - Neither the name of Sun Microsystems, Inc. or the names of
  - contributors may be used to endorse or promote products derived
  - from this software without specific prior written permission.
  -  
  - This software is provided "AS IS," without a warranty of any
  - kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
  - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
  - FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
  - EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
  - DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
  - RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR
  - ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
  - FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
  - SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
  - CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
  - THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
  - BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  -  
  - You acknowledge that this software is not designed, licensed or
  - intended for use in the design, construction, operation or
  - maintenance of any nuclear facility.
  --->
  -<html>
  -<head>
  -</head>
  -<body>
  -
  -<!--  
  -
  -This page allows the user to go to the context-path and get redirected
  -to the front page of the app.  For example,
  -http://localhost:8080/jsf-carstore/.  Note that we use "*.jsf" as the
  -page mapping.  Doing so allows us to just name our pages as "*.jsp",
  -refer to them as "*.jsf" and know that they will be properly picked up
  -by the container.
  -
  --->
  -
  -<jsp:forward page="greeting.jsp" />
  -</body>
  -</html>
  +<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
  +<!--
  + Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  + 
  + Redistribution and use in source and binary forms, with or
  + without modification, are permitted provided that the following
  + conditions are met:
  + 
  + - Redistributions of source code must retain the above copyright
  +   notice, this list of conditions and the following disclaimer.
  + 
  + - Redistribution in binary form must reproduce the above
  +   copyright notice, this list of conditions and the following
  +   disclaimer in the documentation and/or other materials
  +   provided with the distribution.
  +    
  + Neither the name of Sun Microsystems, Inc. or the names of
  + contributors may be used to endorse or promote products derived
  + from this software without specific prior written permission.
  +  
  + This software is provided "AS IS," without a warranty of any
  + kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
  + WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
  + FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
  + EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
  + DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
  + RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR
  + ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
  + FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
  + SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
  + CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
  + THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
  + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  +  
  + You acknowledge that this software is not designed, licensed or
  + intended for use in the design, construction, operation or
  + maintenance of any nuclear facility.
  +-->
  +<html>
  +<head>
  +</head>
  +<body>
  +
  +<!--  
  +
  +This page allows the user to go to the context-path and get redirected
  +to the front page of the app.  For example,
  +http://localhost:8080/jsf-carstore/.  Note that we use "*.jsf" as the
  +page mapping.  Doing so allows us to just name our pages as "*.jsp",
  +refer to them as "*.jsf" and know that they will be properly picked up
  +by the container.
  +
  +-->
  +
  +<jsp:forward page="greeting.jsp" />
  +</body>
  +</html>
  
  
  
  1.2       +53 -53    jakarta-jetspeed-2/applications/jsf-demo/src/webapp/response.jsp
  
  Index: response.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/jsf-demo/src/webapp/response.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- response.jsp	17 Aug 2004 19:57:57 -0000	1.1
  +++ response.jsp	1 Sep 2004 22:05:23 -0000	1.2
  @@ -1,53 +1,53 @@
  -<!--
  - Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  - 
  - Redistribution and use in source and binary forms, with or
  - without modification, are permitted provided that the following
  - conditions are met:
  - 
  - - Redistributions of source code must retain the above copyright
  -   notice, this list of conditions and the following disclaimer.
  - 
  - - Redistribution in binary form must reproduce the above
  -   copyright notice, this list of conditions and the following
  -   disclaimer in the documentation and/or other materials
  -   provided with the distribution.
  -    
  - Neither the name of Sun Microsystems, Inc. or the names of
  - contributors may be used to endorse or promote products derived
  - from this software without specific prior written permission.
  -  
  - This software is provided "AS IS," without a warranty of any
  - kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
  - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
  - FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
  - EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
  - DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
  - RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR
  - ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
  - FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
  - SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
  - CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
  - THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
  - BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  -  
  - You acknowledge that this software is not designed, licensed or
  - intended for use in the design, construction, operation or
  - maintenance of any nuclear facility.
  --->
  -
  -<HTML>
  -    <HEAD> <title>Guess The Number</title> </HEAD>
  -    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
  -    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
  -    <body bgcolor="white">
  -    <f:view>
  -    <h:form id="responseForm" >
  -        <h:graphicImage id="waveImg" url="/wave.med.gif" />
  -    <h2><h:outputText id="result" 
  -    			value="#{UserNumberBean.response}"/></h2>   
  -    <h:commandButton id="back" value="Back" action="success"/><p>
  -
  -    </h:form>
  -    </f:view>
  - </HTML>
  +<!--
  + Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  + 
  + Redistribution and use in source and binary forms, with or
  + without modification, are permitted provided that the following
  + conditions are met:
  + 
  + - Redistributions of source code must retain the above copyright
  +   notice, this list of conditions and the following disclaimer.
  + 
  + - Redistribution in binary form must reproduce the above
  +   copyright notice, this list of conditions and the following
  +   disclaimer in the documentation and/or other materials
  +   provided with the distribution.
  +    
  + Neither the name of Sun Microsystems, Inc. or the names of
  + contributors may be used to endorse or promote products derived
  + from this software without specific prior written permission.
  +  
  + This software is provided "AS IS," without a warranty of any
  + kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
  + WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
  + FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
  + EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
  + DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
  + RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR
  + ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
  + FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
  + SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
  + CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
  + THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
  + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  +  
  + You acknowledge that this software is not designed, licensed or
  + intended for use in the design, construction, operation or
  + maintenance of any nuclear facility.
  +-->
  +
  +<HTML>
  +    <HEAD> <title>Guess The Number</title> </HEAD>
  +    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
  +    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
  +    <body bgcolor="white">
  +    <f:view>
  +    <h:form id="responseForm" >
  +        <h:graphicImage id="waveImg" url="/wave.med.gif" />
  +    <h2><h:outputText id="result" 
  +    			value="#{UserNumberBean.response}"/></h2>   
  +    <h:commandButton id="back" value="Back" action="success"/><p>
  +
  +    </h:form>
  +    </f:view>
  + </HTML>
  
  
  
  1.2       +60 -60    jakarta-jetspeed-2/applications/jsf-demo/src/webapp/greeting.jsp
  
  Index: greeting.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/applications/jsf-demo/src/webapp/greeting.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- greeting.jsp	17 Aug 2004 19:57:57 -0000	1.1
  +++ greeting.jsp	1 Sep 2004 22:05:23 -0000	1.2
  @@ -1,60 +1,60 @@
  -<!--
  - Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  - 
  - Redistribution and use in source and binary forms, with or
  - without modification, are permitted provided that the following
  - conditions are met:
  - 
  - - Redistributions of source code must retain the above copyright
  -   notice, this list of conditions and the following disclaimer.
  - 
  - - Redistribution in binary form must reproduce the above
  -   copyright notice, this list of conditions and the following
  -   disclaimer in the documentation and/or other materials
  -   provided with the distribution.
  -    
  - Neither the name of Sun Microsystems, Inc. or the names of
  - contributors may be used to endorse or promote products derived
  - from this software without specific prior written permission.
  -  
  - This software is provided "AS IS," without a warranty of any
  - kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
  - WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
  - FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
  - EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
  - DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
  - RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR
  - ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
  - FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
  - SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
  - CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
  - THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
  - BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  -  
  - You acknowledge that this software is not designed, licensed or
  - intended for use in the design, construction, operation or
  - maintenance of any nuclear facility.
  --->
  -
  -<HTML>
  -    <HEAD> <title>Hello</title> </HEAD>
  -    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
  -    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
  -    <body bgcolor="white">
  -    <f:view>
  -    <h:form id="helloForm" >
  -      <h2>Hi. My name is Duke.  I'm thinking of a number from
  -      <h:outputText value="#{UserNumberBean.minimum}"/> to
  -      <h:outputText value="#{UserNumberBean.maximum}"/>.  Can you guess
  -      it?</h2>
  -
  -        <h:graphicImage id="waveImg" url="/wave.med.gif" />
  -  	<h:inputText id="userNo" value="#{UserNumberBean.userNumber}"
  -                      validator="#{UserNumberBean.validate}"/>          
  -	 <h:commandButton id="submit" action="success" value="Submit" />
  -         <p>
  -	 <h:message style="color: red; font-family: 'New Century Schoolbook', serif; font-style: oblique; text-decoration: overline" id="errors1" for="userNo"/>
  -
  -    </h:form>
  -    </f:view>
  -</HTML>  
  +<!--
  + Copyright 2004 Sun Microsystems, Inc. All Rights Reserved.
  + 
  + Redistribution and use in source and binary forms, with or
  + without modification, are permitted provided that the following
  + conditions are met:
  + 
  + - Redistributions of source code must retain the above copyright
  +   notice, this list of conditions and the following disclaimer.
  + 
  + - Redistribution in binary form must reproduce the above
  +   copyright notice, this list of conditions and the following
  +   disclaimer in the documentation and/or other materials
  +   provided with the distribution.
  +    
  + Neither the name of Sun Microsystems, Inc. or the names of
  + contributors may be used to endorse or promote products derived
  + from this software without specific prior written permission.
  +  
  + This software is provided "AS IS," without a warranty of any
  + kind. ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND
  + WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
  + FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE HEREBY
  + EXCLUDED. SUN AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY
  + DAMAGES OR LIABILITIES SUFFERED BY LICENSEE AS A RESULT OF OR
  + RELATING TO USE, MODIFICATION OR DISTRIBUTION OF THIS SOFTWARE OR
  + ITS DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE
  + FOR ANY LOST REVENUE, PROFIT OR DATA, OR FOR DIRECT, INDIRECT,
  + SPECIAL, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER
  + CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING OUT OF
  + THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
  + BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
  +  
  + You acknowledge that this software is not designed, licensed or
  + intended for use in the design, construction, operation or
  + maintenance of any nuclear facility.
  +-->
  +
  +<HTML>
  +    <HEAD> <title>Hello</title> </HEAD>
  +    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
  +    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
  +    <body bgcolor="white">
  +    <f:view>
  +    <h:form id="helloForm" >
  +      <h2>Hi. My name is Duke.  I'm thinking of a number from
  +      <h:outputText value="#{UserNumberBean.minimum}"/> to
  +      <h:outputText value="#{UserNumberBean.maximum}"/>.  Can you guess
  +      it?</h2>
  +
  +        <h:graphicImage id="waveImg" url="/wave.med.gif" />
  +  	<h:inputText id="userNo" value="#{UserNumberBean.userNumber}"
  +                      validator="#{UserNumberBean.validate}"/>          
  +	 <h:commandButton id="submit" action="success" value="Submit" />
  +         <p>
  +	 <h:message style="color: red; font-family: 'New Century Schoolbook', serif; font-style: oblique; text-decoration: overline" id="errors1" for="userNo"/>
  +
  +    </h:form>
  +    </f:view>
  +</HTML>  
  
  
  
  1.2       +0 -0      jakarta-jetspeed-2/applications/jsf-demo/src/webapp/wave.med.gif
  
  	<<Binary file>>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org