Hi there, 
        
The issue MR-ISSUE-563 was just created by Tomasz Pluskiewicz (ploosqva).
        
        Key: MR-ISSUE-563
        Summary: Too many error messages shown when using validation with 
useTitles=true
        Type: Bug
        Importance: High
        
        Description:
        For example, when creating a simple form like shown below:
$Form.UsePrototypeValidation()
$Form.FormTag("%{action='DoTest', id='form', useTitles='false'}")
        $Form.LabelFor("testInfo.Text", "Integer input:")
        $Form.TextField("testInfo.Text")
        <br/>
        $Form.Submit("Send")
$Form.EndFormTag()
and databinding with model:
public class TestInfo
{
   [ValidateNonEmpty("Required field!")] 
   [ValidateInteger("Integer required!")]
   public string Text{ get; set;}
}
Validation shows too many messages ie. after trying to submit an empty field 
"Integer required!. Required field!." message would show for required 
validation and after typing an invalid text into the field and trying to submit 
again, the same message appears for a second time like shown below:
Integer required!. Required field!.
Integer required!. Required field!.
        
For more, see 
http://support.castleproject.org/projects/MR/issues/view/MR-ISSUE-563
 
        
--
donjon
by Castle Stronghold
http://www.castle-donjon.com


-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en.

Reply via email to