Look at Roadmap, 0.5.0.0 milestown.

If you want to help

This is very easy and any help will be very appriciated.

The most simple task is enable template formatting. All you need is to download sources of EntLib 5.0 and look at any validator class that is already implemented. Let's take string length validator for example. Find GetMessage method in
Microsoft.Practices.EnterpriseLibrary.Validation.Validators.StringLengthValidator class.
        /// <summary>
        /// Gets the message representing a failed validation.
        /// </summary>
        /// <param name="objectToValidate">The object for which validation was performed.</param>
        /// <param name="key">The key representing the value being validated for <paramref name="objectToValidate"/>.</param>
        /// <returns>The message representing the validation failure.</returns>
        protected internal override string GetMessage(object objectToValidate, string key)
        {
            return string.Format(
                CultureInfo.CurrentCulture,
                this.MessageTemplate,
                objectToValidate,
                key,
                this.Tag,
                this.rangeChecker.LowerBound,
                this.rangeChecker.LowerBoundType,
                this.rangeChecker.UpperBound,
                this.rangeChecker.UpperBoundType);
        }
So here you can see how message is formatted. Now you should implement same GetMessage method in the ElValWeb.ValidatorClientAdapters.StringLengthValidatorClientAdapter, but using appropriate StringLengthValidatorData properties.

Code review.

Can't say that code is ok. Feel free to discuss it by adding discussions.
Look at ClientAdapterFactory - is it ok for you?

JavaScript.

If you are good in javascript and jQuery take a look on elvalweb-0.0.1.js
How orComposite and andComposite can be refactored? Now andComposite is copy paste of orComposite.
Don't rangeValidatorComplex looks too bad?

UnitTests

There is no UnitTests yet. If you want to write some - you are extreamly welcomed.

Last edited May 2, 2010 at 10:03 AM by alexerv, version 2

Comments

No comments yet.