Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Spring
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
Spring
Issue in iterating over a list in thymeleaf
Yogesh Gandhi
Ranch Hand
Posts: 264
posted 2 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am facing the issue iterating over a list in thymeleaf.
Please check the attachment for code and the result.
issue_iterating_in_thymeleaf.png
Issue iterating in thymeleaf
Result.png
Result
Yogesh Gandhi
Ranch Hand
Posts: 264
posted 2 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
I forgot to close the th:block on line 14 and line 21
Rob Spoor
Sheriff
Posts: 22803
131
I like...
posted 2 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Thanks for sharing your solution. I was already wondering why I wasn't seeing the hard-coded table rows. Apparently Thymeleaf isn't strict about missing closing tags, because you were missing several - 7 opening block tags vs 3 closing block tags.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
Get me the mayor's office! I need to tell him about this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
In Struts,<logic:iterate> to iterate over values of hashmap which are arraylist of arraylists
rich faces auto complete fails in dialog popup window
Problem with Iterator
Why adding an element into List is not allowed while iterating
task list and results
More...