• 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
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Thymeleaf validation with rowStat not working

 
Greenhorn
Posts: 14
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have this form which is visualizing the errors fine except in the part where I am iterating the room types. When I debug in the list of errors I see everything but the room numbers errors. I am not really sure what I am doing wrong since there is not much information about using rowStat, at least I could not find much. Any help will be appreciated.

The form:



The controller to show the booking form:


the create booking controller:



The binding model:



The Room Binding Model


 
Bartender
Posts: 2301
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So, you mean if you leave number of rooms empty, it does not give you the error ?
 
Petra Petrova
Greenhorn
Posts: 14
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, no error. I don't see the errors in the binding result when debugging but I see the others.
 
Himai Minh
Bartender
Posts: 2301
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not familiar with Thymleaf.
But can you check if your following code has anything that prevent the error from being displayed?
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic