You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ca...@apache.org on 2007/02/06 09:47:05 UTC
svn commit: r504035 - in
/myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation:
./ Customer.java CustomerCreateBean.java
Author: cagatay
Date: Tue Feb 6 00:47:04 2007
New Revision: 504035
URL: http://svn.apache.org/viewvc?view=rev&rev=504035
Log:
Created Beans for clientvalidation example
Added:
myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/
myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/Customer.java (with props)
myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/CustomerCreateBean.java (with props)
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/Customer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/Customer.java?view=auto&rev=504035
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/Customer.java (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/Customer.java Tue Feb 6 00:47:04 2007
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.clientvalidation;
+
+import java.io.Serializable;
+
+/**
+ * @author cagatay (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
+public class Customer implements Serializable{
+
+ private String _name;
+ private String _surname;
+ private Integer _age;
+ private String _address;
+
+ public String getName() {
+ return _name;
+ }
+ public void setName(String _name) {
+ this._name = _name;
+ }
+
+ public String getSurname() {
+ return _surname;
+ }
+ public void setSurname(String _surname) {
+ this._surname = _surname;
+ }
+
+ public Integer getAge() {
+ return _age;
+ }
+ public void setAge(Integer _age) {
+ this._age = _age;
+ }
+
+ public String getAddress() {
+ return _address;
+ }
+ public void setAddress(String _address) {
+ this._address = _address;
+ }
+}
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/Customer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/Customer.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL
Added: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/CustomerCreateBean.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/CustomerCreateBean.java?view=auto&rev=504035
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/CustomerCreateBean.java (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/CustomerCreateBean.java Tue Feb 6 00:47:04 2007
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you 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.clientvalidation;
+
+import java.io.Serializable;
+
+/**
+ * @author cagatay (latest modification by $Author$)
+ * @version $Revision$ $Date$
+ */
+public class CustomerCreateBean implements Serializable{
+
+ private Customer _customer;
+
+ public CustomerCreateBean() {
+ _customer = new Customer();
+ }
+
+ public Customer getCustomer() {
+ return _customer;
+ }
+ public void setCustomer(Customer _customer) {
+ this._customer = _customer;
+ }
+
+}
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/CustomerCreateBean.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: myfaces/tomahawk/trunk/sandbox/examples/src/main/java/org/apache/myfaces/examples/clientvalidation/CustomerCreateBean.java
------------------------------------------------------------------------------
svn:keywords = Date Author Id Revision HeadURL