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

Spring 4 Security Tiles 3 Custom Success Handler

I'm having a rough time figuring out how to redirect to a page defined in tiles configuration. Using Spring Security 4 with annotations and Tiles 3. The CustomSuccessHandler below works but it doesn't resolve the targetUrl to the page defined in…
0
votes
1 answer

Spring Boot 1.3.3 Application with Tiles 3 on JBoss 6.4 - Error JBWEB000065 - 404 Not Found

I am strugging to deploy a Spring Boot War Application (with Tiles views) on JBoss EAP 6.4. This application runs smoothly on Tomcat 8 but when I deploy it on JBoss it doesn't answer. The startup logs are OK but when I call a controller from the…
codependent
  • 23,193
  • 31
  • 166
  • 308
0
votes
0 answers

Hibernate session factory not Autowired (Spring 4.2.4 and Tiles 3.0.5)

I had a working Spring (4.2.4) & Hibernate/MySql project within which I have implemented Tiles (3.0.5). Now, when I run my project and follow the link to my "herp" view (which formally displayed a list of records returned by a database query)…
DesA
  • 1
  • 4
0
votes
1 answer

Spring + Tiles 3 JSP are not rendered

My Spring Boot App is working as a charm when lauched throug @SpringApplication in Eclipse. But deployed as a WAR into tomcat7, my JSP are not rendered. Instead, the path to the JSP is displayed (example : views/monitor_task.jsp) There's no errors…
Barium Scoorge
  • 1,938
  • 3
  • 27
  • 48
0
votes
0 answers

org.apache.tiles.access.TilesAccess.getContainer(Lorg/apache/tiles/request/ApplicationContext;)Lorg/apache/tiles/TilesContainer;]

I am using spring 4 and tiles 3 integration . Configuration in spring.xml file as below :
0
votes
2 answers

Redirect to LoginPage using tiles in Spring MVC and Spring Security

I have a problem in the handler of my application, i'm using Spring Security, Tiles, but i can't do the redirect to the login from template that use tiles. I think my problem is here:
JCampos
  • 38
  • 3
  • 12
0
votes
3 answers

How to integrate properly Tiles 3 with Struts2 ?

I'm trying to integrate Tiles 3 with Struts 2. I guess I've added all the necessary jar files in the lib but I get: java.lang.ClassNotFoundException: org.apache.struts2.tiles.StrutsTilesListener web.xml
0
votes
1 answer

Tiles 3.0.5 is not working with spring 4.1.7

I configured my Spring based application (4.1.7) to use Tiles 3.0.5 but it is not working. It does not show header, footer in baseLayout. It just shows index.jsp page pom.xml
0
votes
1 answer

How to get a list of Definition objects in apache tiles 3

I'm working with a legacy application which currently uses apache tiles 2. I'm in the process of upgrading it to 3.0, but encountered a problem with some of our custom code. The code in question attempts to get a list of Definition objects and to…
Radi Radichev
  • 562
  • 6
  • 13
0
votes
1 answer
0
votes
3 answers

How to initiate a form that locates on all pages of Spring-MVC?

I need to have a search box on all pages of my website. I know, to have a form I need to initiate it like following method;however, it is useful if user gets to "/search" address, how can I initiate a form that is in all pages like searchbox of…
Jack
  • 6,430
  • 27
  • 80
  • 151
0
votes
1 answer

java.lang.IllegalStateException: Errors/BindingResult argument declared without preceding model attribute

With my current setting / is the home page of the website as following localhost:2001/MyProject/ I have a proper controller for following address, but when I type following, it does not trigger respective controller. …
Jack
  • 6,430
  • 27
  • 80
  • 151
0
votes
1 answer

Images/CSS/Styles in Tiles and Spring MVC in Included pages not working

Problem I am developing an application using Spring 4.1.1 and Tiles 3.0.5. I could able to create Layout. When I add the Image tag directly in the layout.jsp, I could able to see the Images/CSS etc, but when I add same Image tag in the different…
Kumar
  • 1,106
  • 4
  • 15
  • 33
0
votes
1 answer

How to run spring-boot embedded tomcat with tiles in eclipse?

I have got a spring-boot application packaged as an executable warfile, supporting embedded tomcat with spring mvc, jsp and tiles. When starting the built webapplication in a shell with java -jar app.war, I get the service running successfully.…
guido
  • 18,864
  • 6
  • 70
  • 95
0
votes
1 answer

Spring4 $ Tiles3 integration: Could not resolve view with name 'home' in servlet with name 'dispatcher'

I am a newbie to Spring, but until know I havent meet any serious problem. I would like to use some templeate mechanism with spring, so I've pick up Apache Tiles. I thought that it will be the easiest. But I struggle with it for almost 2 days now. I…
masterdany88
  • 5,041
  • 11
  • 58
  • 132