Re: How to dynamically update one page with fragments using links?
No i am not using spring mvc. I am using a restcontroller for my restservices and jpa for database and a controller for views where I do all the server requestmappings. In resources I have made multiple fragments(.html not jsp) for different parts of the site and would like to only use one index.html that changes only one empty content div depending on what link is clicked. All the fragments are currently data-th-fragment and in the index file the content div has data-th-replace.
Also since everything is in fragments some of my team members have been complaining that their jquery is not working. The js script tag is located at the end of the index.html. Any suggestions if I have to place the same js script tag in the fragments as well?