You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tiles.apache.org by "Antonio Petrelli (JIRA)" <ji...@apache.org> on 2007/04/24 11:28:42 UTC

[jira] Updated: (TILES-153) Refactor technology-specific package structure

     [ https://issues.apache.org/struts/browse/TILES-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antonio Petrelli updated TILES-153:
-----------------------------------

    Description: 
The part of the package structure in "tiles-core" module that refers to technology-specific code needs to be refactored.
The structure will be the following:

org.apache.tiles
 +-- servlet (to mimic tiles-jsp structure)
     +-- context (context classes)
         +-- ServletTilesContextFactory, etc.
 +-- portlet (to mimic tiles-jsp structure)
     +-- context (context classes)
         +-- PortletTilesContextFactory, etc.
 +-- web
     +-- startup
         +-- TilesServlet, TilesListener, TilesFilter
     +-- util
         +-- TilesDecorationFilter, TilesDispatchServlet,
             AttributeContextMutator, ServletContextAdapter

The "TilesDecorationFilter" and "TilesDispatchServlet" must be moved from "tiles-api" to "tiles-core".
See mailing list thread:
http://www.mail-archive.com/dev@tiles.apache.org/msg00315.html

  was:
The part of the package structure in "tiles-core" module that refers to technology-specific code needs to be refactored.
The structure will be the following:

org.apache.tiles
 +-- servlet (to mimic tiles-jsp structure)
     +-- context (context classes)
         +-- ServletTilesContextFactory, etc.
 +-- portlet (to mimic tiles-jsp structure)
     +-- context (context classes)
         +-- PortletTilesContextFactory, etc.
 +-- web
     +-- startup (Tiles booting classes, help for better name)
         +-- TilesServlet, TilesListener, TilesFilter
     +-- util  (yuk! this deserves a better name!)
         +-- TilesDecorationFilter, TilesDispatchServlet,
             AttributeContextMutator

The "TilesDecorationFilter" and "TilesDispatchServlet" must be moved from "tiles-api" to "tiles-core".
See mailing list thread:
http://www.mail-archive.com/dev@tiles.apache.org/msg00315.html


Removed silly comments.
Added "ServletContextAdapter" to the list.

> Refactor technology-specific package structure
> ----------------------------------------------
>
>                 Key: TILES-153
>                 URL: https://issues.apache.org/struts/browse/TILES-153
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.3
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.4
>
>
> The part of the package structure in "tiles-core" module that refers to technology-specific code needs to be refactored.
> The structure will be the following:
> org.apache.tiles
>  +-- servlet (to mimic tiles-jsp structure)
>      +-- context (context classes)
>          +-- ServletTilesContextFactory, etc.
>  +-- portlet (to mimic tiles-jsp structure)
>      +-- context (context classes)
>          +-- PortletTilesContextFactory, etc.
>  +-- web
>      +-- startup
>          +-- TilesServlet, TilesListener, TilesFilter
>      +-- util
>          +-- TilesDecorationFilter, TilesDispatchServlet,
>              AttributeContextMutator, ServletContextAdapter
> The "TilesDecorationFilter" and "TilesDispatchServlet" must be moved from "tiles-api" to "tiles-core".
> See mailing list thread:
> http://www.mail-archive.com/dev@tiles.apache.org/msg00315.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.