Extensions to Spring’s FreeMarker macro’s (spring.ftl)

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:

  1. 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)
  2. 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:
  3. Show errors in an ordered/unordered list, automatically detecting zero messages and not outputting markup if this is the case
  4. 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
  5. 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.

21,741 thoughts on “Extensions to Spring’s FreeMarker macro’s (spring.ftl)

  1. miami magic 3.3l have became surprisingly primary in social settings, delivering a exciting and unique feel. It’s superb to revel in them responsibly and perceive the effects they could have Nang Robot

  2. Oi, I’m loving this chat – finally some honest banter about betting apps down under! So, I was using PointsBet on the app last footy season, and mate, the live odds updates are pretty slick, makes it easy to pounce when you spot a value Take a look at the site here

  3. 1. GamerMike89:
    Whoa, these VDA tax rules caught me off guard. I’ve been cashing out in-game crypto rewards for months and never thought twice about taxes. Now I’m staring at a notice from the IRS. From my seat, they’re definitely cracking down Click here!

  4. 1. Between you and me, I’ve been with Zego for nearly two years doing Amazon Flex gigs. Honestly, their pay-as-you-go model saved me loads during quiet spells, especially post-Christmas when work dries up Helpful hints

  5. Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Admin согласен с вами полностью : Меня заинтересовала тема но я там не могу ответить. Особенно если интересует проверенный поставщик.Альтернативная связь здесь: кракен телеграммИнфа из первых рук. Актуальные ссылки KRAKEN: – kra48 cc – кракен как зайти – кракен ссылка на сайт Твоя персональная скидка по коду KRA-KLWH2025 – 10

  6. Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Это не просто площадка это целый кракен маркет на любой вкус. Альтернативный вход: кракен вход через торУдобный интерфейс. Актуальные ссылки KRAKEN: – кракен инструкция – кракен магазин – кракен сайт Ваша персональная скидка по коду KRA-FEEV2025 – 5

  7. Plateforme en ligne read paris sportifs matchs de football evenements en direct et statistiques. Decouvrez les fonctionnalites du service les marches disponibles et comment l’utiliser.

  8. Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Admin согласен с вами полностью : Меня заинтересовала тема но я там не могу ответить. Для оперативных уведомлений.Оперативная связь через kraken телеграм: кракен регистрацияПодписывайся чтобы не пропустить. Актуальные ссылки KRAKEN: – кракен телеграмм – кракен сайт – kra48 cc Твоя личная скидка по коду KRA-OAJG2025 – 9

  9. Квартиры от застройщика https://kvartirav-vygodno.ru напрямую — актуальные цены и выбор новостроек. Подбор по параметрам помощь с документами ипотекой и рассрочкой. Прозрачные условия и сопровождение сделки.

  10. Alternativ schreib an email protected. NV Casino bietet flexible Ein‑ und Auszahlungen. Quoten aktualisieren sich live. Dann klappt jede Einlösung schnell. Jede Stufe erfordert 10 € Mindesteinzahlung. Du wählst Slots, Tischspiele oder Live‑Tische mit einem Klick. Der Betreiber setzt auf kurze Ladezeiten und einfache Navigation.
    Der Anmeldeprozess bei NV Casino ist bewusst einfach und schnell gestaltet. Die Freispiele der ersten Einzahlung laufen auf Blazing Crown – ein feuriger Slot mit Expanding Wilds und Re-Spins. Insgesamt können ambitionierte Spieler bis zu €2.000 Bonusgeld und 150 Freispiele sichern – und das bei keinen Auszahlungslimits. Nach der ersten Einzahlung (ab nur €10) wartet ein 100% Bonus bis €500 plus 50 Extra Spins, gefolgt von zwei weiteren Einzahlungsboni (75% bis €500 + 25 FS und 120% bis €1.000 + 75 FS). Bei ersten Anzeichen problematischen Spielverhaltens wenden Sie sich an Beratungsstellen.

    References:
    https://online-spielhallen.de/top-9-online-casinos-in-deutschland-2025/

  11. Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Всем мирЧтобы не попасть на мошенников — вот проверенная ссылка на кракен проверенные продавцыРаботает напрямую. Рабочие зеркала KRAKEN: – кракен проверенные продавцы – кракен сайт – kra49.cc Ваша персональная скидка по коду KRA-INMR2025 – 10

  12. Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Moderator согласен с вами полностью : Меня заинтересовала тема но я там не могу ответить. Это главный кракен даркнет портал. На всякий случай сохраните еще один адрес: кракен рабочая ссылкаПроверяйте адрес. Рабочие зеркала KRAKEN: – кракен проверенные продавцы – кракен телеграмм – кракен площадка Ваша личная скидка по коду KRA-PUMH2025 – 10

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>