From: David L. <dl...@al...> - 2003-02-27 17:37:52
|
Thanks for the suggestion Michael, Unfortunately the forms are already designed and there is very little room for the error indicators for each field. I would prefer to have the error message linked directly to the field, but that is not possible in this instance :-( On 2/27/03 10:45 AM, "Michael Sacket" <ms...@ga...> wrote: > 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. ;david -- David LeBer Align Software Inc. |