From: Michael S. <ms...@ga...> - 2003-02-27 15:45:57
|
One way you could do this is add a GSVExceptionViewer to the top of your page with the "showAllErrors" as you indicated. Next I usually will place another GSVExceptionViewer by each field or a group of fields and give it the appropriate keys. This way the errors are all displayed at the top, as well as, near the field where the actual error exists. If you want to display the errors for more that one field, but not all of them, you can enter something like the following into the attributeKeys binding: "key1:key2:key3" Michael On Wednesday, February 26, 2003, at 08:23 PM, David LeBer wrote: > ValidityModeler is now working and I've gone through the tutorial and > have a > question: > > I want to display all of the validation errors in one place using the > "showAllErrors" binding of the GSVExceptionViewer but want to flag the > fields containing errors (*, !, different colour, etc). > > I built a reusable component ExceptionConditional, basically > eviscerating > the code of GSVExceptionViewer so that it is just displays its > contents if > there are exceptions for a given attribute. > > It works and that is cool, but being new to Validity, is there an > easier > way? Some simple binding I'm missing? > > ;david > > -- > David LeBer > Align Software Inc. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Scholarships for Techies! > Can't afford IT training? All 2003 ictp students receive scholarships. > Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. > www.ictp.com/training/sourceforge.asp > _______________________________________________ > Wonder-disc mailing list > Won...@li... > https://lists.sourceforge.net/lists/listinfo/wonder-disc |