I'm aware of S.error and my ValidationError uses it when I'm ready to show errors. I've briefly looked at the ValidationFunction and the thing I might stumble on is the errorType which I rely on.
I may be able to refactor the code to use List[FieldError] as I don't think I rely on errorType at this point. I'll have a go at modifying the Binder code. cheers Oliver On Fri, May 29, 2009 at 5:05 PM, Marius <marius.dan...@gmail.com> wrote: > > Oliver, > > I very briefly looked on your code and I saw that you have your own > validator there. How would that play with the existent validattors > that Record has where each field has a list of : > > type ValidationFunction = MyType => Box[Node] > > Note that current MetaRecord's validator after evaluating the > validators for each field it yields a List[FieldError] which can be > easily naturally used with S.error function to show the error messages > etc. > > Is there a redundancy or complementary functionality? > > Br's, > Marius > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---