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
3
votes
3 answers

Spring MVC and Tiles Integration Issue

I am trying to create a simple Spring 3 MVC app with tiles integration. When I try to build the app I get this error message (truncated for brevity): java.lang.NullPointerException at…
Sahil Dave
  • 353
  • 1
  • 11
  • 25
3
votes
4 answers

JavaScript with Spring MVC doesn't work

I downloaded login template which uses css and JavaScript. When I start it in default html format it displays ok, but when I put the same code to my Spring MVC 3 app and change format to jsp, javascript part is disabled. I can access external js…
jantobola
  • 688
  • 2
  • 10
  • 28
2
votes
1 answer

Design pattern for consistent UI

I have a Java based web app, which is going to be redesigned (i.e. mainly UI) from scratch. Now here are the requirements: The major changes are going to be in the UI layer (where it has to work on multiple devices like desktop/mobile/tablet with…
copenndthagen
  • 49,230
  • 102
  • 290
  • 442
2
votes
1 answer

Tiles Config bean throws exception: TestNG+Spring 3+Tiles2

I'm trying to run a TestNG+Spring+JPA+Hibernate 'Hello World' test. The execution results in a NullPointerException, the tiles configurer bean fails. The exception: 2011-08-20 18:12:18,547 [main] INFO …
kmansoor
  • 4,265
  • 9
  • 52
  • 95
2
votes
2 answers

Why Tiles wildcard definition name could not accept slash(/) character

As we see the Tiles docs said https://tiles.apache.org/framework/tutorial/advanced/wildcard.html We can define a wildcard to accept arbitrary name. But if the name includes "/", for example "c4/login". Tiles will throw an…
Matt
  • 1,671
  • 5
  • 23
  • 34
2
votes
1 answer

Namespace problem in Struts2 when using Apache Tiles

I have a simple problem when I come to Struts2. I use tiles plugin in my Struts2 project. As all of us know, tiles are used for making templates. We can give namespace for our package in struts.xml, the configuration file :
Deepesh
  • 57
  • 8
2
votes
1 answer

passing data in querystring when using tiles

I am using tiles2 and spring in my project. When i am redirecting from spring controller to a jsp(the jsp page is mapped in tiles.xml file) page using query string like: return "showRes.jsp?subSucc=ok"; it shows me: javax.servlet.ServletException:…
Shams
  • 3,637
  • 5
  • 31
  • 49
2
votes
1 answer

Change locale within page under Spring MVC + Tiles + JSTL

I'm overlooking something and I hope someone can provide me with a resource on this. I am utilizing spring 2.5.6 in my application with Tiles 2.2.2. I have a requirement to display certain information within a page in different locales. Right now…
Dave G
  • 9,639
  • 36
  • 41
2
votes
1 answer

Calling Controller from Tiles Template using Spring 3

I just set up Apache Tiles 2 in my Spring MVC 3 application. I created my template :
guigui42
  • 2,441
  • 8
  • 35
  • 48
2
votes
1 answer

Nesting templates in Tiles, why are attributes undefined in the included template?

I use Tiles 2 in my web application, and the basic setup I've got in my tiles.xml file is this:
Shawn D.
  • 7,895
  • 8
  • 35
  • 47
2
votes
1 answer

Apache Tiles 2.1.4 with CSS

I am using Apache Tiles 2.1.4 with Spring MVC 3. I have managed to configure these together and everything works fine. My next step is to add CSS and this is where I am having an issue - this is most probably a simple one but I can't get my template…
Zahanghir
  • 547
  • 4
  • 9
  • 22
2
votes
1 answer

TilesConfigurer throws NoClassDefFoundError on initialization

Problem: TilesConfigurer throws NoClassDefFoundError on initialization Took steps to resolve: Import tiles jars. Added jstl.jar Added older vesions of…
bearcatFulton
  • 71
  • 2
  • 12
2
votes
1 answer

Add tiles.xml from another maven modules

I have 3 maven modules. In one module MAIN - I have dependency from 2 another (MODULE1 and MODULE2). All modules based on spring mvc. So, in all modules I use tiles as template constructor. In MAIN module in mvc-dipatcher-servlet.xml i try to…
nabiullinas
  • 1,185
  • 4
  • 20
  • 41
2
votes
1 answer

Spring 3 MVC and Tiles 2.2

I have configured a Spring MVC / Hibernate / Tiles application. All was working until I introduced the Tiles component. I believe I have it right but I keep getting "Cannot render a null template" exception Here is my root-context.xml
user2774515
  • 31
  • 1
  • 5
2
votes
2 answers

Tiles Integration with Struts 2 Annotation

I have been trying to integrate Tiles with Struts 2 annotation based action but it's not working correctly. As I don't have struts-config.xml and in every tutorial available at web they are referencing it with struts-config.xml. First is it…
Wasif Kirmani
  • 1,277
  • 3
  • 22
  • 43
1 2
3
13 14