Stripes does indeed store things in a HashMap (ValidationErrors is actually a sublcass of HashMap). The s:errors tag also drops all the errors into a set so that we can't display the exact same text twice (which can happen when using indexed properties and you get the same error on different rows/indexes).
We could conceivable change ValidationErrors to extend LinkedHashMap which would in turn at least maintain insertion order, but I don't know that it would help a whole lot (we'd also have to modify the errors tag to respect that ordering). -t On Aug 6, 2008, at 2:34 PM, Brian Wawok wrote: > > > It is stored as a hashmap, java makes no guarantee of the order of > a hashmap. > If it was like a treemap or a list of some kind, we could order them.. > > > ---------------------------------------------------------------------- > --- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
