tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio <antonio.petre...@gmail.com>
Subject Re: neccessary stepts to use Struts 2+FreeMarker+Tiles2.1
Date Tue, 28 Oct 2008 16:27:31 GMT
2008/10/28 Stephan Schröder <simon.void@gmx.de>:
>> put the URI of the taglib: <#assign
>> tiles=JspTaglibs["http://tiles.apache.org/tags-tiles"]>
>
> done, this will only work as long as i got an internet connection, won't it?

No, it works as long as you put tiles-jsp-xxx.jar under WEB-INF/lib,
or if you define it in web.xml.

> now i get:
> "WARNING: Unable to find the definition '/public/files_show.ftl'
> or
> "org.apache.tiles.definition.NoSuchDefinitionException:
> /public/files_show.ftl
>
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:612)"
>
> /public/files_show.ftl is present under /WebContent.

Mmm... This problem is not due to the presence or not of that file,
but it seems that Tiles cannot find the *definition* called
"/public/files_show.ftl". This is strange since you put the "*"
wildcard.
Probably it is a Tiles bug. Can you open a JIRA issue and, if
possible, attach a test case (i.e. a WAR file with sources).
https://issues.apache.org/struts/browse/TILES

Thanks
Antonio

Mime
View raw message