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
1
vote
1 answer

No tag library could be found with this URI

I have project structure as follows EAR --APP --lib Spring jars tiles jar here --war 1- tiles dependent webpages my tag include in jsp layout <%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%> when try to load a page…
pappu_kutty
  • 2,378
  • 8
  • 49
  • 93
1
vote
0 answers

How to make a single UrlBasedViewResolver refer to a "tiles.xml" and some another xml for a view?

It might sound like a weird question. Here is my situation: I'm writing a web application using Spring MVC 3.x I'm using UrlBasedViewResolver and Tiles combo to resolve the view. My webContext.xml
tarares
  • 392
  • 4
  • 10
  • 27
1
vote
1 answer

Struts2 MessageResources in Apache Tiles

I'm trying unsuccessfully to use a Struts2 message resource in a tiles 2.1.4 expression. For example the following resource is available in the JSP...
... but when I attempt to use the same resource in the…
rgb130
  • 90
  • 8
1
vote
1 answer

How to point tiles.xml from web.xml

I'm new to struts2,In fact new to web application development just started developing a sample application. Currently I'm using struts tiles concept in my project. Here is how I am referring to tiles.xml in my application.
srk
  • 4,857
  • 12
  • 65
  • 109
1
vote
0 answers

Spring Tiles: Add context information (menu, title)

I am wondering what is the best way to add context information (like the current menu or the title of the page) to spring 3 + tiles 2 app. I want the system to be as easily extenable as possible, so for example my tiles config uses a wildcards,…
Flo
  • 1,469
  • 1
  • 18
  • 27
1
vote
1 answer

Struts 2 Tiles Spring Security 3 Cannot load css, image, scripts

I am working on a Struts 2 + Tiles + Spring Security 3 application and I am not able to load any css, image and scripts. They resources are all deloyed into to 'publish' folder. The application works fine, excepts it does not load any of…
Mukus
  • 4,870
  • 2
  • 43
  • 56
1
vote
1 answer

Spring 3.1 ReloadableResourceBundleMessageSource and Apache Tiles 2.2.2

What seemed to be a simple task has turned out to be a few hours of suffering. I am building a Spring 3.1 MVC application on the JavaEE 6 and Servlet 3.0.1 api without a web.xml file. I have a WebMvcConfiguration class like this…
Vertongen
  • 185
  • 3
  • 14
1
vote
1 answer

Nested templates with tiles

I want to have some nested templates with tiles, but without any luck for the moment. My main template : [...]
[...] My nested template: [...]
tibo
  • 5,326
  • 4
  • 37
  • 53
1
vote
1 answer

Migrating from Sitemesh to Apache Tiles

I'm developing my own project using spring-mvc and spring-webflow. After reading some articles about spring webflow and ajax, I understood the better option is the use of Apache Tiles for rendering the view. In Sitemesh i used a tag call head ().…
Müsli
  • 1,744
  • 7
  • 27
  • 50
0
votes
1 answer

Dynamic selection box contents not rendering in header when using Tiles2 with SpringMVC

Hi I am using SpringMVC with tiles and I am having a problem rendering the header part of my page that contains a dynamically built selection box. I have a tiles config file that looks like:
0
votes
1 answer

dijit issue: none of the components getting rendered

I am using SPring JS 2.3.0.RELEASE (which uses dojo 1.6): I tried adding widgets to my page but it never renders I am using pages through tiles so here's the layout template shopper.jspx
Anadi Misra
  • 1,925
  • 4
  • 39
  • 68
0
votes
2 answers

Not able to deploy spring tiles application in Websphere 7

I am trying to deploy Spring - Tiles - Hibernate based application in WebSphere 7 application server. After deployment server is also starting successfully. While running the application it is throwing below error…
Maulik Kayastha
  • 177
  • 2
  • 10
0
votes
2 answers

Spring MVC 3 and tiles : allow the controller to change the displayed url

Let's say I have a simple search page like this : Name :
0
votes
0 answers

Tiles error page

We have the following directory structure: Webapps->WEB-INF-JSP Webapps->WEB-INF-Tiles.xml Webapps-error.jsp I have an issue with using error.jsp in my tiles xml file. I want the default layout to be applied to error.jsp. How do i access…
user841293
  • 67
  • 1
  • 1
  • 8
0
votes
1 answer

Apache Tiles: abstract definition extending another abstract one

I'm using Tiles 2.2 and I'd like to reuse a single JSP to display different messages. Messages have to be defined inside Tiles configuration file. The following example is my approach: base is the base abstract definition all other definitions…
user683887
  • 1,260
  • 1
  • 10
  • 20