We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
这并不完全指的是 ajax 功能,但它帮助我为常规流程设置了 apachetiles 2:
http://jee-bpel-soa.blogspot.com/2008/12/spring-web-flows-2-and-tiles.html
链接中有更多详细信息,但您需要的核心位是一个新的视图解析器:
This isn't exactly referring to the ajax features, but it helped me get apache tiles 2 set up for regular flows:
http://jee-bpel-soa.blogspot.com/2008/12/spring-web-flows-2-and-tiles.html
A lot more details are at the link, but the core bit you need is a new view resolver:
这就是我为了让它与 webflow 2 和tiles 2.0 一起工作所做的
This is what I did to get it working with webflow 2 and tiles 2.0
它在文档中得到了完美的解释。 所以,请不要再说不是。
http://static。 springsource.org/spring-webflow/docs/2.0.x/reference/htmlsingle/spring-webflow-reference.html
如何在 spring 中使用图块:10.5 视图分辨率(链接 + #spring-mvc-config-spring -view-分辨率)
如何在 spring 中使用 Ajax 和图块:11.5:处理 Ajax 请求(链接 + #spring-js-ajax)
从这些链接复制代码,您最终会得到如下内容:
Configuration for webflow to use Tiles:
Tiles 配置:
Tiles + Ajax 配置:
It's perfectly explained in the docs. So, please, stop saying it isn't.
http://static.springsource.org/spring-webflow/docs/2.0.x/reference/htmlsingle/spring-webflow-reference.html
How to use tiles in spring: 10.5 View resolution (link + #spring-mvc-config-spring-view-resolution)
How to use Ajax with tiles in spring: 11.5: Handling Ajax request (link + #spring-js-ajax)
Copy the code from those links and you will end up with something like this:
Configuration for webflow to use Tiles:
Configuration for Tiles:
Configuration for Tiles + Ajax: