Questions tagged [apache-tiles]

Apache Tiles is a framework that allows authors to define HTML page fragments which can be assembled into a complete page at runtime.

Apache Tiles™ is a templating framework built to simplify the development of web application user interfaces.

Tiles allows authors to define page fragments which can be assembled into a complete page at runtime. These fragments, or tiles, can be used as simple includes in order to reduce the duplication of common page elements or embedded within other tiles to develop a series of reusable templates. These templates streamline the development of a consistent look and feel across an entire application.

Tiles grew in popularity as a component of the popular Struts framework. It has since been extracted from Struts and is now integrated with various frameworks, such as Struts 2 and Shale.

more info : http://tiles.apache.org/

308 questions
3
votes
1 answer

Apache Tiles 3.0 - Locally Save and Reference DTD

We're using Apache Tiles 3.0. In our Apache Tiles-Def file, we occasionally have problems with this DTD reference, maybe because the site is unreliable. There are I/O errors "Reading Definitions" occasionally:
gene b.
  • 10,512
  • 21
  • 115
  • 227
3
votes
2 answers

Spring mvc integration with Apache Tiles 3 Using Java Configuration has Problems

The problem is the that tiles configuration is not getting applied everytime. I have integrated Apache tiles 3 with spring MVC. I have used annotation based configuration of spring. The problem in the application is that the tiles definitions get…
Akshay Jain
  • 73
  • 2
  • 8
3
votes
1 answer

Get current page apache tiles within jsp

I have spring mvc application using apache tiles.Main file is template.jsp which includes header.jsp, then got place for potential messages and footer.jsp included. Is there a way to check within jsp page ( using JSTL ) on which page I'm inside…
Khobar
  • 486
  • 7
  • 20
3
votes
2 answers

Spring + Tiles: Set page title from within the view

I'm using Spring MVC 3 with Apache Tiles 3. I want to add a custom title for one of my pages. I want this title to live in the specific view jsp and not in the layout jsp. Here's what I'm doing: Definition in tiles.xml
singhspk
  • 2,389
  • 3
  • 23
  • 28
3
votes
1 answer

AngularJS with Apache Tiles

I use Spring MVC and AngularJS for my project. Can AngularJs $routing and ngView be used instead of or together with the Apache Tiles framework? As far as I can see using $routing and ngView we create templates and reuse them in a singlePage…
Spring
  • 11,333
  • 29
  • 116
  • 185
3
votes
1 answer

Apache-Tiles3 and Freemarker where freemarker result is processed from String, renderer output is too early

I'm integrating struts2, tiles3 and Freemarker (templates from a DB). The integration is mostly done, but the freemarker renderer is rendering to the result immediately instead of inserting its content into the template at the expected location. Any…
Quaternion
  • 10,380
  • 6
  • 51
  • 102
3
votes
3 answers

Global exception page in Apache Tiles and Spring MVC

When an unhandled exception is throws (e.g. a RuntimeException), then I want to show a common error page. I want to achieve a few things: reuse a HTML template (use a common "frame" with header etc.) and place exception info in the body provide…
Prospolon
  • 361
  • 1
  • 4
  • 12
3
votes
3 answers

Spring roo, apache tiles display model attribute which was set in controller

I'm using Spring roo, and in one of the controllers I'm setting the model attribute "error" with a string as below: //uiModel.addAttribute("error", "Duplicate name for Vendor"); @RequestMapping(method = RequestMethod.POST) public String…
user237865
  • 1,250
  • 4
  • 19
  • 41
3
votes
4 answers

Apache tiles converts open tag and close tag with no content to an empty tag

Apache tiles converts open tag and close tag with no content to an empty tag. For example will be written as