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

Why Tiles REGEXP wildcard definition cause endless jsp including error

I use tiles 2.2.2 with Struts2 2.2.3, since Struts2-Tiles plugin is quite old, its implementation uses many Tiles deprecated API, and I want to try REGEXP wildcard, so I implement my own listener below: MyTilesContainerFactory package tiles; import…
Matt
  • 1,671
  • 5
  • 23
  • 34
4
votes
2 answers

Why am I not getting Spring Security Login Error Messages?

Using Spring Security 3 along with Struts 2 and Tiles 2, I have a login page that appears when it is supposed to and performs the login as expected -- however when I enter bad user credentials I am returned to the login page with no information…
Griff
  • 1,796
  • 3
  • 23
  • 48
4
votes
1 answer

java.lang.ClassNotFoundException: org.springframework.security.access.expression.SecurityExpressionHandler when using tag

I'm using Spring Security for the first time with Spring MVC and Tiles. Everything is Ok about authentication using users/roles from database, but when I add the tag to make adaptation according to the user authenticated in the…
Kuzanagi
  • 61
  • 1
  • 3
4
votes
1 answer

Tile does not work properly with OGNL expressions

I am trying to use OGNL in my tile but it considers the expression as a string ( whatever I use it counts as a string). How should I change it in a way to count the expression as name of a page not string. I am using the following code to embed the…
J888
  • 1,944
  • 8
  • 42
  • 76
3
votes
1 answer

Best way to set HTML head title in a Spring+Tiles2 application?

I have a usability problem in my Spring webapp which uses Tiles as the view technology. At the moment all of the pages display the same HEAD_TITLE and the PAGE_TITLE is page specific: HEAD_TITLE
kosoant
  • 11,619
  • 7
  • 31
  • 37
3
votes
1 answer

passing values from tiles2 definition to jsp file in struts2

I am using tiles 2 with struts2. My tiles definition look like this:-
jeet
  • 95
  • 2
  • 9
3
votes
2 answers

Composing Apache Tiles 2 layout from many templates

I'm building the web application with Spring 3 and Tiles 2.2. I've put following layout definition:
Random
  • 4,519
  • 2
  • 38
  • 46
3
votes
3 answers

Tiles2 error with cascade attribute in put-attribute tag

I just don't know why i get this error: 2010-10-28 16:32:29,925 ERROR [ache.commons.digester.Digester.error :1635] - Parse Error at line 45 column 56: Attribute "cascade" must be declared for element type…
Psyconn
  • 127
  • 3
  • 8
3
votes
2 answers

Apache Tiles set html tag attribute using value

I am using Apache Tiles 2.1 as my templating framework (along with Spring MVC). I want to know how best to be able to set HTML attribute values from within my Tiles definitions file. For example I have a text box and want to be able to set the…
wr1472
  • 31
  • 1
  • 4
3
votes
1 answer

Thymeleaf 3 and Tiles2 integration

Does Thymeleaf 3 support Tiles 2 somehow? There is a package that I was using for Thumeleaf 2.x.x thymeleaf-extras-tiles2-spring4 but as I see now it is not compatible because of changes in org.thymeleaf.dialect.AbstractDialect class Caused by:…
Marek Raki
  • 3,056
  • 3
  • 27
  • 50
3
votes
3 answers

UrlBasedViewResolver and Apache Tiles2 in Spring 3

I've got the following exception while trying to open the URL http://localhost:8080/app/clientes/agregar: javax.servlet.ServletException: Could not resolve view with name 'clientes/agregar' in servlet with name 'Spring MVC Dispatcher Servlet' My…
Joaquín L. Robles
  • 6,261
  • 10
  • 66
  • 96
3
votes
3 answers

Tiles 2 And No mapping found for HTTP request with URI - Spring-MVC

I want to use Spring-Tiles intergration. Here you can see how my app looks like. So my question is: why Spring-MVC dispatcher Servlet can not resolve my Target page ???
Arthur Ronald
  • 33,349
  • 20
  • 110
  • 136
3
votes
3 answers

Spring model object becomes null on jsp

I have a spring project and my problem is that my model objects becomes null on jsp when I debug it in the controller it shows data but on jsp nothing is displayed and there are no errors in the log. I have added spring tiles config recently and…
kirti
  • 4,499
  • 4
  • 31
  • 60
3
votes
2 answers

Struts2 Tiles setting a var to a tiles attribute as string

I use struts 2.3.16 and tiles 2.0.6. A tiles definition with an empty attribute (among others): Some other definitions extend it, and they can choose to either fill in the value:
user1884155
  • 3,616
  • 4
  • 55
  • 108
3
votes
3 answers

Enable Tiles devMode like Struts' devMode to reload tiles.xml with each request

Does Apache Tiles have a devMove like Struts that would reload the tiles.xml file with each request? If so, how can this be enabled?
Abboq
  • 1,101
  • 1
  • 10
  • 21
1
2
3
13 14