There is actually no gueranteed ordering in the validation process. Just what the HashMap (where the childs are nested in) returns.

For the ordering of the feedback panel messages, you can provide a comparator to the FeedbackPanel.

It is hard to come up with a schema for sorting that would work for anyone. But if you have ideas to make this even easier than using a comparator, they are welcome :)

Eelco


Jan Bares wrote:

Hi,

many thanks for Wicket 1.1b2. I noticed that form components are validated
in the reverse order with respect to how they were added to Form. The
validation results then appear in reverse order in feedback panel. Is this
intentional?

Jan





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to