I'm having a hard time with Tiles.
I have a webapp with many views, all of these are composed around a single template. The template has about three or four "placeholders", and for each view, different, dynamically generated content should be placed in the correct placeholder.
When I define a new view with Tiles I need to create multiple JSP file - each with a placeholder's content. Then I need to update a huge XML file that has a lot of entries that look just the same.
I'm looking for a solution that'll allow me to declare all these placeholder's content in the same file, and partially include this file into the template (every fragment to its placeholder).
I was looking at Velocity and FreeMarker as well, but either of these doesn't seem to have a partial-include feature.
What are my options here? I'm willing to consider a change of framework just to make it a little less tedious to create yet another view.
Thanks!