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
6
votes
1 answer

Can I access the Apache Tiles definition name inside a ViewPreparer?

Is it possible to access the Apache Tiles definition name inside a ViewPreparer?
blank
  • 17,852
  • 20
  • 105
  • 159
5
votes
1 answer

EL expressions in Apache tile definition is not processed

I am using Apache tiles for templating and part of the template is a header text. This text depends on the section the page belongs to. Each page contains a bean and the header text is built using the properties of that bean. The bean will have a…
Benoit Martin
  • 3,323
  • 2
  • 22
  • 22
5
votes
6 answers

Java, Spring, Apache Tiles error : Could not resolve view with name 'index' in servlet with name 'dispatcher'

I'm new to Tiles and Spring MVC (I looked through several similar issues but found no solution for 'my problem') controller: @Controller public class IndexController { @RequestMapping("/index") public String index(){ return…
flopec
  • 53
  • 1
  • 1
  • 4
5
votes
2 answers

Apache Tiles - Unable to access beans in a custom ViewPreparer in Spring MVC

I am using Spring 3.2 with Apache Tiles. I generated a lot of my service classes using Roo. I am trying a simple procedure where I inject a variable into the jsp templates. That part works fine, but I am stuck at the point where I need to reference…
Peter
  • 51
  • 2
5
votes
4 answers

How to check existence of tiles attribute before inserting it into the page

I am using tiles in struts2 application. While defining base layout I have defined an attribute "scriptFile". ...
Bilal Mirza
  • 2,576
  • 4
  • 30
  • 57
4
votes
1 answer

Spring Boot 2 -- security taglibs not found, wrong taglib version in the java jsp

I know there are a ton of similar questions like this, but I can't seem to find the answer for Spring Boot 2. I am getting this error: Caused by: org.apache.jasper.JasperException: The absolute uri: [http://www.springframework.org/security/tags]…
mmaceachran
  • 3,178
  • 7
  • 53
  • 102
4
votes
2 answers

The fully qualified name of the bean's class, except if it serves only as a parent definition for child bean definitions

I want to integrate Apache Tiles in my Spring Project I have followed steps on spring-tiles integration but I get error at: providing only related code project structure is servlet-context.xml
Crazy Coder
  • 784
  • 2
  • 9
  • 24
4
votes
2 answers

Using core library set variable in Apache Tiles

I have one template JSP page:
Akash Chavda
  • 1,185
  • 1
  • 11
  • 29
4
votes
2 answers

Custom login + Spring Security + Tiles + Request method 'POST' not supported

I am trying access URLs (e.g. /user/subscriptions) secured with Spring(v.4.1.0) Security(v.3.2.5) and I am getting the following error , after submitting username/password and csrf token: HTTP ERROR 405 Problem accessing /j_spring_security_check.…
amacoder
  • 791
  • 2
  • 7
  • 11
4
votes
3 answers

How to integrate Spring 4 with Apache Tiles 3?

I am using Spring framework version 4 and I get confused which folder to put the XML files, specially the tile definitions and where to find the resolver bean.
Andoy Abarquez
  • 1,119
  • 4
  • 17
  • 30
4
votes
3 answers

Apache Tiles issue - org.apache.tiles.jsp.taglib.InsertAttributeTag cannot be cast to javax.servlet.jsp.tagext.Tag

I tried to use tiles 2.2.2 with Struts 2. I included all the necessary jars(related to tiles, Struts2 and Struts2 tiles plugin) in the…
Manoj Kumar
  • 380
  • 5
  • 20
3
votes
1 answer

Apache Tiles 2.1 - How to prevent inherited list attributes from getting duplicated?

I'm working on a project using Apache Tiles 2.1. I am running into an issue where extending templates with list attributes is creating duplicates of those list items... one set of duplicates for each level of inheritance. As an example, here is…
TM.
  • 108,298
  • 33
  • 122
  • 127
3
votes
2 answers

Why getting error "The absolute uri: [http://tiles.apache.org/tags-tiles] cannot be resolved in either web.xml or the jar files deployed"

I have a Java web application built with Spring MVC, JSPs, and Apache Tiles. The same WAR file works fine on Windows 10 and Mac. But on Ubuntu (18.04 on Amazon AWS) I get an error: org.apache.jasper.JasperException: The absolute uri:…
AvaTaylor
  • 623
  • 4
  • 16
3
votes
1 answer

JSP property file read

I am making one web application. In this application i am using maven, Spring framework, Hibernate framework, JSP, Apache tiles. Still this application is in English language. So now my requirement is convert application is in Portuguese language.…
Akash Chavda
  • 1,185
  • 1
  • 11
  • 29
3
votes
0 answers

Spring4, Tiles and Freemarker integration problems

In my Spring MVC project I use Tiles to eliminate any redundant page structure code. As a view renderer, I first chose Thymeleaf because it was described as a promising new kid on the block and pretty easy to use. Unfortuantely, the integration of…
klausch
  • 612
  • 2
  • 10
  • 22
1
2
3
20 21