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

java.lang.NoSuchMethodError: org.apache.tiles.jsp.taglib.InsertAttributeTag.setJspContext

Why am I seeing this error ? I see it at runtime. It is not throwing a ClassNotFoundException otherwise I'd have thought it is a classpath issue. Instead it says NoSuchMethodError. Any help is appreciated. java.lang.NoSuchMethodError:…
ShaggyInjun
  • 2,880
  • 2
  • 31
  • 52
0
votes
2 answers

tiles2 definition not working with ControllerClassNameHandlerMapping

I'm using ControllerClassNameHandlerMapping to avoid explicitly mapping URLs to controllers, and so far it works fine. I have a link in index.jsp to welcome.html, which is properly mapped to welcomeController, which contains the following: …
AlexSu
  • 1
0
votes
1 answer

Tiles2 Struts Switch Locale

I am newbee to struts2 and tiles2, I am having an application where i m using struts2 as mvc framework and tiles2 as a view component. In my application I am using 2 languages English and Marathi the respective locales are en_US and mr_IN I have…
Hitesh
  • 1
  • 1
  • 3
0
votes
0 answers

Struts 2 apache tiles freemarker template loading issue

We have a struts 2 tiles application and we are using freemarker for views. We are migrating to struts 2.3.34 from 2.3.15. In the below tiles definition, the template file is not getting loaded by freemarker and it is not being parsed. Instead the…
0
votes
1 answer

How to achieve this layout using apache tiles 2?

Having problems creating such a layout. Controllers trigger dash content, and the layout should be created. Now I have this definitions, and I am blocked.
iamandrewluca
  • 3,411
  • 1
  • 31
  • 38
0
votes
1 answer

How to modify the paths in struts-dojo and/or struts-jquery (Struts 2.3.20.1)?

here my development settings before I start with my problem: Struts 2: 2.3.20.1 Tiles 2: 2.0.6 Struts2-DoJo-Plugin: 2.3.20.1 Struts2-JQuery-Plugin: 3.7.1 TomEE 7.0.55 Java 8: 1.8.0_25 IDE: IntelliJ 2016.2 Ultimate Now my problem: I want to use the…
Lyçann H.
  • 113
  • 1
  • 5
  • 15
0
votes
1 answer
0
votes
1 answer

Migrating from Tiles 2.1.4 to 2.2.2 - Property-based Configuration Removed

We have a project that is using Tiles 2.1.4 & Spring 3.2.8 and I am trying to upgrade it to Tiles 2.2.2 & Spring 4.3.1. The code used for configuring Tiles is like this: import org.apache.tiles.TilesException; import…
GokcenG
  • 2,771
  • 2
  • 25
  • 40
0
votes
0 answers

Tiles2 - Multiple Inheritance

I'm trying to set my tiles in a way that I have an inner template in a template. I can load the inner template but I can't load the innermost jsp files (accountContent). Below are my files snippet. The accountContent attribute jsps are just simple…
Jiro Manio
  • 137
  • 10
0
votes
1 answer

Next state is not getting called in spring web flow

I have Spring 3 application having Tiles2 as view resolver. Whenever I am clicking on "submit" button next jsp page should be displayed but it stays on same page. I have a file WebFlow.xml file inside /WEB-INF/flow directory and JSPs are also in…
Aasif Solkar
  • 81
  • 1
  • 12
0
votes
0 answers

Third Party Download Managers issue with Struts2 File download link

I am getting java.lang.IllegalStateException: getOutputStream() has already been called for this response when user clicks on a download link in my struts2 web application. This exception occurs only when the client has third-party download managers…
0
votes
1 answer

Spring MVC, Tiles2, ThymeLeaf and Natural Templating

How to effectively use ThymeLeaf natural templating while using Tiles2 as a template engine. I have a simple tiles definition:
Marek Raki
  • 3,056
  • 3
  • 27
  • 50
0
votes
1 answer

Apache Tiles2. Call external

I have the following Tiles2 template:
perkas
  • 48
  • 6
0
votes
1 answer

Spring MVC + apache 2 tiles return json object

I configured Spring MVC with apache Tiles.
Denis Markov
  • 309
  • 4
  • 12
0
votes
1 answer

get list of objects from tiles viewPreparer

I create implementation of ViewPreparer for getting categories list. And I need to get this list at header. This is my implementation public class CategoryMenuViewPreparer implements ViewPreparer { @Override public void execute(Request…
waldemar
  • 655
  • 2
  • 10
  • 24