Questions tagged [tiles-3]

This tag is for use with Apache Tiles version 3 and greater. Apache Tiles is a compositional template system.

New features in Tiles 3.0

  • Apache Request: a framework independent request abstraction. Implementations for Servlet, Portlet, JSP, Velocity, FreeMarker and Mustache.

  • Apache Autotag: a tool that automatically generates tags (or tag-like) artifact from a common template code for a range of templating languages. All the Tiles 3 boilerplate code to templating models has been removed and uses the Autotag plugins instead: it's a lot of boilerplate, boring code, now generated automatically.

Removals in Tiles 3.0

  • Upgraded from JavaSE 5.0 to JavaSE 6.0.
  • Upgraded from Servlet 2.4 and JSP 2.0 to Servlet 2.5 and JSP 2.1.
  • Changed the Java API to adopt the Request API. The XML files and taglibs are compatible with tiles 2.2.
  • Dropped the parameter based configuration that was deprecated in 2.2.

Resource

97 questions
1
vote
0 answers

Apache Tiles or SiteMesh should I use?

I have no experience in using both Apache Tiles and SiteMesh, and now I need to choose one, so which one I should choose? Any body have in experience in using them, could give me some suggestions?
Rocky Hu
  • 1,326
  • 4
  • 17
  • 32
1
vote
0 answers

Spring 4, tiles 3 and velocity integration

I tried to integrate Spring 4, tiles 3 and velocity and ended up with the below problem. It is not able to provide spring messages and it is displaying $springMacroRequestContext.getMessage($code) $springMacroRequestContext.getMessage($code)…
1
vote
1 answer

Dynamic attributes with apache tiles 3

I'm currently working on a Spring MVC project and started using apache tiles for rendering JSPs. Today, I'm dealing with the issue of inserting an attribute into a jsp page, with the value returned from my controller. This is my base definition in…
Jorge Cespedes
  • 547
  • 1
  • 11
  • 21
1
vote
3 answers

java.lang.ClassNotFoundException: org.springframework.web.util.ExpressionEvaluationUtils

I just upgraded a Spring MVC application, version 3.2 to a 4.0.2 and my view tags are not working anymore. The error: java.lang.ClassNotFoundException:…
user2019059
  • 133
  • 1
  • 2
  • 6
1
vote
2 answers

Tiles 3 with spring MVC 3 integration not working

First time I am trying to integrate Tiles3 with spring MVC 3. My Spring servlet has the following entries:
Arpan Das
  • 1,015
  • 3
  • 24
  • 57
1
vote
2 answers

Spring 3.2.4 + Tiles 3 = infinite loop when resolving view?

I'm trying to use Spring MVC 3.2.4 & Tiles 3.0.1 with Regexp prefixes in my tiles.xml file. I'm a newbie with Tiles, so I might be doing something wrong, but have been trying to follow things I have read on in the Tiles doc site as well as apply…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
1
vote
1 answer

Get path from a JSP with Apache Tiles 3 and Spring MVC 3.2.3

I'd like to get the current path of the page I'm on from inside the JSP file. The JSP file in this case being a Tile as part of the apache tiles framework. The URL I'm hitting is http://localhost:8080/dashboard/projects where 'dashboard' is the…
cmikeb1
  • 1,054
  • 9
  • 19
1
vote
1 answer

Spring 3.2.2 + Tiles3 + i18n not found

I have one jsp look that. <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> <%@ taglib prefix="spring"…
Dani
  • 4,001
  • 7
  • 36
  • 60
1
vote
1 answer

Converting an existing Simple JSP Tiles 2.2 webapp to Tiles 3.0 architecture

I want to create a simple JSP tiles 3.0 web application. I have a header,footer, menu and a body to load the jsps. My application works in tiles 2.2 but now I'm trying to convert it to tiles 3.0 I'm not allowed to use frameworks. I create the war…
D.Andreea
  • 41
  • 2
1
vote
1 answer

tile3 + struts says no definiton found in Jetty

I tried tiles3+struts/spring mvc several days with jetty9, it doesn't work at all reporting no definition error. I checked the configuration again and again. At last I switched to tomcat for luck with the same war, and I am! Tiles2 works in jetty9. …
1
vote
2 answers

How to get Spring 3.2 to work with Tiles 3 and REGEXP

I'm setting up a project using spring mvc and tiles 3. It's working fine with normal tiles definitions, but I'm not able to get REGEXP: definitions to work. Is there something special that needs to be done? EDIT Found out that I have to set…
Alaa Nassef
  • 280
  • 2
  • 13
1
vote
2 answers

Tiles 3 & Struts 2 Error

I was trying to use Struts 2 & Tiles 3 according to this link. However as soon as I add the listener-class on my web.xml: org.apache.tiles.extras.complete.CompleteAutoloadTilesListener I…
prog rice bowl
  • 788
  • 3
  • 19
  • 36
0
votes
1 answer

Spring MVC & Tiles : Could not resolve view with name

I hava a spring 3.2 application using tiles 3.0.1. Every thing works fine for months in local,prod everywhere (tomcat7). On a newly bougth server (ws2019) with tomcat 9 (running with a dynamic password service account) : The application start, can…
jpprade
  • 3,497
  • 3
  • 45
  • 58
0
votes
1 answer

Cannot override attribute in extended definition

After upgrading from Tiles 2 to Tiles 3, it seems overriding attributes stopped working. My tiles.xml has something like this where create-form extends from baseLayout. I'm getting null for the "title" attribute (but the other attributes "menu",…
quietmint
  • 13,885
  • 6
  • 48
  • 73
0
votes
1 answer

Problem with using spring and tiles in intellij

I tried many things what I can search in google. but failed to solve this. If I use only 'InternalResourceViewResolver' it works. but if use tiles, it dosen't work at all. help me please. spring : 5.3.15 tiles : 3.0.8 tomcat : 9.0.54 SDK : OpenJDK…