Questions tagged [tiles2]

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

Apache Tiles™ is a Java templating framework built to simplify the development of web application user interfaces. Tiles uses the composition pattern as opposed to the decorator pattern, which the name "tiles" suggests. Tiles templates are made up of "definitions" which are typically defined with XML, however definitions can be constructed with the Tiles API.

Tiles has the following notable features:

  • Support for FreeMarker, Velocity and JSP.
  • Support for pattern matching using regular expressions.
  • EL, OGNL and MVEL support in definition files, when specifying attributes and templates.
  • Offers some support for decoration and runtime composition

For a current list of features see: http://tiles.apache.org/framework/whats-new.html

200 questions
1
vote
1 answer

Tiles - Access child attribute in parent layout

Forgive me for opening this topic yet again, but I cannot find this solution anywhere, and it is driving me crazy. I come from a Django-like templating system, where I can extend layouts like so: child.html {% extends 'base.html' %} {% block…
Mike
  • 2,334
  • 1
  • 23
  • 27
1
vote
0 answers

struts 2 tiles with parameter at runtime

I have an internationalized application and I'm trying to read the key files of resources in the title of a page layout loaded through the tiles listener. The configuration of my tiles.xml is the following:
Massimo
  • 65
  • 1
  • 7
1
vote
4 answers

Spring NestedServletException: Request processing failed exception is tiles CannotRenderException: ServletException including path

I am new to Spring, I am using SPRING 3.0.4 REST MVC with tiles 2.2.2, My question is very clear, when I tried to submit a request with simpler path's which I have configured in mvc-servlet.xml like /WEB-INF/jsp, it runs successfully, but when I…
HEAT
  • 289
  • 1
  • 6
  • 11
1
vote
2 answers

How to parse/extract url from an xml file?

I have an XML file that contains the following type of data There are dozens of nodes in the xml file. What I want to do is extract the url under the 'name' parameter…
Obi-Wan
  • 101
  • 1
  • 8
1
vote
1 answer

Configuring Spring + Security +Tiles + Thymeleaf using JavaConfig

I am trying to configure a web app to use Spring 3.2 + Spring Security + Apache Tiles + Apache Thymeleaf but i keep getting 404 error even though the logs (catalina.out) show no errors. What could be wrong with my configuration?? My configuration is…
Timothy Tuti
  • 992
  • 2
  • 15
  • 29
1
vote
1 answer

Does SpringMVC supports loading of tile definitions without controller methods

I have some controllers which have nothing in them, i am just setting the viewname to model object and returning it . In the absence of these methods, does SpringMVC do the mapping directly through the tile definition? If yes, can you please tell…
user1169474
  • 191
  • 1
  • 1
  • 6
1
vote
1 answer

if we use struts2 with tiles, the total web part refresh or particular part refresh?

i have doubt on strus2 tiles, in my web application i am using tile base as follows.
Ravichandra
  • 1,260
  • 7
  • 23
  • 37
1
vote
1 answer

Reducing configuration required to add new view in Apache Tiles

I search for ideas on how to reduce some of the boilerplate added by Tiles. Here is how my project organized. In my spring-mvc config I have Tiles configured this way: ...
Eugene Loy
  • 12,224
  • 8
  • 53
  • 79
1
vote
1 answer

ajax call not hitting my spring mvc controller using it with tiles 2.2

I am using Spring MVC, Tiles 2.2 and jquery to make ajax calls, but my ajax in my js file is not hitting my controller. how do i configure it correctly as this is my first time trying to make an ajax call with spring mvc using annotations.. my…
Bobby
  • 51
  • 2
  • 8
1
vote
1 answer

Whats the difference between tiles:insertTemplate and tiles:insertDefinition

tiles:insertDefinition and tiles:insertTemplate both has putAttribute , i am not understanding the difference between the two.I am using tiles 2.x version. thanks in advance kranthi
kranthi
  • 11
  • 1
  • 3
1
vote
2 answers

Dynamic Tiles Template with Spring 3.0

I'm currently developping an application with Spring 3 and Tiles 2. I have a question regarding Tiles and the dynamic contents. I would like to have a "header" template, that contains a menu that is populated with database information. As the menu…
oveka
  • 57
  • 5
1
vote
0 answers

jsp substitution in tiles.xml

I was looking at the Travel demo project and noticed that in the tiles.xml under hotel that there was the following:
Dave
  • 545
  • 3
  • 14
  • 29
1
vote
1 answer

How to have a flexible website using tile?

I have 4 different types of members in my website lets say memberA, memberB, memberC, and memberD. Each should have its own header headerA.jsp, headerB.jsp, headerC.jsp, headerD.jsp. As shown below, there is a definition for each Member type and…
Daniel Morgan
  • 782
  • 5
  • 15
  • 43
1
vote
1 answer

Integrating Spring 3 and Tiles 2 : Error in creating bean "tilesConfigurer"

I'm trying to make a basic Hello world app integrating Spring 3 MVC and Apache Tiles 2. If I understand it correctly, I'm getting an error when the spring container tries to initialize the titlesConfigurer bean. Here is the line on console that…
Saurabh Patil
  • 4,170
  • 4
  • 32
  • 33
1
vote
0 answers

Velocity with tiles 2 and spring-mvc

I am looking for a way to use velocity with tiles 2 : in the end I want to switch from jsp / vm like this :
jpprade
  • 3,497
  • 3
  • 45
  • 58