• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

Thymeleaf - How to send a table as a list?

Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thymeleaf - How to send a table as a list?

Greetings codeRanch. Hope you are all having a great end of 2020*.
I need help on how to solve a situation...

I have a javafx Desktop Application. Im building now the Web version of this app.
I have a class called Tool, and it has the variable Collection<DistributionPoint> distributionPoints;
Im working on a page to add/update a Tool, like in the javafx app.

I have a combobox a Option/Combobox in my HTML that is filled with objects from the class "DistributionPoint" to pick from.
The user, can pick any they want and add to a table as long as its not added already in the table already (Doesnt allow repeated values).

From the UI side, everything works as it should.
When I press Save/Submit, it doesnt save the table as the distributionPoint list of 'tool'.
I've tried several things but none of them worked. Any tip on how to deal with this?

HTML file

So there I was, trapped in the jungle. And at the last minute, I was saved by this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic