[Opensource] lack of functionality of usage of
ErrorCollection
Michael Rimov
rimovm at centercomp.com
Fri Dec 6 11:24:20 PST 2002
At 03:49 PM 12/4/2002 -0600, you wrote:
>I'm trying to reports errors to the user by doing something like coloring
>the label of an input red when an error occurs with it's data. Right now,
>the usage of ErrorCollection by methods such as checkParamMasks() and others.
>
>How can we support associating an error in the ErrorCollection with a key?
>I looked at ErrorCollection, and it supports a label, but I think that
>ends up separate collections and is not what we want. Any ideas?
Hi Mike,
Currently, Expresso doesn't have a 'good' way of doing what you want. You
can take a look at how I did it for the 'Registration' page, but it
basically meant setting attributes, and applying the appropriate stylesheet
class to fields with errors vs fields that are ok.
From what I can see Java Server Faces takes on this functionality quite
thoroughly, and thus, I'm kind of waiting to see how that gels out before
taking it on. [OF course, if anybody has a good solution for the now, it is
always appreciated! :) ]
-Mike
More information about the Opensource
mailing list