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

How to add beans list in tiles definition tag while migrating from Tiles2 to Tiles 3

We have application in Tiles2 where we have tiles definition tag having bean in the put-list-attribute and works well, but not able to migrate those for Tiles 3 compatible one. Can anyone guide us, sample code ...
Vikram
  • 1
0
votes
0 answers

java.lang.NullPointerException: null at org.apache.tiles.access.TilesAccess.getContainer(TilesAccess.java:124) ~[tiles-api-3.0.8.jar:3.0.8]

I am trying to migrate struts from 2.3 to 2.5.20. As part of this task i had to migrate tiles 2 to tiles 3 I can see my tomcat starting and I can access my endpoints (rest endpoints) I have added following plugin…
0
votes
1 answer

Does Spring webflux support jsp view/tiles view

I'm upgrading spring version in our application which was on spring 4.3 earlier, while upgrading to spring 5 we want to change some part of application to use reactive features available. Both MVC and WebFlux is working side by side in application…
Gajendra Kumar
  • 908
  • 2
  • 12
  • 28
0
votes
2 answers

Issue while upgrading to struts version 2.5.17

I am trying to upgrade struts version from 2.3.35 to 2.5.17 but I encountered an issue as below: java.lang.NullPointerException at com.opensymphony.xwork2.util.fs.StrutsJarURLConnection.getInputStream(StrutsJarURLConnection.java:170) at…
Aniket
  • 3
  • 1
  • 7
0
votes
1 answer

Spring 4 with tiles 3 Error NoClassDefFoundError: org.apache.tiles.request.ApplicationContext

I am using Spring framework version 4.0.6 and tiles 3.0.1 My dispatcher-servlet.xml:
Robertone
  • 7
  • 1
  • 4
0
votes
1 answer

Error 404 integrating Tiles with Springmvc

I'm working with Tiles for the first time and I have problems with the integration with Spring 4. I'm trying to deploy the app to Tomcat server 8. I get "HTTP 404" when I try to access a jsp. Here are my files: web.xml
Jane C.
  • 55
  • 3
  • 13
0
votes
1 answer

Struts2 submit form doesn't navigate to new view

I'm using Struts2 (version 2.5.14.1) with the Spring and Tiles plug-ins. This is my (relevant) struts.xml configuration:
x80486
  • 6,627
  • 5
  • 52
  • 111
0
votes
1 answer

Apache Tiles - Error when upgrading from Struts2.3 to 2.5

While upgrading our application from struts 2.3 to 2.5, we are getting the following error. package org.apache.tiles.request does not exist This is the code we have modified for the executed method. package…
raju
  • 1
  • 2
0
votes
1 answer

Can we add *.html files instead of *.jsp in Spring 4 with tiles 3?

I am trying to add *.html page in tiles definition, but it's displaying runtime exception, this page is static; but when i change extension from html to jsp, it works fine.
0
votes
0 answers

Apache Tiles 3 render Struts 2 action

Is it possible in Tiles 3 to render a result of action execution? Something like the following:
romanvintonyak
  • 351
  • 1
  • 3
  • 17
0
votes
1 answer

freemarker don't recognize my ftl file

I have a project use spring MVC, with Tiles3 use Freemarker as view engine, I have a page addItem.ftl
Add Item
Z.better
  • 348
  • 1
  • 5
  • 15
0
votes
1 answer

Tiles 3 how to reference another definition in put-attribute

I'd like to be able to define a base definition, where I can inherit a list of styles and scripts. then define a page definition that inherits base definition, and adds page specific styles and scripts. Is this possible -or am I not thinking about…
Tony Card
  • 2,084
  • 3
  • 20
  • 27
0
votes
1 answer

Spring 4 + metadata-complete="false" + tiles 3

I am facing very specific problem with Spring. If I keep metadata-complete="true" in my web.xml, my application works lie a charm. But if I make it false, spring is not able to find tiles definitions. My code base versions are as follows: Spring…
Nirav
  • 1
  • 4
0
votes
0 answers

Spring and Tiles3: Could not resolve view with name in servlet with name 'dispatcher'

I'm new to Tiles and Spring MVC. Here's a simple example but I have not figured it out what's wrong with it after 2 hours. Here's is my /WEB-INF/dispatcher-servlet.xml
Tungshev
  • 49
  • 6
0
votes
2 answers

Tiles Refresh only body content

I have apache Tiles layout page having Header, Menu, Body. In this layout Reload the whole Layout is refreshing. I want header,menu to be static, and only body part should get refresh. (1)write this tiles configuration into spring xml file. …