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,066 thoughts on “Extensions to Spring’s FreeMarker macro’s (spring.ftl)

  1. What if we could create a game that not only entertains but also teaches coding in a fun and engaging way? Imagine a world where players learn programming concepts as they progress through challenges unlocking new skills and knowledge. What elements would you include to make this game not just educational but truly enjoyable? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Admin согласен с вами полностью : Меня заинтересовала тема но я там не могу ответить. Чтобы быть в теме.Актуальные анонсы в TG: кракен рабочая ссылкаКанал-помощник. Актуальные ссылки KRAKEN: – кракен фургон – кракен безопасные покупки – кракен официальный сайт Ваша персональная скидка по коду KRA-WHZR2025 – 5

  2. What if we could create a game that teaches coding through a narrative where players choices directly impact the storyline? How would you design mechanics that make learning programming concepts engaging and fun while also ensuring players feel their decisions have real consequences? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Это не просто площадка это целый кракен маркет на любой вкус. Зеркало для мобильных: кракен vpnЗаходи и выбирай. Рабочие зеркала KRAKEN: – кракен товары – кракен безопасные покупки – кракен поддержка Ваша личная скидка по коду KRA-QJUB2025 – 7

  3. What if we could code our own virtual realities where the rules of physics are completely different? Imagine a game where gravity is optional and time can be paused or sped up at will. How would that change the way we approach game design and player interaction? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Moderator согласен с вами полностью : Меня заинтересовала тема но я там не могу ответить. Это главный кракен даркнет портал. Для надежности сохраните еще один адрес: kra47.ccСохранил сам делюсь с вами. Актуальные ссылки KRAKEN: – kra50.cc – кракен маркет – кракен tor браузер Твоя личная скидка по коду KRA-JISX2025 – 5

  4. What if we could create a game that actively encourages players to break the rules? Imagine a coding challenge where players must find creative ways to exploit glitches or loopholes pushing the boundaries of traditional gameplay. Would this foster a new kind of creativity or simply lead to chaos? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Канал для своих.Все новые кракен зеркала появляются тут: кракен onion ссылкиТам все свежее. Рабочие зеркала KRAKEN: – кракен телеграмм – кракен торговая площадка – кракен сайт Ваша персональная скидка по коду KRA-YIAT2025 – 7

  5. What if we designed a game that intentionally breaks common coding conventions? Could this challenge developers to think outside the box and foster creativity? How might such a game impact the way we approach problem-solving in programming? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Moderator согласен с вами полностью : Меня заинтересовала тема но я там не могу ответить. Чтобы быть в теме.Все новые кракен зеркала появляются тут: кракен зеркалоТам все свежее. Актуальные ссылки KRAKEN: – кракен рабочая ссылка – кракен форум – кракен безопасные покупки Ваша личная скидка по коду KRA-AEAE2025 – 10

  6. Believing wholeheartedly everyone has capability unlocking fullest potentials within themselves irrespective backgrounds beholden presently especially when factoring advancements achieved pertaining modern-day solutions revolving around popularized trends non surgical body contouring options

  7. What if we designed a game that intentionally breaks traditional coding conventions? Imagine a platform where players must solve puzzles by writing code that deliberately contains bugs or inefficiencies. How would this challenge our understanding of coding best practices and creativity in game design? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Особенно если интересует проверенный поставщик.Альтернативная связь здесь: кракен актуальное зеркалоИнфа из первых рук. Рабочие зеркала KRAKEN: – кракен ссылка на сайт – kra50.cc – кракен официальный сайт Твоя личная скидка по коду KRA-SBRI2025 – 9

  8. What if we designed a game that intentionally broke conventional rules of coding? Imagine a game that challenges players to write deliberately inefficient or nonsensical code to achieve a goal. How might this affect our understanding of coding principles and creative problem-solving? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Moderator согласен с вами полностью : Меня заинтересовала тема но я там не могу ответить. Особенно если интересует качественный кракен меф.Дополнительный канал здесь: кракен входПроверяйте подписи. Актуальные ссылки KRAKEN: – кракен телеграмм – kra47.cc – кракен аккаунт Ваша персональная скидка по коду KRA-CIOQ2025 – 6

  9. What if we designed a game that intentionally breaks the rules of traditional coding practices? How could this challenge players to think outside the box and what unexpected learning outcomes might emerge from such a chaotic experience? Extensions to Spring’s FreeMarker macro’s spring.ftl freestyle developments Это главный кракен даркнет портал. На всякий случай сохраните еще один адрес: kra49 ccВсе легально и безопасно. Актуальные ссылки KRAKEN: – кракен onion ссылки – кракен форум – кракен тор Ваша личная скидка по коду KRA-MQPM2025 – 5

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>