You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gp...@apache.org on 2010/11/19 03:55:02 UTC
svn commit: r1036720 [1/2] - in
/myfaces/extensions/validator/branches/branch_for_jsf_2_0:
assembly/src/main/assembly/ component-support/generic-support/
component-support/trinidad-support/ core/
core/src/main/java/org/apache/myfaces/extensions/validat...
Author: gpetracek
Date: Fri Nov 19 02:55:00 2010
New Revision: 1036720
URL: http://svn.apache.org/viewvc?rev=1036720&view=rev
Log:
sync trunk and branches
Added:
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ar.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ca.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_de.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_en.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_es.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_fr.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_it.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_tr.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ar.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ca.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_de.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_en.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_es.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_fr.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_it.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_tr.properties
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/jpa_strategy_mappings.properties
Removed:
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/jpa_strategy_mappings.properties
Modified:
myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/corebin.xml
myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/coresrc.xml
myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/generic-support/pom.xml
myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/trinidad-support/pom.xml
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/pom.xml
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultExtValCoreConfiguration.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultProjectStageResolver.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/DefaultELHelper.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/ELHelper.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/FaceletsTaglibExpressionHelper.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/MetaDataEntry.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapter.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapterImpl.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/mapper/BeanValidationStrategyToMetaDataTransformerNameMapper.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/DefaultPropertyInformation.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/PropertyDetails.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultValidationErrorMessageResolver.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapter.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapterImpl.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/pom.xml
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/src/main/java/org/apache/myfaces/extensions/validator/beanval/startup/BeanValidationStartupListener.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/pom.xml
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/message/resolver/JpaValidationErrorMessageResolver.java
myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/ExtValCrossValidationModuleConfiguration.java
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/corebin.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/corebin.xml?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/corebin.xml (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/corebin.xml Fri Nov 19 02:55:00 2010
@@ -1,3 +1,21 @@
+<!--
+ 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.
+-->
<assembly>
<id>corebin</id>
<formats>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/coresrc.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/coresrc.xml?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/coresrc.xml (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/assembly/src/main/assembly/coresrc.xml Fri Nov 19 02:55:00 2010
@@ -1,3 +1,21 @@
+<!--
+ 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.
+-->
<assembly>
<id>coresrc</id>
<formats>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/generic-support/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/generic-support/pom.xml?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/generic-support/pom.xml (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/generic-support/pom.xml Fri Nov 19 02:55:00 2010
@@ -44,13 +44,6 @@
</dependency>
<dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <scope>compile</scope>
- </dependency>
-
- <dependency>
<groupId>cglib</groupId>
<artifactId>cglib</artifactId>
<version>2.1_3</version>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/trinidad-support/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/trinidad-support/pom.xml?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/trinidad-support/pom.xml (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/component-support/trinidad-support/pom.xml Fri Nov 19 02:55:00 2010
@@ -56,7 +56,6 @@
<version>${trinidad.version}</version>
<scope>provided</scope>
</dependency>
-
</dependencies>
<build>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/pom.xml?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/pom.xml (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/pom.xml Fri Nov 19 02:55:00 2010
@@ -48,13 +48,6 @@
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <scope>compile</scope>
- </dependency>
-
<dependency>
<groupId>javax.el</groupId>
<artifactId>el-api</artifactId>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultExtValCoreConfiguration.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultExtValCoreConfiguration.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultExtValCoreConfiguration.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultExtValCoreConfiguration.java Fri Nov 19 02:55:00 2010
@@ -145,7 +145,7 @@ public class DefaultExtValCoreConfigurat
* value is specified, the {@link DefaultProxyHelper} is returned.
*/
@ToDo(value = Priority.MEDIUM, description = "The tryToInstantiateClassForName can return a null value which isn't "
- + "handled correctly afyterwards. We should throw an exception like in rendererProxy method.")
+ + "handled correctly afterwards. We should throw an exception like in rendererProxy method.")
public ProxyHelper proxyHelper()
{
String customProxyHelperClassName = WebXmlParameter.CUSTOM_PROXY_HELPER;
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultProjectStageResolver.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultProjectStageResolver.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultProjectStageResolver.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/DefaultProjectStageResolver.java Fri Nov 19 02:55:00 2010
@@ -39,7 +39,7 @@ public class DefaultProjectStageResolver
{
result = FacesContext.getCurrentInstance().getApplication().getProjectStage().toString();
}
- catch (Throwable t)
+ catch (Exception e)
{
return createProjectStage(getDefaultProjectStage());
}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/WebXmlParameter.java Fri Nov 19 02:55:00 2010
@@ -49,9 +49,6 @@ interface WebXmlParameter
static final String CUSTOM_VALIDATION_PARAMETER_EXTRACTOR = WebXmlUtils
.getInitParameter("CUSTOM_VALIDATION_PARAMETER_EXTRACTOR");
- static final String CUSTOM_VALIDATION_PARAMETER_FACTORY = WebXmlUtils
- .getInitParameter("CUSTOM_VALIDATION_PARAMETER_FACTORY");
-
static final String CUSTOM_STATIC_VALIDATION_STRATEGY_MAPPING = WebXmlUtils
.getInitParameter("CUSTOM_STATIC_VALIDATION_STRATEGY_MAPPING");
@@ -103,6 +100,9 @@ interface WebXmlParameter
static final String CUSTOM_VALIDATION_PARAMETER_EXTRACTOR_FACTORY = WebXmlUtils
.getInitParameter("CUSTOM_VALIDATION_PARAMETER_EXTRACTOR_FACTORY");
+ static final String CUSTOM_VALIDATION_PARAMETER_FACTORY = WebXmlUtils
+ .getInitParameter("CUSTOM_VALIDATION_PARAMETER_FACTORY");
+
static final String CUSTOM_META_DATA_TRANSFORMER_FACTORY = WebXmlUtils
.getInitParameter("CUSTOM_META_DATA_TRANSFORMER_FACTORY");
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/DefaultELHelper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/DefaultELHelper.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/DefaultELHelper.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/DefaultELHelper.java Fri Nov 19 02:55:00 2010
@@ -92,7 +92,7 @@ public class DefaultELHelper implements
{
facesContext.getApplication().evaluateExpressionGet(facesContext, valueBindingExpression, Object.class);
}
- catch (Throwable t)
+ catch (Exception e)
{
return false;
}
@@ -127,7 +127,7 @@ public class DefaultELHelper implements
if(result == null)
{
- logger.warning("couldn't resolve expression: " + valueBindingExpression);
+ logger.fine("couldn't resolve expression: " + valueBindingExpression);
return null;
}
@@ -135,7 +135,7 @@ public class DefaultELHelper implements
if(entityClass == null)
{
- logger.warning("couldn't resolve expression: " + result.getExpressionString());
+ logger.fine("couldn't resolve expression: " + result.getExpressionString());
return null;
}
@@ -217,13 +217,13 @@ public class DefaultELHelper implements
{
valueExpression.setValue(elContext, null);
}
- catch (Throwable t)
+ catch (Exception e)
{
if(inspectCompositeComponent)
{
throw new IllegalStateException(
"error at binding: " + valueExpression.getExpressionString() +
- " -- an el-resolver error occurred! maybe you used an invalid binding.", t);
+ " -- an el-resolver error occurred! maybe you used an invalid binding.", e);
}
}
}
@@ -234,7 +234,7 @@ public class DefaultELHelper implements
}
//keep in sync with DefaultELHelper#getPropertyDetailsOfValueBinding of branch!!!
- private PropertyDetails getPropertyDetailsViaReflectionFallback(UIComponent uiComponent)
+ protected PropertyDetails getPropertyDetailsViaReflectionFallback(UIComponent uiComponent)
{
FacesContext facesContext = FacesContext.getCurrentInstance();
ValueBindingExpression valueBindingExpression = getValueBindingExpression(uiComponent, false);
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/ELHelper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/ELHelper.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/ELHelper.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/ELHelper.java Fri Nov 19 02:55:00 2010
@@ -26,7 +26,7 @@ import javax.faces.component.UIComponent
import javax.faces.context.FacesContext;
/**
- * Structure of the object that handles EL here centralized to isolate the jsf version dependency within the core.
+ * Encapulates EL handling to isolate the dependency to the specific jsf version.
*
* @author Gerhard Petracek
* @since 1.x.1
@@ -35,58 +35,66 @@ import javax.faces.context.FacesContext;
public interface ELHelper
{
/**
- * Return the bean instance from the JSF contexts with the specified name.
+ * Resolves the bean instance for the specified name.
+ *
* @param beanName The bean name we are interested in, no EL expression.
* @return instance for the bean name or null.
*/
Object getBean(String beanName);
/**
- * Evaluates the expression equivalent of the ValueBindingExpression parameter and returns the result.
- * @param facesContext The JSF Context
- * @param valueBindingExpression information about expression to evaluate.
- * @return result of the expression equivalent of the ValueBindingExpression parameter
+ * Evaluates the given expression within the current {@link javax.faces.context.FacesContext}
+ *
+ * @param facesContext <code>FacesContext</code> for the current request
+ * @param valueBindingExpression value-binding to evaluate
+ * @return result for the given expression
*/
Object getValueOfExpression(FacesContext facesContext, ValueBindingExpression valueBindingExpression);
/**
- * Returns the type of the expression equivalent of the ValueBindingExpression parameter.
- * @param facesContext The JSF Context
- * @param valueBindingExpression information about expression to evaluate.
- * @return type of the expression equivalent of the ValueBindingExpression parameter
+ * Evaluates the type returned by {@link #getValueOfExpression}
+ *
+ * @param facesContext <code>FacesContext</code> for the current request
+ * @param valueBindingExpression value-binding to evaluate
+ * @return type of the result of the expression
*/
Class getTypeOfExpression(FacesContext facesContext, ValueBindingExpression valueBindingExpression);
/**
- * Extracts the property details (expression, base object and property name) information from the UIComponent's
+ * Extracts the property details (expression, base object and property name) information of the value attribute of
+ * the given {@link javax.faces.component.UIComponent}
* value attribute.
- * @param uiComponent The UIComponent of interest.
- * @return property details information
+ *
+ * @param uiComponent The {@link javax.faces.component.UIComponent} in question
+ * @return property details for the value of the given {@link javax.faces.component.UIComponent}
*/
PropertyDetails getPropertyDetailsOfValueBinding(UIComponent uiComponent);
/**
* Determines if the expression is a valid expression, meaning that the expression can be evaluated without
- * exception.
+ * an exception.
+ *
* @param facesContext The JSF Context
* @param valueBindingExpression The EL expression we want to evaluate.
- * @return valid EL expression ?
+ * @return true if the expression is valid - false otherwise
*/
boolean isELTermValid(FacesContext facesContext, String valueBindingExpression);
/**
- * A very basic check of the EL expression is well formed.
- * @param o Object
- * @return
+ * A very basic check of the EL expression
+ *
+ * @param o Object in question
+ * @return true if the given object is a well formed string - false otherwise
*/
boolean isELTermWellFormed(Object o);
/**
* Gets the value of the attribute specified by the parameter name for the UIComponent.
*
- * @param uiComponent The UIComponent
+ * @param uiComponent The {@link javax.faces.component.UIComponent} in question
* @param name The name of the attribute.
* @return The ValueExpression assigned to the attribute.
*/
+ @Deprecated
Object getBindingOfComponent(UIComponent uiComponent, String name);
}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/FaceletsTaglibExpressionHelper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/FaceletsTaglibExpressionHelper.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/FaceletsTaglibExpressionHelper.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/el/FaceletsTaglibExpressionHelper.java Fri Nov 19 02:55:00 2010
@@ -70,7 +70,7 @@ class FaceletsTaglibExpressionHelper
}
return vbe;
}
- catch (Throwable t)
+ catch (Exception e)
{
return new ValueBindingExpression(faceletsValueBindingExpression);
}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/MetaDataEntry.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/MetaDataEntry.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/MetaDataEntry.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/MetaDataEntry.java Fri Nov 19 02:55:00 2010
@@ -180,8 +180,20 @@ public class MetaDataEntry
public int hashCode()
{
int result = key != null ? key.hashCode() : 0;
- result = 31 * result + (value != null ? value.hashCode() : 0);
- result = 31 * result + (properties != null ? properties.hashCode() : 0);
+ result = 31 * result + (value != null ? createNullAwareHashCode(value) : 0);
+ result = 31 * result + (properties != null ? createNullAwareHashCode(properties) : 0);
return result;
}
+
+ private int createNullAwareHashCode(Object o)
+ {
+ try
+ {
+ return o.hashCode();
+ }
+ catch (NullPointerException e)
+ {
+ return 0;
+ }
+ }
}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapter.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapter.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapter.java Fri Nov 19 02:55:00 2010
@@ -18,6 +18,8 @@
*/
package org.apache.myfaces.extensions.validator.core.metadata.transformer;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
import org.apache.myfaces.extensions.validator.internal.UsageInformation;
@@ -33,6 +35,7 @@ import org.apache.myfaces.extensions.val
* @author Gerhard Petracek
* @since 1.x.1
*/
+@ToDo(value = Priority.HIGH, description = "see EXTVAL-116")
@UsageInformation({UsageCategory.REUSE})
public interface BeanMetaDataTransformerAdapter extends MetaDataTransformer
{
@@ -41,4 +44,4 @@ public interface BeanMetaDataTransformer
* @return Class name of the MetaDataTransformer
*/
String getMetaDataTransformerClassName();
-}
\ No newline at end of file
+}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapterImpl.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapterImpl.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapterImpl.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/BeanMetaDataTransformerAdapterImpl.java Fri Nov 19 02:55:00 2010
@@ -18,6 +18,8 @@
*/
package org.apache.myfaces.extensions.validator.core.metadata.transformer;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
import org.apache.myfaces.extensions.validator.internal.UsageInformation;
import org.apache.myfaces.extensions.validator.core.metadata.MetaDataEntry;
@@ -37,6 +39,7 @@ import java.util.logging.Logger;
* @author Gerhard Petracek
* @since 1.x.1
*/
+@ToDo(value = Priority.HIGH, description = "see EXTVAL-116")
@UsageInformation({UsageCategory.REUSE})
public class BeanMetaDataTransformerAdapterImpl implements MetaDataTransformer, BeanMetaDataTransformerAdapter
{
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/mapper/BeanValidationStrategyToMetaDataTransformerNameMapper.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/mapper/BeanValidationStrategyToMetaDataTransformerNameMapper.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/mapper/BeanValidationStrategyToMetaDataTransformerNameMapper.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/metadata/transformer/mapper/BeanValidationStrategyToMetaDataTransformerNameMapper.java Fri Nov 19 02:55:00 2010
@@ -21,6 +21,8 @@ package org.apache.myfaces.extensions.va
import org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy;
import org.apache.myfaces.extensions.validator.core.validation.strategy.BeanValidationStrategyAdapter;
import org.apache.myfaces.extensions.validator.core.InvocationOrder;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
import org.apache.myfaces.extensions.validator.internal.UsageInformation;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
@@ -30,6 +32,7 @@ import org.apache.myfaces.extensions.val
* @author Gerhard Petracek
* @since 1.x.1
*/
+@ToDo(value = Priority.HIGH, description = "see EXTVAL-116")
@InvocationOrder(500)
@UsageInformation({UsageCategory.INTERNAL})
public class BeanValidationStrategyToMetaDataTransformerNameMapper extends
@@ -43,4 +46,4 @@ public class BeanValidationStrategyToMet
}
return null;
}
-}
\ No newline at end of file
+}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/DefaultPropertyInformation.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/DefaultPropertyInformation.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/DefaultPropertyInformation.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/DefaultPropertyInformation.java Fri Nov 19 02:55:00 2010
@@ -109,8 +109,20 @@ public class DefaultPropertyInformation
@Override
public int hashCode()
{
- int result = informationMap.hashCode();
- result = 31 * result + metaDataList.hashCode();
+ int result = createNullAwareHashCode(informationMap);
+ result = 31 * result + createNullAwareHashCode(metaDataList);
return result;
}
+
+ private int createNullAwareHashCode(Object o)
+ {
+ try
+ {
+ return o.hashCode();
+ }
+ catch (NullPointerException e)
+ {
+ return 0;
+ }
+ }
}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/PropertyDetails.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/PropertyDetails.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/PropertyDetails.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/property/PropertyDetails.java Fri Nov 19 02:55:00 2010
@@ -104,8 +104,20 @@ public class PropertyDetails
public int hashCode()
{
int result = key != null ? key.hashCode() : 0;
- result = 31 * result + (baseObject != null ? baseObject.hashCode() : 0);
+ result = 31 * result + (baseObject != null ? createNullAwareHashCode(baseObject) : 0);
result = 31 * result + (property != null ? property.hashCode() : 0);
return result;
}
+
+ private int createNullAwareHashCode(Object o)
+ {
+ try
+ {
+ return o.hashCode();
+ }
+ catch (NullPointerException e)
+ {
+ return 0;
+ }
+ }
}
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultValidationErrorMessageResolver.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultValidationErrorMessageResolver.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultValidationErrorMessageResolver.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/message/resolver/DefaultValidationErrorMessageResolver.java Fri Nov 19 02:55:00 2010
@@ -18,10 +18,11 @@
*/
package org.apache.myfaces.extensions.validator.core.validation.message.resolver;
-import org.apache.myfaces.extensions.validator.core.InternalConventionProvider;
import org.apache.myfaces.extensions.validator.core.ExtValCoreConfiguration;
-import org.apache.myfaces.extensions.validator.internal.UsageInformation;
+import org.apache.myfaces.extensions.validator.core.InternalConventionProvider;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
+import org.apache.myfaces.extensions.validator.internal.UsageInformation;
+import org.apache.myfaces.extensions.validator.util.ClassUtils;
/**
* Default MessageResolver which uses the default convention for the message bundle.
@@ -39,7 +40,7 @@ public class DefaultValidationErrorMessa
public DefaultValidationErrorMessageResolver()
{
- this.baseName = InternalConventionProvider.getModuleMessageBundleName(getClass().getPackage().getName());
+ this.baseName = InternalConventionProvider.getModuleMessageBundleName(ClassUtils.getPackageName(getClass()));
}
//not used at the moment - just for a convention
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/AbstractAnnotationValidationStrategy.java Fri Nov 19 02:55:00 2010
@@ -21,6 +21,8 @@ package org.apache.myfaces.extensions.va
import org.apache.myfaces.extensions.validator.core.validation.message.resolver.MessageResolver;
import org.apache.myfaces.extensions.validator.core.metadata.MetaDataEntry;
import org.apache.myfaces.extensions.validator.core.property.PropertyInformationKeys;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
import org.apache.myfaces.extensions.validator.internal.UsageInformation;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
import org.apache.myfaces.extensions.validator.util.ExtValUtils;
@@ -35,8 +37,8 @@ import java.util.MissingResourceExceptio
import java.util.logging.Level;
/**
- * Provides the ability of message resolving to ValidationStrategies. This abstract class is a good candidate as parent
- * class of your custom validation strategies.
+ * This class provides an easier handling of violation messages.
+ * This abstract class is a good candidate as super-class for custom validation strategies.
*
* @author Gerhard Petracek
* @since 1.x.1
@@ -49,10 +51,14 @@ public abstract class AbstractAnnotation
private MessageResolver messageResolver;
/**
- * Resolves the key from the error message to get the actual message in the correct language. The language is taken
- * from the viewRoot. When a messageResolver is injected into this object, it is used to resolve the message.
- * Otherwise the default rules are taken to define the messageResolver.
- * {@see org.apache.myfaces.extensions.validator.util.ExtValUtils#getMessageResolverForValidationStrategy(org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy)}
+ * Uses the given message key to resolve the actual message in the correct language.
+ * The current {@link javax.faces.component.UIViewRoot} provides the target locale.
+ * When a {@link org.apache.myfaces.extensions.validator.core.validation.message.resolver.MessageResolver}
+ * is available, it is used to resolve the message.
+ * Otherwise the default rules are taken to define the
+ * {@link org.apache.myfaces.extensions.validator.core.validation.message.resolver.MessageResolver}.
+ * {@link org.apache.myfaces.extensions.validator.util.ExtValUtils#getMessageResolverForValidationStrategy(
+ * org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy)}
*
* @param key key of the error message that needs to be resolved.
* @return Resolved message.
@@ -66,12 +72,14 @@ public abstract class AbstractAnnotation
}
/**
- * Returns the error message for the validation failure associated with the annotation. The message is determined
- * by using the {@see getValidationErrorMsgKey} method for obtaining the key of the message which then is
- * resolved by the method {@see resolveMessage}.
- *
- * @param annotation The annotation associated with the validation Strategy.
- * @return The error message used in the summary part of the FacesMessage.
+ * Returns the error message (the summary) provided by the given constraint. The message is determined
+ * by using the {@link #getValidationErrorMsgKey} method for obtaining the message-/key which then is
+ * resolved by the method {@link #resolveMessage(String) resolveMessage}.
+ *
+ * @param annotation The annotation associated with the
+ * {@link org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy}.
+ * @return The error message used in the summary part of the
+ * {@link javax.faces.application.FacesMessage FacesMessage}.
*/
protected String getErrorMessageSummary(A annotation)
{
@@ -79,15 +87,18 @@ public abstract class AbstractAnnotation
}
/**
- * Returns the error message for the validation failure associated with the annotation the is used in the detail
- * part of the FacesMessage. The message is determined by using the {@see getValidationErrorMsgKey} method for
- * obtaining the key where the suffix '_detail' is added to. Then it is resolved by the method
- * {@see resolveMessage}. When the key isn't found, the resulting exception is just logged but not propagated.
+ * Returns the error message (the detailed message) provided by the given constraint. The message is determined
+ * by using the {@link #getValidationErrorMsgKey} method for obtaining the message-/key which then is
+ * resolved by the method {@link #resolveMessage(String) resolveMessage}.
+ * When the key isn't found, the resulting exception is just logged but not propagated.
* So the detail message isn't required and null is returned instead.
*
- * @param annotation The annotation associated with the validation Strategy.
- * @return The error message used in the detail part of the FacesMessage or null.
+ * @param annotation The annotation associated with the
+ * {@link org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy}.
+ * @return The error message used in the detail part of the
+ * {@link javax.faces.application.FacesMessage FacesMessage} or null.
*/
+ @ToDo(value = Priority.MEDIUM, description = "just log it in case of project stage development")
protected String getErrorMessageDetail(A annotation)
{
try
@@ -104,11 +115,13 @@ public abstract class AbstractAnnotation
}
/**
- * Creates the FacesMessage that can be used to inform the user of a validation error. This method can be called by
- * subclasses in the {@see processValidation} method when a ValidationException is created in response of a
- * violation.
+ * Creates the {@link javax.faces.application.FacesMessage FacesMessage} that
+ * will be used to inform the user of a validation error. This method can be called by
+ * subclasses in the {@link #processValidation(FacesContext, UIComponent, MetaDataEntry, Object) processValidation}
+ * method when a {@link ValidatorException} is thrown.
*
- * @param annotation The annotation associated with the validation Strategy
+ * @param annotation The annotation associated with the
+ * {@link org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy}.
* @return FacesMessage for informing user of the problem.
*/
protected FacesMessage getValidationErrorFacesMessage(A annotation)
@@ -117,18 +130,23 @@ public abstract class AbstractAnnotation
}
/**
- * Determines the key of the message that needs to be resolved in case this ValidationStrategy.
+ * Returns the key for the message that needs to be resolved for the violation-message.
*
- * @param annotation The annotation associated with the validation Strategy.
+ * @param annotation The annotation associated with the
+ * {@link org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy}.
* @return The key of the error message.
*/
protected abstract String getValidationErrorMsgKey(A annotation);
/**
- * Injection point for a messageResolver that needs to be used by this validationStrategy.
+ * Injection point for a
+ * {@link org.apache.myfaces.extensions.validator.core.validation.message.resolver.MessageResolver}
+ * that needs to be used by this
+ * {@link org.apache.myfaces.extensions.validator.core.validation.strategy.ValidationStrategy}.
*
* @param messageResolver messageResolver that needs to be used by this validationStrategy.
*/
+ @SuppressWarnings({"UnusedDeclaration"})
public void setMessageResolver(MessageResolver messageResolver)
{
this.messageResolver = messageResolver;
@@ -136,7 +154,8 @@ public abstract class AbstractAnnotation
/**
* {@inheritDoc}
- * Adds the label of the component to the metaDataEntry dataHolder parameter.
+ * Adds the label of the component to the
+ * {@link org.apache.myfaces.extensions.validator.core.metadata.MetaDataEntry}.
*/
@Override
protected boolean processAfterValidatorException(FacesContext facesContext,
@@ -158,7 +177,7 @@ public abstract class AbstractAnnotation
* @param uiComponent The JSF component that contained the value entered by the user.
* @param metaDataEntry The data holder which stores the meta-data and some information where the meta-data was
* around.
- * @return The label of the uiComponent field to use in error messages.
+ * @return The label-text of the {@link javax.faces.component.UIComponent} which can be used in the violation msg.
*/
//e.g. for custom annotations - override if needed
protected String getLabel(FacesContext facesContext, UIComponent uiComponent, MetaDataEntry metaDataEntry)
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapter.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapter.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapter.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapter.java Fri Nov 19 02:55:00 2010
@@ -18,6 +18,8 @@
*/
package org.apache.myfaces.extensions.validator.core.validation.strategy;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
import org.apache.myfaces.extensions.validator.internal.UsageInformation;
@@ -33,6 +35,7 @@ import org.apache.myfaces.extensions.val
* @author Gerhard Petracek
* @since 1.x.1
*/
+@ToDo(value = Priority.HIGH, description = "see EXTVAL-116")
@UsageInformation({UsageCategory.REUSE})
public interface BeanValidationStrategyAdapter extends ValidationStrategy
{
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapterImpl.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapterImpl.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapterImpl.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/core/src/main/java/org/apache/myfaces/extensions/validator/core/validation/strategy/BeanValidationStrategyAdapterImpl.java Fri Nov 19 02:55:00 2010
@@ -21,6 +21,8 @@ package org.apache.myfaces.extensions.va
import org.apache.myfaces.extensions.validator.core.metadata.MetaDataEntry;
import org.apache.myfaces.extensions.validator.core.metadata.transformer.MetaDataTransformer;
import org.apache.myfaces.extensions.validator.core.metadata.transformer.BeanMetaDataTransformerAdapter;
+import org.apache.myfaces.extensions.validator.internal.Priority;
+import org.apache.myfaces.extensions.validator.internal.ToDo;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
import org.apache.myfaces.extensions.validator.internal.UsageInformation;
@@ -40,6 +42,7 @@ import java.util.logging.Logger;
* @author Gerhard Petracek
* @since 1.x.1
*/
+@ToDo(value = Priority.HIGH, description = "see EXTVAL-116")
@UsageInformation({UsageCategory.REUSE})
public class BeanValidationStrategyAdapterImpl implements BeanValidationStrategyAdapter
{
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/pom.xml?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/pom.xml (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/pom.xml Fri Nov 19 02:55:00 2010
@@ -65,14 +65,12 @@
<version>2.0.4-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
-
<dependency>
<groupId>javax.validation</groupId>
<artifactId>validation-api</artifactId>
<version>1.0.0.GA</version>
<scope>compile</scope>
</dependency>
-
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
@@ -87,12 +85,7 @@
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <scope>compile</scope>
- </dependency>
+
</dependencies>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/src/main/java/org/apache/myfaces/extensions/validator/beanval/startup/BeanValidationStartupListener.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/src/main/java/org/apache/myfaces/extensions/validator/beanval/startup/BeanValidationStartupListener.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/src/main/java/org/apache/myfaces/extensions/validator/beanval/startup/BeanValidationStartupListener.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/bean-validation/src/main/java/org/apache/myfaces/extensions/validator/beanval/startup/BeanValidationStartupListener.java Fri Nov 19 02:55:00 2010
@@ -147,7 +147,6 @@ public class BeanValidationStartupListen
protected void registerPhaseListeners()
{
JsfUtils.registerPhaseListener(new ModelValidationPhaseListener());
- JsfUtils.registerPhaseListener(new ModelValidationPhaseListener());
}
protected void registerViolationSeverityPayload()
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/pom.xml?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/pom.xml (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/pom.xml Fri Nov 19 02:55:00 2010
@@ -55,12 +55,7 @@
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>1.1.1</version>
- <scope>compile</scope>
- </dependency>
+
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/message/resolver/JpaValidationErrorMessageResolver.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/message/resolver/JpaValidationErrorMessageResolver.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/message/resolver/JpaValidationErrorMessageResolver.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/baseval/message/resolver/JpaValidationErrorMessageResolver.java Fri Nov 19 02:55:00 2010
@@ -23,6 +23,7 @@ import org.apache.myfaces.extensions.val
import org.apache.myfaces.extensions.validator.core.ExtValContext;
import org.apache.myfaces.extensions.validator.internal.UsageInformation;
import org.apache.myfaces.extensions.validator.internal.UsageCategory;
+import org.apache.myfaces.extensions.validator.util.ClassUtils;
/**
* @author Gerhard Petracek
@@ -40,8 +41,8 @@ public class JpaValidationErrorMessageRe
private static final String CUSTOM_BASE_NAME =
ExtValBaseValidationModuleConfiguration.get().jpaValidationErrorMessages();
- private static final String BASE_NAME = JpaValidationErrorMessageResolver.class
- .getPackage().getName().replace(".message.resolver", ".message.bundle")+ ".jpa_messages";
+ private static final String BASE_NAME = ClassUtils.getPackageName(JpaValidationErrorMessageResolver.class).replace(
+ ".message.resolver", ".message.bundle")+ ".jpa_messages";
protected String getCustomBaseName()
{
Modified: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/ExtValCrossValidationModuleConfiguration.java
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/ExtValCrossValidationModuleConfiguration.java?rev=1036720&r1=1036719&r2=1036720&view=diff
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/ExtValCrossValidationModuleConfiguration.java (original)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/java/org/apache/myfaces/extensions/validator/crossval/ExtValCrossValidationModuleConfiguration.java Fri Nov 19 02:55:00 2010
@@ -67,5 +67,5 @@ public abstract class ExtValCrossValidat
* web.xml config
*/
- abstract boolean deactivateCrossvalidation();
+ public abstract boolean deactivateCrossvalidation();
}
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=Invalid format
+no_match_detail=The required formate is: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ar.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ar.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ar.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ar.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=\u0627\u0644\u0635\u064a\u063a\u0629 \u062e\u0627\u0637\u0626\u0629
+no_match_detail=\u0627\u0644\u0635\u064a\u063a\u0629 \u0627\u0644\u0645\u0637\u0644\u0648\u0628\u0629 \u0647\u0649: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ca.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ca.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ca.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_ca.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=Format inv\u00e0lid
+no_match_detail=El format requerit \u00e9s: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_de.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_de.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_de.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_de.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=Ungültiges Format
+no_match_detail=Das erforderliche Format ist: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_en.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_en.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_en.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_en.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=Invalid format
+no_match_detail=The required formate is: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_es.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_es.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_es.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_es.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=Formato inv\u00e1lido
+no_match_detail=El formato requerido es: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_fr.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_fr.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_fr.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_fr.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,20 @@
+# 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.
+
+no_match=Le format est invalide
+no_match_detail=Le format doit être de la forme: {0}
+
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_it.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_it.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_it.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_it.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=Formato non valido
+no_match_detail=Il formato richiesto è: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_tr.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_tr.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_tr.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/baseval/message/bundle/validation_messages_tr.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,19 @@
+# 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.
+
+no_match=Ge\u00e7ersiz bi\u00e7im
+no_match_detail=gereken bi\u00e7im: {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,34 @@
+# 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.
+
+duplicated_content_required=Input is different
+duplicated_content_required_detail=Input is different
+
+duplicated_content_denied=Same input isn't allowed
+duplicated_content_denied_detail=Same input isn't allowed
+
+wrong_date=Wrong date
+wrong_date_detail=Wrong date
+
+wrong_date_not_before=Date has to be after {0}
+wrong_date_not_before_detail=Date has to be after {0}
+
+wrong_date_not_after=Date has to be before {0}
+wrong_date_not_after_detail=Date has to be before {0}
+
+wrong_date_not_equal=Date isn't equal to {0}
+wrong_date_not_equal_detail=Date isn't equal to {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ar.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ar.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ar.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ar.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,34 @@
+# 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.
+
+duplicated_content_required=\u0627\u0644\u0625\u062f\u062e\u0627\u0644 \u0645\u062e\u062a\u0644\u0641
+duplicated_content_required_detail=\u0627\u0644\u0625\u062f\u062e\u0627\u0644 \u0645\u062e\u062a\u0644\u0641
+
+duplicated_content_denied=\u063a\u064a\u0631 \u0645\u0633\u0645\u0648\u062d \u0628\u0625\u062f\u062e\u0627\u0644 \u0646 \u0641\u0633 \u0642\u064a\u0645\u0629 \u0627\u0644\u0625\u062f\u062e\u0627\u0644
+duplicated_content_denied_detail=\u063a\u064a\u0631 \u0645\u0633\u0645\u0648\u062d \u0628\u0625\u062f\u062e\u0627\u0644 \u0646\u0641\u0633 \u0642\u064a\u0645\u0629 \u0627\u0644\u0625\u062f\u062e\u0627\u0644
+
+wrong_date=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u062e\u0627\u0637\u0649\u0621
+wrong_date_detail=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u062e\u0627\u0637\u0649\u0621
+
+wrong_date_not_before=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u064a\u062c\u0628 \u0623\u0646 \u064a\u0643\u0648 \u0646 \u0628\u0639\u062f {0}
+wrong_date_not_before_detail=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u064a\u062c\u0628 \u0623\u0646 \u064a\u0643 \u0648\u0646 \u0628\u0639\u062f {0}
+
+wrong_date_not_after=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u064a\u062c\u0628 \u0623\u0646 \u064a\u0643\u0648 \u0646 \u0642\u0628\u0644 {0}
+wrong_date_not_after_detail=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u064a\u062c\u0628 \u0623\u0646 \u064a\u0643 \u0648\u0646 \u0642\u0628\u0644 {0}
+
+wrong_date_not_equal=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u0644\u0627 \u064a\u0633\u0627\u0648\u0649 {0}
+wrong_date_not_equal_detail=\u0627\u0644\u062a\u0627\u0631\u064a\u062e \u0644\u0627 \u064a\u0633\u0627\u0648\u0649 {0}
\ No newline at end of file
Added: myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ca.properties
URL: http://svn.apache.org/viewvc/myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ca.properties?rev=1036720&view=auto
==============================================================================
--- myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ca.properties (added)
+++ myfaces/extensions/validator/branches/branch_for_jsf_2_0/validation-modules/property-validation/src/main/resources/org/apache/myfaces/extensions/validator/crossval/message/bundle/validation_messages_ca.properties Fri Nov 19 02:55:00 2010
@@ -0,0 +1,34 @@
+# 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.
+
+duplicated_content_required=el valor \u00e9 diferent
+duplicated_content_required_detail=el valor \u00e9 diferent
+
+duplicated_content_denied=no es permet el mateix valor
+duplicated_content_denied_detail=no es permet el mateix valor
+
+wrong_date=data err\u00f2nia
+wrong_date_detail=data err\u00f2nia
+
+wrong_date_not_before=la data ha de ser posterior a {0}
+wrong_date_not_before_detail=la data ha de ser posterior a {0}
+
+wrong_date_not_after=la data ha de ser anterior a {0}
+wrong_date_not_after_detail=la data ha de ser posterior a {0}
+
+wrong_date_not_equal=la data no \u000e9s igual a {0}
+wrong_date_not_equal_detail=la data no \u000e9s igual a {0}
\ No newline at end of file