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
26
votes
2 answers

Spring MVC 3 Return Content-Type: text/plain

I want to display simple text on a page and as such I want to return the Content-Type as text/plain. Using the code below, I see plain text on the page, however the return Content-Type is still text/html. How can I fix this? NOTE: I'm using Tiles…
Ali
  • 12,354
  • 9
  • 54
  • 83
17
votes
5 answers

Better alternative to Apache Tiles

I'm looking for a framework that is better and easier to use than Apache Tiles (which so far, I have used a couple of times). With Tiles, it seems that when I have 100 actions I need to creates 100 jsp files and create 100 definitions in…
Fixus
  • 4,631
  • 10
  • 38
  • 67
13
votes
4 answers

I can't insert a basic HTML whitespace without getting an error. Is there any other way?

I have my implementation with spring, js, and other technologies, whenever i try to use a &nsbp; for white space it gives me the following error: Caused by: org.apache.jasper.JasperException: /WEB-INF/views/entrada/list.jspx(94,67) The entity "nbsp"…
Char
  • 925
  • 2
  • 10
  • 24
10
votes
4 answers

tiles with spring : getting error - java.lang.ClassNotFoundException: org.apache.tiles.TilesApplicationContext

I am new to spring and trying to use tiles with Spring. but getting above error. i am using maven in my project. i tried changing versions also, but no use. following are contents of project: pom.xml
Vishal Maral
  • 1,279
  • 1
  • 10
  • 30
10
votes
1 answer

Manage JavaScript and CSS with Apache Tiles

I'm looking for a good way to manage CSS and JS resources using Apache Tiles in a similar way to ASP.NET MVC 4. In ASP.NET MVC4 you have ContentBundles and ScriptBundles and you can simply write @Scripts.Render("~/bundles/jquery"); It will insert…
greyfox
  • 6,426
  • 23
  • 68
  • 114
9
votes
5 answers

Spring Boot with Apache Tiles

I am attempting to migrate my java application to Spring Boot. Currently, I am running Spring MVC 3.2 with Apache Tiles. When I migrated to Spring Boot, my controllers still get called fine, they pass the view to the view Resolver, but when Tiles…
user3089280
  • 381
  • 2
  • 4
  • 12
8
votes
2 answers

Apache tiles EL support in Spring 3

I'm trying to configure apache tiles 2.2.2 EL support in Spring 3.1. According to tiles documentation and from what I've found on google, this should work, but it doens't, instead, it throws NullPointerException Tiles config:
pseudo
  • 836
  • 1
  • 11
  • 20
7
votes
2 answers

How to remove a tile in apache tiles for a specific view?

I want to know how to remove a tile from a view. My main view is looking like this The tile config is made up out of 4 pieces: header, menu, body and footer. Now I know if I request a new page I can override the main view to for example replace the…
cp5
  • 1,087
  • 6
  • 26
  • 58
6
votes
3 answers

Can not find the tag library descriptor for tiles when using Maven

Here is my config in web.xml file org.apache.struts2.tiles.StrutsTilesListener struts2
Kent
  • 2,952
  • 2
  • 25
  • 42
6
votes
2 answers

Disable multilingual option in Apache tiles 3

I am getting following warning with Apche tiles 3 and Spring MVC 4 I does not added any extra configurations for multilingual support but it supporting by default. Can any one help me to disable this option to remove this warning in my site. …
Rakesh
  • 1,035
  • 1
  • 14
  • 31
6
votes
1 answer

Apache Tiles 3 and Tomcat 8

I got the following error, when i use Tomcat 8: Caused by: java.io.IOException: ServletException including path '/WEB-INF/jsp/tiles-base.jsp'. at org.apache.tiles.request.servlet.ServletUtil.wrapServletException(ServletUtil.java:61) at…
Cengiz
  • 5,375
  • 6
  • 52
  • 77
6
votes
3 answers

Supporting dynamic and translated titles in Apache Tiles

I have a Spring MVC project that uses Apache Tiles. I have implemented so that titles can be read from a message source like this:
ba0708
  • 10,180
  • 13
  • 67
  • 99
6
votes
2 answers

Spring-Boot + Spring-MVC + Thymeleaf + Apache Tiles

I have an already existing client module with apache tiles and thymeleaf, what works well. I wanted to convert it to spring-boot and wanted to do it step by step, but I am really stucking with it. I dont want to change to much once, I would love it…
6
votes
1 answer

Apache Tiles 2.5 - Mark menu element as active

I'm using Spring MVC 3.1 and Tiles 2. I have this Tile: And the…
gaspo53
  • 103
  • 2
  • 9
6
votes
3 answers

Pros and Cons of Apache Tiles framework

Greetings for the day, I was just trying to find out pros and cons of using Apache Tiles framework. Please let me know your valuable suggestions, comments, inputs regarding the same.
Shahids
  • 93
  • 2
  • 8
1
2 3
20 21