Hi all,
i was strugling today trying to migrate from Freemarker to Tiles2 + Freemarker.
My freemarker templates use macros that come from spring.ftl.
If i provide a fremarker servlet in web.xml, my model is visible to freemarker, but specific spring variables (naturally) are not populated into the model as springs FreemarkerView is r...
I've recently started upgrading some applications to use Spring Webflow 2, and I want to make use of the new Ajax functionality that comes with Webflow 2. Can somebody please direct me to a tutorial for integrating Tiles 2 with Spring Webflow (since that's apparently what they recommend). I've found the documentation that comes with We...
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 explorer 7 flashes/blinks the page even if only some of the content changes (firefox does this m...
So I found this: http://tiles.apache.org/framework/tutorial/advanced/nesting-extending.html
Here is the example:
<definition name="myapp.homepage" template="/layouts/classic.jsp">
<put-attribute name="title" value="Tiles tutorial homepage" />
<put-attribute name="header" value="/tiles/banner.jsp" />
<put-attribute name="menu" val...
I have a usability problem in my Spring webapp which uses Tiles as the view technology.
At the moment all of the pages display the same HEAD_TITLE and the PAGE_TITLE is page specific:
<html>
<head><title>HEAD_TITLE</title></head>
<body>
<h1>PAGE_TITLE</h1>
</body>
</html>
This is a major usability problem as the browsers history...
Hi Gurus,
I am using tiles 2.0.6 as my template framework together with struts 2.1.6. I am writing a simple cms page and want to let the user to define the title of each html page.
I have a title definition like this
<definition name="base" template="/WEB-INF/jsp/templates/base.jsp">
<put-attribute name="title" value=" "/>...
Hi, everyone! :)
I am trying to pass an OGNL expression from Tiles framework (2.0.4) to the value attribute of <s:iterator> tag like this:
tiles.xml
<definition name="test" template="/test.jsp">
<put-attribute name="collectionName" value="apples"/>
</definition>
test.jsp
<tiles:importAttribute toName="collectionName" name="coll...
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 working.
http://tiles.apache.org/framework/tutorial/configuration.html
...
Hello,
there doesn't seem to be a simple way to use Tiles 2.1 or 2.2 with Struts2 with the existing struts2-tiles plugin. I need to use the tiles wildcards functionality in my project where the tiles.xml became unmaintainable.
Is there any way at all to set up tiles 2.1 or 2.2 with struts2? How?
Thank you,
Bozo
...
Hi,
I am using Apache Tiles 2.1.4 with Spring MVC 3. I have managed to configure these together and everything works fine. My next step is to add CSS and this is where I am having an issue - this is most probably a simple one but I can't get my template jsp to pick up the css.
Snippet from my tiles-defs.xml
<definition name="baseLayou...
Does Apache Tiles have a devMove like Struts that would reload the tiles.xml file with each request? If so, how can this be enabled?
...
I'm developing BBS in struts2 and tiles(2) framework.
I want to push a value in ActionSupport class and pop the value in layout.jsp of tiles. but i just keep failing to access to the value.
I will explain my works step by step.
1) Users click a link to view an article at list page. And BoardView class will be called as defined in stru...
I'm having a heck of a time resolving URLs with Spring 3.0 MVC. I'm just building a HelloWorld to try out how to build a RESTful webapp in Spring, nothing theoretically complicated.
All of the examples I've been able to find are based on configurations that pay attention to file extensions ("*.htm" or "*.do"), include an artificial dir...
Hi everyone
I want to implement internationalization in tiles.
I have made 3 definition files-layout-defs_en.xml,layout-defs_fr.xml and layout-defs.xml. By default it is going with the layout-defs_en.xml definition file.
I want to know how will it switch the tiles definition files.
I got to know a session attribute Locale, by which it ...
Is posible to integrate sitemesh and tiles 2.1 with spring mvc ?
I want to composite the layout with tiles and then decorate with sitemesh.
I was using tiles like that.
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer">
<property name="definitions">
<list>
...
I want to use Spring-Tiles intergration. Here you can see how my app looks like.
So my question is: why Spring-MVC dispatcher Servlet can not resolve my Target page ???
...
Hi people, I've got the following exception while trying to open the URL http://localhost:8080/app/clientes/agregar:
javax.servlet.ServletException: Could not resolve view with name 'clientes/agregar' in servlet with name 'Spring MVC Dispatcher Servlet'
My mvc-config.xml is the following:
<mvc:annotation-driven />
<bean class="org.s...
I am using Apache Tiles 2.1 as my templating framework (along with Spring MVC).
I want to know how best to be able to set HTML attribute values from within my Tiles definitions file. For example I have a text box and want to be able to set the maxlength attribute from within my definition. I expected the following to work -
<input id="...
Hi!
I'm using struts2+tiles2, and I would like to do the following. I have a baseLayout, where I define my menu, body, etc like this:
<tiles:insertAttribute name="menu" />
<tiles:insertAttribute name="body" />
And then in my tiles.xml I set them like this:
<definition name="/index" extends="baseLayout">
<put-attribute name="...
Using Spring Security 3 along with Struts 2 and Tiles 2, I have a login page that appears when it is supposed to and performs the login as expected -- however when I enter bad user credentials I am returned to the login page with no information about what went wrong. I've checked all my configuration parameters and I can't see where the ...