I'm building a basic document template, using the same idea as my colleague ( Paulo Henrique ), but I do insert the data by fields external to the form, in an earlier moment of the client's search. The difficulty comes from the need to edit this template from the base text of the document, because sometimes it is necessary to report a special situation of the client. When I change the document, I enter some new data, I can not save this "new" document in the database. Has anyone had a similar project? I've tried several alternatives ... put the new data okay, the problem is saving the database change.
I'm starting with spring + thymeleaf. And the basic problem is this: I have a page that should work as a master detail, I have a "document" object, when I click that object it needs to be loaded on the same page another object (List) referenced to it ("fields_document")
Let me try to refine the question a little bit: I'm using Spirng + Thymeleaf in this project, however the need arose to use some angular functionality. The central problem is that once I've added the angle, I'm having trouble retrieving the object information. The data simply does not appear on the inputs. I used the firefox code inspector for an analysis, and the data is loading in the html (input value), but it does not appear to the user. My code looks like this: