Return-Path: Delivered-To: apmail-myfaces-commits-archive@www.apache.org Received: (qmail 90096 invoked from network); 18 Jun 2008 01:39:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2008 01:39:24 -0000 Received: (qmail 31870 invoked by uid 500); 18 Jun 2008 01:39:26 -0000 Delivered-To: apmail-myfaces-commits-archive@myfaces.apache.org Received: (qmail 31813 invoked by uid 500); 18 Jun 2008 01:39:25 -0000 Mailing-List: contact commits-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list commits@myfaces.apache.org Received: (qmail 31804 invoked by uid 99); 18 Jun 2008 01:39:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 18:39:25 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Jun 2008 01:38:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id B196A238895D; Tue, 17 Jun 2008 18:38:32 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r669045 - in /myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp: WEB-INF/ WEB-INF/faces-config.xml WEB-INF/web.xml inc/ inc/head.inc inc/page_footer.jsp index.jsp validate.jsp validateCSV.jsp validateCompareTo.jsp validateUrl.jsp Date: Wed, 18 Jun 2008 01:38:32 -0000 To: commits@myfaces.apache.org From: lu4242@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080618013832.B196A238895D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: lu4242 Date: Tue Jun 17 18:38:31 2008 New Revision: 669045 URL: http://svn.apache.org/viewvc?rev=669045&view=rev Log: example Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/faces-config.xml (with props) myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/web.xml (with props) myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/head.inc myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/page_footer.jsp (with props) myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/index.jsp (with props) myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validate.jsp (with props) myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCSV.jsp (with props) myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp (with props) myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateUrl.jsp (with props) Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/faces-config.xml URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/faces-config.xml?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/faces-config.xml (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/faces-config.xml Tue Jun 17 18:38:31 2008 @@ -0,0 +1,20 @@ + + + + dataFieldHolder + + org.apache.myfaces.commons.examples.DataFieldHolder + + request + + + + validateForm + + org.apache.myfaces.examples.validate.ValidateForm + + request + + Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/faces-config.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/faces-config.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/web.xml URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/web.xml?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/web.xml (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/web.xml Tue Jun 17 18:38:31 2008 @@ -0,0 +1,150 @@ + + + + + + MyProject web.xml + + + + State saving method: "client" or "server" (= default) + See JSF Specification 2.5.3 + javax.faces.STATE_SAVING_METHOD + client + + + Only applicable if state saving method is "server" (= default). + Defines the amount (default = 20) of the latest views are stored in session. + org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION + 20 + + + Only applicable if state saving method is "server" (= default). + If true (default) the state will be serialized to a byte stream before it + is written to the session. + If false the state will not be serialized to a byte stream. + org.apache.myfaces.SERIALIZE_STATE_IN_SESSION + true + + + Only applicable if state saving method is "server" (= default) and if + org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= default) + If true (default) the serialized state will be compressed before it + is written to the session. If false the state will not be compressed. + org.apache.myfaces.COMPRESS_STATE_IN_SESSION + true + + + This parameter tells MyFaces if javascript code should be allowed in the + rendered HTML output. + If javascript is allowed, command_link anchors will have javascript code + that submits the corresponding form. + If javascript is not allowed, the state saving info and nested parameters + will be added as url parameters. + Default: "true" + org.apache.myfaces.ALLOW_JAVASCRIPT + true + + + org.apache.myfaces.DETECT_JAVASCRIPT + false + + + If true, rendered HTML code will be formatted, so that it is "human readable". + i.e. additional line separators and whitespace will be written, that do not + influence the HTML code. + Default: "true" + org.apache.myfaces.PRETTY_HTML + true + + + If true, a javascript function will be rendered that is able to restore the + former vertical scroll on every request. Convenient feature if you have pages + with long lists and you do not want the browser page to always jump to the top + if you trigger a link or button action that stays on the same page. + Default: "false" + org.apache.myfaces.AUTO_SCROLL + true + + + + Used for encrypting view state. Only relevant for client side + state saving. See MyFaces wiki/web site documentation for instructions + on how to configure an application for diffenent encryption strengths. + + org.apache.myfaces.SECRET + NzY1NDMyMTA= + + + + + Validate managed beans, navigation rules and ensure that forms are not nested. + + org.apache.myfaces.VALIDATE + true + + + + + Treat readonly same as if disabled attribute was set for select elements. + + org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS + true + + + + + Define partial state saving as true/false. + + javax.faces.PARTIAL_STATE_SAVING_METHOD + false + + + + + Faces Servlet + javax.faces.webapp.FacesServlet + 1 + + + + + Faces Servlet + *.jsf + + + + + index.jsp + index.html + + + Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/WEB-INF/web.xml ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/head.inc URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/head.inc?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/head.inc (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/head.inc Tue Jun 17 18:38:31 2008 @@ -0,0 +1,5 @@ + + + MyFaces - the free JSF Implementation + + Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/page_footer.jsp URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/page_footer.jsp?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/page_footer.jsp (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/page_footer.jsp Tue Jun 17 18:38:31 2008 @@ -0,0 +1,4 @@ +
+
+ +[HOME] Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/page_footer.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/inc/page_footer.jsp ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/index.jsp URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/index.jsp?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/index.jsp (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/index.jsp Tue Jun 17 18:38:31 2008 @@ -0,0 +1,4 @@ +<%@ page session="false"%> +<% +response.sendRedirect("home.jsf"); +%> \ No newline at end of file Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/index.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/index.jsp ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validate.jsp URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validate.jsp?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validate.jsp (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validate.jsp Tue Jun 17 18:38:31 2008 @@ -0,0 +1,91 @@ +<%@ page import="java.math.BigDecimal, + java.util.Date" %> +<%@ 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/commons/converters" prefix="mcc" %> +<%@ taglib uri="http://myfaces.apache.org/commons/validators" prefix="mcv" %> + + +<%@ include file="inc/head.inc" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%@ include file="inc/page_footer.jsp" %> + + + + Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validate.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validate.jsp ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCSV.jsp URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCSV.jsp?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCSV.jsp (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCSV.jsp Tue Jun 17 18:38:31 2008 @@ -0,0 +1,77 @@ +<%@ 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/commons/converters" prefix="mcc" %> +<%@ taglib uri="http://myfaces.apache.org/commons/validators" prefix="mcv" %> + + + +<%@include file="inc/head.inc" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%@include file="inc/page_footer.jsp" %> + + + + Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCSV.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCSV.jsp ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp Tue Jun 17 18:38:31 2008 @@ -0,0 +1,105 @@ +<%@ 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/commons/converters" prefix="mcc" %> +<%@ taglib uri="http://myfaces.apache.org/commons/validators" prefix="mcv" %> + + + +<%@include file="inc/head.inc" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%@include file="inc/page_footer.jsp" %> + + + + Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateCompareTo.jsp ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL Added: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateUrl.jsp URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateUrl.jsp?rev=669045&view=auto ============================================================================== --- myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateUrl.jsp (added) +++ myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateUrl.jsp Tue Jun 17 18:38:31 2008 @@ -0,0 +1,69 @@ +<%@ 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/commons/converters" prefix="mcc" %> +<%@ taglib uri="http://myfaces.apache.org/commons/validators" prefix="mcv" %> + + + +<%@include file="inc/head.inc" %> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%@include file="inc/page_footer.jsp" %> + + + + Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateUrl.jsp ------------------------------------------------------------------------------ svn:eol-style = native Propchange: myfaces/commons/trunk/myfaces-commons-examples/src/main/webapp/validateUrl.jsp ------------------------------------------------------------------------------ svn:keywords = Date Author Id Revision HeadURL