myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r600135 - in /myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators: ./ commons/ commons/Email.xml
Date Sat, 01 Dec 2007 14:12:39 GMT
Author: matzew
Date: Sat Dec  1 06:12:39 2007
New Revision: 600135

URL: http://svn.apache.org/viewvc?rev=600135&view=rev
Log:
added meta-data (to be continued)

Added:
    myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators/
    myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators/commons/
    myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators/commons/Email.xml

Added: myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators/commons/Email.xml
URL: http://svn.apache.org/viewvc/myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators/commons/Email.xml?rev=600135&view=auto
==============================================================================
--- myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators/commons/Email.xml
(added)
+++ myfaces/commons/trunk/myfaces-commons-validators/src/main/maven-faces-plugin/validators/commons/Email.xml
Sat Dec  1 06:12:39 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0" ?>
+<!--
+    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.
+	   
+--><faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
+              xmlns:tr="http://myfaces.apache.org/trinidad"
+              xmlns:mfp="http://myfaces.apache.org/maven-faces-plugin">
+  <validator>
+    <description><![CDATA[Validate that the string entered is an email.]]></description>
+    <display-name>validateEmail</display-name>
+    <validator-id>org.apache.myfaces.commons.validator.Email</validator-id>
+    <validator-class>org.apache.myfaces.commons.validator.EmailValidator</validator-class>
+    <property>
+      <description><![CDATA[<p>
+           TODO
+          </p>]]>
+      </description>
+      <property-name>message</property-name>
+      <property-class>java.lang.String</property-class>
+    </property>
+    <property>
+      <description><![CDATA[<p>
+           TODO
+          </p>]]>
+      </description>
+      <property-name>detailMessage</property-name>
+      <property-class>java.lang.String</property-class>
+    </property>
+    <property>
+      <description><![CDATA[<p>
+           TODO
+          </p>]]>
+      </description>
+      <property-name>summaryMessage</property-name>
+      <property-class>java.lang.String</property-class>
+    </property>
+    <validator-extension>
+      <mfp:tag-name>mcv:validateEmail</mfp:tag-name>
+      <mfp:tag-class>org.apache.myfaces.commons.validator.ValidateEmailTag</mfp:tag-class>
+      <mfp:long-description><![CDATA[<html:p>Validate that the string entered
is an email.</html:p>]]></mfp:long-description>
+    </validator-extension>
+  </validator>
+</faces-config>



Mime
View raw message