Ordering of field validation errors
-----------------------------------

                 Key: STS-356
                 URL: http://mc4j.org/jira/browse/STS-356
             Project: Stripes
          Issue Type: Bug
          Components: Formatting
    Affects Versions: Release 1.4.2
            Reporter: Jan Moravec
         Assigned To: Tim Fennell
            Priority: Minor


<stripes:errors/> tag should render validation errors in order that reflects 
the order of form fields, or at least the order in which the validation errors 
have been added to the ValidationsErrors collection.

The second step would be to give users complete control over the ordering of 
rendered field errors. That would require an extension of the validation 
related annotations with some sort of an 'order' attribute which would hint the 
framework the order in which validations should be applied.

Another related thing I bumped into:

I would also propose adding fieldErrorsOnly to the errors tag so as to allow 
users to render global errors and field errors separately. Currently the errors 
tag supports only the globalErrorsOnly attribute which is great, but I think a 
complementary attribute would be useful too.

I have just only started with the framework so I do not have any patches nor 
can I tell whether the above ideas are in line with what you intend to do and 
how, but hopefully some of the ideas might be usable.

Thanks,
Jan

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to