New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Struts 2.3.x: Tiles plugin upgrade #60
Struts 2.3.x: Tiles plugin upgrade #60
Conversation
(cherry picked from commit 85b2198)
(cherry picked from commit 70716e9)
(cherry picked from commit 24a5bce)
(cherry picked from commit 26f153d)
(cherry picked from commit 6edc0ff)
(cherry picked from commit 27ad6cb)
(cherry picked from commit 388861f)
(cherry picked from commit 6622fab) Conflicts: apps/showcase/pom.xml plugins/bean-validation/pom.xml
For struts 2.3 I still got an old app with tiles2 which does some custom stuff and which has issues with these changes.
Currently I have created my own Two minor things I noticed in showcase app:
|
@cnenning thanks for a really good feedback. I implemented a dedicated ApplicationContext to support wildcard matching without depending on Spring - by default all After cleaning up dependencies I didn't notice the issue with EL, could you check that on your side? Thanks! |
The new version looks awesome! Just a small addon to constructor of
Regarding the other issues:
|
I still cannot reproduce the issue with missing support for EL, here is my example I have been using to test this PR |
I created a PR for that demo app which demonstrates the issue. See https://github.com/lukaszlenart/struts2-tiles-demo/pull/2 |
Hmm, the freemarker template is not executed but it's code is shown. This is another issue. No idea why that happens. |
I would say we merge this and may fix the "EL not working in freemarker-insert with freemarker-template" issue in master. |
Let's do it, at least I will have less problem with debugging :D |
Fixes WW-4568
This PR upgrades the Tiles Plugin and adjusts its API to be compatible with Tiles 2.2.2 - this allows introduce support for OGNL, EL, Wildcards and so on.