Spring’s FreeMarker macro’s are pretty useful, but there are a couple of things I need from the showErrors macro that simply aren’t there:
- Show errors without a HTML tag around them – if you don’t specify a classOrStyle, the showErrors macro will wrap your error message in a <b> tag. If you do, it’ll wrap it in a <span> (understandably)
- Pick the tag that surrounds each message – As explained in the first point, you can see we only get the choice of <b> or <span>. What if I wanted to use an <li>? …use the separator? – no good, because unless I write an <#if> statement to check the number of error messages before I call showErrors I’ll end up with redundant <ul>/<ol> and <li>’s in my markup if there aren’t any errors:
e.g. <ul><li><@spring.showErrors “</li><li>”/></li></ul>
Which leads me nicely onto the next point: - Show errors in an ordered/unordered list, automatically detecting zero messages and not outputting markup if this is the case
- Show errors for multiple bind paths – Spring’s showErrors only shows errors for the currently bound field. However I’ve found that I’ve needed to show errors for 2 or more fields together. This is particularly true of a DOB field where the day/month and year are separate <select>’s
- Finally, show errors for multiple bind paths, in an unordered/ordered list
You can download my Spring extensions here: springx.ftl. Inevitably I’ll find more bits and pieces to add and will update them accordingly.
This was nicely structured. Discover more at بازسازی ظرف تفلون با کیفیت .
casino slot machines
References:
https://muwafag.com/compani/15-euro-bonus-ohne-einzahlung-casino-aktueller-liste-2025/
Wow, I had no idea about the impact of hard water on plumbing systems! Your insights are invaluable. Learn more at plumber .
Tôi hy vọng có thể học hỏi thêm kiến thức từ cộng đồng yêu thích cá độ ở đây . #aniyKeword### kèo nhà cái bg
Trang web hoạt động ổn định nên ít gặp phải tình trạng lag hay giật lag trong quá trình đặt cược.# #bong888 nhà cái bong88
Hệ thống bảo mật của https://shbet07bg.com/ khiến mình cảm thấy yên tâm hơn khi chơi.
Appreciate the thorough insights. For more, visit venta de colchones en Albacete online .
Thanks for the thorough article. Find more at Taxi para peregrinos Arzúa .
The before-and-after tells the story—wow. More at Roof Washing Maryville
Our patio improve commenced with a compact bistro set from Mattresses Santa Cruz —proper mornings.
Really useful tips. For torn mesh or panel replacements, Pool Cage Screen Repair is great for Pool Screen Repair.
Cảm ơn j88 vì đã mang đến những phút giây giải trí thú vị cho tôi! j88 sh
This was a great article. Check out casa rural cerca de Segovia capital for more.
Tôi thực sự ấn tượng với dịch vụ chăm sóc khách hàng của #nhà_cái_#uy_tín_#như_## anyKeyWord ## new88bg com
Những người mới bắt đầu cá cược nên thử trải nghiệm tại Sunwin bg để thấy sự khác biệt rõ rệt! sunwin bg
Sự đa dạng trong các hình thức cá cược là điểm mạnh của nhà cái này! vn88 bg
Chưa bao giờ tôi thấy nhà cái nào uy tín như 188bet bg, rất đáng để thử sức! 188bet bg
Những bài viết trên blog này thực sự giúp ích cho những ai mới bắt đầu tìm hiểu thế giới cá cược online – xem chi tiết hơn qua ## nhà cái king88