Skip to content

SPR-11587: Support multiple TilesContainer per ServletContext #1355

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

Closed
wants to merge 1 commit into from

Conversation

tkrah
Copy link

@tkrah tkrah commented Mar 13, 2017

Why i did this - because Spring fails to properly support multiple TilesContainer per ServletContext because its using a "null" key mapping, multiple container in different FrameworkServlets will override each others factory. See ticket for details.

Question to be answered:

  1. Should i include visibility/extension changes according to the ticket in this one or do another changeset - still tbd?
  2. Are the test enhancements / naming made sufficient?

Discussion in general:

Still need to polish it to the coding guidelines - but want to get early feedback on the general refactoring
stuf, if it fits your expectations or how todo it better.
Package visibility access on many properties is not my favourite - should i refactor those in getters or pass the needed references to each instance via construction parameters? Any other ideas?

ICLA submitted.

Issue: SPR-11587

- use explicit containerKey derived from the contextId to register
  TilesContainer to be able to use multiple definition unique
  to each WebApplicationContext (there maybe more than one in case
  of multiple DispatcherContext servlet registrations)

Issue: SPR-11587
@rstoyanchev
Copy link
Contributor

Closing since Tiles support has been dropped for 6.0 with #27423.

@rstoyanchev rstoyanchev added status: declined A suggestion or change that we don't feel we should currently apply and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants