Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-10195

ClassCastException while using completeAutoload in Tiles 3

    Details

      Description

      Using tiles 3, in the TilesConfigurer class, afterPropertiesSet() method, if completeAutoload is set to true, the tiles container is assumed to be an instance of BasicTilesContainer. However, the createDecoratedContainer(TilesContainer, ApplicationContext) implementation in org.apache.tiles.extras.complete.CompleteAutoloadTilesContainerFactory (which is called by the createContainer(ApplicationContext) method in org.apache.tiles.factory.BasicTilesContainerFactory wraps the BasicTilesContainer with CachingTilesContainer, so when this is cast in TilesConfigurer, a ClassCastException is thrown

        Attachments

          Activity

            People

            • Assignee:
              rstoya05-aop Rossen Stoyanchev
              Reporter:
              alan_125 Alaa Nassef
              Last updater:
              Tomasz Trębski
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                4 years, 7 weeks, 5 days ago