7
的Apache 2.1.3瓷砖瓷砖阿帕奇通配符有一个通配符功能,其中一个瓦片定义包括一个星号:与Spring Webflow的
<definition name="flow/*" extends=".mainTemplate">
<put-attribute name="header" value="/WEB-INF/jsp/header.jsp" />
<put-attribute name="body" value="/WEB-INF/jsp/flow/{1}.jsp" />
</definition>
它解释here,但基本上是在“流用于任何JSP此布局“ 目录。
问题是春季Webflow的生产与瓷砖无限递归:
org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'createAccount' of flow 'jsp/flow'
Caused by: java.lang.IllegalStateException: Exception occurred rendering view null
Caused by: java.lang.NullPointerException
我结束了插入,而不是一个通配符定义许多单独的瓷砖定义(此处插入frowny面)。
Tiles通配符如何与Spring WebFlow一起使用?
[集成Spring Webflow 2和Apache Tiles]可能的副本(http://stackoverflow.com/questions/334431/integrating-spring-webflow-2-and-apache-tiles) –
这不是一样的问题你参考[链接](http://stackoverflow.com/questions/334431/integrating-spring-webflow-2-and-apache-tiles)我有Webflow和瓷砖“工作”,我问一个特定的功能,通配符。另一个问题甚至没有解决这个问题。如果不是重复的,请不要标记为重复的内容,因为这样人们就不再看它了。 – user1071914
遗憾的是,我无法回答为什么它会失败,但它肯定在我们的Web Flow 2.3.0应用程序中使用Tiles 2.2.2。 <定义名称=“重复/ *”扩展=“duplicateBase”> –
dbreaux