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

Troubles with apache tiles 2 and JSP

I'm trying to get tiles 2 working with JSP. I'm getting a null pointer exception. I'm having trouble finding good documentation that explains how to get setup. I have a pretty easy use case. I have a template with an attribute called "content". I'm…
Brian DiCasa
  • 9,369
  • 18
  • 65
  • 97
1
vote
1 answer

Tiles2 group all the scripts inside a ¿definition?

I'm using struts2+tiles2, and I would like to do the following. I have a baseLayout, where I define my menu, body, etc like this: And then in my tiles.xml I set them like…
1000i1
  • 115
  • 1
  • 12
1
vote
2 answers

Spring boot: TilesDialect() throw exception

I use Spring boot and i want to use tiles, but i have a problem: Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.thymeleaf.spring4.SpringTemplateEngine]: Factory method 'getTemplateEngine' threw exception;…
Jacek
  • 25
  • 4
1
vote
1 answer

Tiles 2 Wildcard to remove duplicate not working

I'm using Spring, Struts 2, and Tiles 2 in my project and I'm trying to use wildcard notation here to remove the duplicate in my setup from here
Jiro Manio
  • 137
  • 10
1
vote
0 answers

Tiles-el get spring security principal object

I have project running spring with tiles2 and Thymeleaf template engine. In tiles I want to display an authentication navbar depending if the user is authenticated or not, to do so I'm using apache-tiles EL to choose which navbar will be…
marouane
  • 11
  • 1
1
vote
3 answers

How to display images in a jsp file in Spring MVC

I am very new to spring. I am using spring 3.29 version, tomcat 7. I need to display an image in .jsp file. I searched a lot. There are plenty of post about this problem. But still i am unable to solve this problem. Please help. The following is my…
Abdul
  • 1,130
  • 4
  • 29
  • 65
1
vote
1 answer

java.lang.NoClassDefFoundError: org/apache/tiles/web/startup/TilesListener while using Tiles in Struts 2

I'm integrated Tiles with Struts2 web application in Windows 8 OS. I am getting the following error in server log: java.lang.NoClassDefFoundError: org/apache/tiles/web/startup/TilesListener java.lang.ClassNotFoundException:…
dpk12
  • 95
  • 2
  • 16
1
vote
1 answer

sitemesh and tiles 2.1 integration with spring MVC

Is posible to integrate sitemesh and tiles 2.1 with spring mvc ? I want to composite the layout with tiles and then decorate with sitemesh. I was using tiles like that.
atomsfat
  • 2,863
  • 6
  • 34
  • 36
1
vote
0 answers
1
vote
3 answers

CSS Style ignored when inserted page in Spring Tiles

I'm developing a web app using Spring MVC 4. I generated the base of the app with Spring Roo. Right now I'm working in the front end with Spring Tiles 2.2.2. I downloaded a responsive template and split the code to fit each part of the template.…
Jessai
  • 947
  • 2
  • 15
  • 35
1
vote
1 answer

model class beans are not being filled

I wrote a web application where there are login.jsp, loginAction and login Beans. When I fill the form in th jsp beans in the loginbeans are being filled through loginAction. When I replicate the logic from these pages to registering an user, beans…
Pawan
  • 423
  • 6
  • 28
1
vote
1 answer

Struts Assistant Tool Window does not come up in IntelliJ

I have a project with the Struts 2 framework detected successfully in IntelliJ (12.1.6). However, I am not able to see the Struts Assistant Tool Window. I am looking for that and Tiles support inside IntelliJ. The web application compiles and…
iCrus
  • 1,210
  • 16
  • 30
1
vote
0 answers

Apache Tiles 2.1.4 runaway leads to StackOverflowError - how to check?

We have a large web app that makes extensive use of Apache Tiles for page assembly. Most of the time it works fine but once in a while it throws a StackOverflowError (sample stack trace below). The fact that these definitions are used thousands…
user3120173
  • 1,758
  • 7
  • 25
  • 39
1
vote
0 answers

IncompatibleClassChangeError while configuring spring3.0+thymeleaf+tiles2

While I was configuring my beans od spring3.0+thymeleaf+tiles2 i get the following error: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'templateResolver' defined in class com.spr.init.WebAppConfig:…
1
vote
0 answers

Tiles attributes not found

I use tiles 2.0 In my tiles-defs.xml i have
robert trudel
  • 5,283
  • 17
  • 72
  • 124