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

Apache Tiles - is it useful when not using Table Layout?

according to 13 Reasons Why CSS Is Superior to Tables in Website Design it's much better use CSS layout than table layout , now , All Tiles examples uses Table-Layout to insert the tiles …
Zakos
  • 1,492
  • 2
  • 22
  • 41
1
vote
2 answers

Spring Webflow | Different validate method per transition

I currently have a Spring Webflow application that uses Webflow + Ajax. I have a view-state called "A" that has several transitions.
Agustin Lopez
  • 1,355
  • 4
  • 18
  • 34
1
vote
1 answer

Tiles Definition Explanation. What do .* and {1} do?

I found this in an existing Tiles configuration. Tiles is being used with SpringMVC. Can someone explain what this does? Basically it intercepts requests for all views of the form page.* and displays a static jsp page. What I can't figure out is…
Ali
  • 12,354
  • 9
  • 54
  • 83
1
vote
1 answer

Struts2 tiles How to set attribute values in dynamically…

In tiles.xml set attribute values in static
RSK
  • 211
  • 1
  • 4
  • 17
1
vote
1 answer

Apache Tiles Path Root

I am using Tiles 2 and I want to have an attribute that sets the root path for resources. I have this is my XML:
Nik
  • 7,113
  • 13
  • 51
  • 80
1
vote
1 answer

Tiles 2 + Spring: Attribute not found

I'm working on integrating Tiles 2 with Spring, but have a problem. I have a simple tiles.jsp page. Rendering tiles view produce error: org.apache.tiles.template.NoSuchAttributeException: Attribute 'title' not found.My configuration and files below.…
marioosh
  • 27,328
  • 49
  • 143
  • 192
1
vote
3 answers

Multiple result types in Struts2?

I have a Struts2 application where I using Tiles. How can I get multiple result types in action-mappings? because I need to set de output as JSON data, and Tiles simultaneous. I have tried:
Denees
  • 9,100
  • 13
  • 47
  • 76
1
vote
1 answer

apache + tiles2 layout problem

I have the following tiles configuration file
sameera207
  • 16,547
  • 19
  • 87
  • 152
1
vote
1 answer

struts2+tiles2 java.lang.ClassNotFoundException: org.apache.struts.taglib.bean.CookieTei

i am receiving error: org.apache.tiles.impl.CannotRenderException: ServletException including path '/layout/MainLayout.jsp'. org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:692) …
Elbek
  • 3,434
  • 6
  • 37
  • 49
1
vote
4 answers

Setting page title dynamically with tiles2 and spring mvc

I've been asking myself this question for quite some time and I haven't found a nice solution for this on the web. So I am using Tiles2 and Spring MVC and I'd like to set the page title dynamically within the body tile. Is there a way?
suicide
  • 760
  • 4
  • 13
  • 20
1
vote
1 answer

How to automate body import with Apache Tiles and Spring MVC

I have the following tiles-def.xml:
nbarraille
  • 9,926
  • 14
  • 65
  • 92
1
vote
2 answers

struts 2 tiles NoSuchDefinitionException

I am getting this exception when using struts 2 with tiles org.apache.tiles.definition.NoSuchDefinitionException: /index.jsp //tiles.xml
Sumit Jain
  • 1,484
  • 2
  • 25
  • 44
1
vote
2 answers

Rendering complete page and not "progressively" (using struts 2 / tiles)

Is there a way to get struts 2 (using tiles) to build the whole page before sending it to the browser? I don't want the page to be build "progressively" in the browser one part at a time. The main problem I'm trying to solve is that internet…
Frontline
  • 6,445
  • 2
  • 19
  • 10
1
vote
0 answers

Migrating from Struts 1.3/Tiles 1 to Struts 1 Tiles 2

I was able to built a sample program which I converted from Struts 1/Tiles 1 to Struts 1/Tiles 2. So I started to implement the same to an old govt project where I need to upgrade spring and hibernate to 4.x. Due to complexities, The team decided…
vkokkodan
  • 11
  • 3
1
vote
1 answer

JspTaglib ["http://tiles.apache.org/tags-tiles"] is undefined: It cannot be assigned to tiles

I'm doing an update conversion to a very old Java project and converting it under Spring Boot. But, I'm having difficulties getting the front pages to be render as they were built with Struts 2, .ftl using Apache Tiles. For some reason I get this…
Oliver
  • 11
  • 3