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

org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException for

Well I have website template which coordinates with some css and js files. Now I have created Spring , Hibernate and Tiles example. It works fine. but now m integrating with my template. so that I created resources folder inside webapp folder. and…
Morez
  • 2,048
  • 5
  • 36
  • 49
0
votes
1 answer

In Tiles 2, is there a way to reference another definition or attribute without directly inheriting?

When defining a tiles definition or attribute, can you reference another definition or attribute without inheriting? I have all sorts of JSP fragments, CSS, and JavaScript that would be considered 'common'. They are certainly not needed for every…
Tony Card
  • 2,084
  • 3
  • 20
  • 27
0
votes
1 answer

Tiles 2.2.1 configuration

I have used Tiles 2.1, but in version 2.2 configuration has changed, but sadly their documentation seems to be very confusing*, at least for me. And their example project download link is not…
newbie
  • 24,286
  • 80
  • 201
  • 301
0
votes
0 answers

Spring MVC - Tiles - HTTP Status 503 - Servlet spring is currently unavailable

Did my homework and tried in various ways but still getting following error: (Current error) HTTP Status 404 - description The requested resource is not available. Jan 03, 2014 12:27:43 PM org.apache.catalina.core.StandardContext…
Sandeep
  • 397
  • 3
  • 8
  • 25
0
votes
3 answers

spring mvc 3 (3.2.5) + tiles 3 error 404 not resource found

when i load my app i get only 404 resource not found error.. no logs on tomcat at all.. here you can see my project configuration: this is my web.xml file:
user2018726
  • 638
  • 2
  • 12
  • 23
0
votes
1 answer

controller redirect is not working in spring mvc 3.2 with tiles 2

I am not getting the page displayed ,after tiles resolving the page which was redirected by a controller I have my controller public ModelAndView addUser(){ if(success){ return new ModelAndView("redirect:myredirectPage.html"); }else { …
pappu_kutty
  • 2,378
  • 8
  • 49
  • 93
0
votes
1 answer

How to use EL expression in tiles.xml file

I have written the below code in tiles.xml file
ranju
  • 13
  • 2
  • 5
0
votes
4 answers

Using Expression Language with Tiles + Spring MVC

If inside a controller I set model.addAttribute("page-title", "Home"); and I would like to have it on a tiles laytou.jsp like this: <tiles:getAsString name="page-title"/> what should I do? Write a preparer? to the preparer de…
Ruben Trancoso
  • 1,444
  • 5
  • 27
  • 55
0
votes
1 answer

Spring Security Intercepted URL Throws a 404 Error

I get a 404 error when I try to access a Spring Security protected URL after I have successfully logged in, but do not get the error when I do not protect the URL with Spring Security. I am using Spring-MVC, Spring Security and Hibernate. I have…
AllanM
  • 36
  • 3
0
votes
2 answers

Tiles 2 won't load when called from inside subfolders

I have these odd problem with my webapp. When I access home.jsp or example.jsp, Tiles is loaded normally, but when I want to access example2.jsp, inside as subfolder, the layout is not called at all. My directory structure is as follows: webapp …
CountD
  • 669
  • 2
  • 11
  • 34
0
votes
1 answer

how to replace titles attribute from jsp

I want put "title" attribute from JSP to template and replace default value. Template: <%@taglib prefix="tiles" uri="http://tiles.apache.org/tags-tiles"%> <tiles:getAsString…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/spring-mvc" class="post-tag grid--cell" title="show questions tagged 'spring-mvc'" rel="tag">spring-mvc</a> <a href="../../questions/tagged/tiles2" class="post-tag grid--cell" title="show questions tagged 'tiles2'" rel="tag">tiles2</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 11 '13 at 11:01">asked Jun 11 '13 at 11:01</time> <a href="../../users/2474191/ntdrt" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2474191.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ntdrt" /> </a> <div class="s-user-card--info"> <a href="../../users/2474191/ntdrt" class="s-user-card--link">ntdrt</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16901176"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16901176/apache-tiles-2-2-2-with-freemarker-views-and-prime-faces-2-not-working-with-el" class="question-hyperlink">Apache Tiles 2.2.2 with FreeMarker views and prime faces 2 not working with el-api 2.2 in WAS 7</a></h3> <div class="excerpt">We have primes faces which needs el-api 2.2 and also tiles 2.2.2 which seems to be using el-api 1.0 so tiles is not working. Below is the stack trace. It seems that tiles with el 2.2 is working in tomcat 7 but not in WAS 7. We are loading prime…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/primefaces" class="post-tag grid--cell" title="show questions tagged 'primefaces'" rel="tag">primefaces</a> <a href="../../questions/tagged/freemarker" class="post-tag grid--cell" title="show questions tagged 'freemarker'" rel="tag">freemarker</a> <a href="../../questions/tagged/tiles2" class="post-tag grid--cell" title="show questions tagged 'tiles2'" rel="tag">tiles2</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 03 '13 at 16:10">asked Jun 03 '13 at 16:10</time> <a href="../../users/2448627/jayaram" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2448627.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="jayaram" /> </a> <div class="s-user-card--info"> <a href="../../users/2448627/jayaram" class="s-user-card--link">jayaram</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="2 bronze badges">2</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16771883"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16771883/error-with-view-resolving-fetching-json-data-after-spring-version-upgrading" class="question-hyperlink">Error with view resolving/fetching json data after Spring version upgrading</a></h3> <div class="excerpt">I'm currently building webapp using Spring MVC, where view is rendered with Apache Tiles. I recently also added Spring Security. I was working with spring version 3.0.7.RELEASE. And everything worked fine. Because I needed better security I had to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/spring" class="post-tag grid--cell" title="show questions tagged 'spring'" rel="tag">spring</a> <a href="../../questions/tagged/jsp" class="post-tag grid--cell" title="show questions tagged 'jsp'" rel="tag">jsp</a> <a href="../../questions/tagged/jakarta-ee" class="post-tag grid--cell" title="show questions tagged 'jakarta-ee'" rel="tag">jakarta-ee</a> <a href="../../questions/tagged/spring-mvc" class="post-tag grid--cell" title="show questions tagged 'spring-mvc'" rel="tag">spring-mvc</a> <a href="../../questions/tagged/tiles2" class="post-tag grid--cell" title="show questions tagged 'tiles2'" rel="tag">tiles2</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 27 '13 at 11:10">asked May 27 '13 at 11:10</time> <a href="../../users/2184251/masster" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2184251.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="masster" /> </a> <div class="s-user-card--info"> <a href="../../users/2184251/masster" class="s-user-card--link">masster</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,039</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badge">6</li> <li class="s-award-bling s-award-bling__bronze" title="8 bronze badge">8</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16671703"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16671703/struts2-with-tiles2-and-thymeleaf" class="question-hyperlink">struts2 with tiles2 and thymeleaf</a></h3> <div class="excerpt">Does anybody know how to integrate struts2, tiles2 and thymeleaf? I can do the following integrations: struts2, tiles2, freemarker spring mvc, tiles2, thymeleaf But for a migration from struts1, tiles1, jsp would be good to have the migration path…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/struts2" class="post-tag grid--cell" title="show questions tagged 'struts2'" rel="tag">struts2</a> <a href="../../questions/tagged/tiles2" class="post-tag grid--cell" title="show questions tagged 'tiles2'" rel="tag">tiles2</a> <a href="../../questions/tagged/thymeleaf" class="post-tag grid--cell" title="show questions tagged 'thymeleaf'" rel="tag">thymeleaf</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 21 '13 at 13:48">asked May 21 '13 at 13:48</time> <a href="../../users/437879/haschibaschi" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/437879.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="haschibaschi" /> </a> <div class="s-user-card--info"> <a href="../../users/437879/haschibaschi" class="s-user-card--link">haschibaschi</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,734</li> <li class="s-award-bling s-award-bling__silver" title="23 silver badges">23</li> <li class="s-award-bling s-award-bling__bronze" title="31 bronze badges">31</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-16518970"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/16518970/org-apache-tiles-tilesexception-attribute-header-not-found-in-struts2" class="question-hyperlink">org.apache.tiles.TilesException: Attribute 'header' not found in struts2</a></h3> <div class="excerpt">I used tiles in my struts application. i was getting error like Servlet.service() for servlet [jsp] in context with path [/Sample_Struts2] threw exception [javax.servlet.ServletException: javax.servlet.jsp.JspException: Error executing tag:…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/struts2" class="post-tag grid--cell" title="show questions tagged 'struts2'" rel="tag">struts2</a> <a href="../../questions/tagged/tiles2" class="post-tag grid--cell" title="show questions tagged 'tiles2'" rel="tag">tiles2</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked May 13 '13 at 09:39">asked May 13 '13 at 09:39</time> <a href="../../users/1468679/harika" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1468679.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="harika" /> </a> <div class="s-user-card--info"> <a href="../../users/1468679/harika" class="s-user-card--link">harika</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">33</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badge">2</li> <li class="s-award-bling s-award-bling__bronze" title="7 bronze badge">7</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/tiles2_page=11" rel="prev" title="Go to page 11">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/tiles2_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/tiles2_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/tiles2_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/tiles2_page=13" rel="" title="Go to page 13">13</a> <a class="s-pagination--item" href="../../questions/tagged/tiles2_page=14" rel="" title="Go to page 14">14</a> <a class="s-pagination--item" href="../../questions/tagged/tiles2_page=13" rel="next" title="Go to page 13"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>