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

Antonio Petrelli updated TILES-114:
-----------------------------------

    Description: 
Currently some code has a dependency on JSP, i.e. one of the two methods 
"createRequestContext" uses a PageContext as a parameter.
The base classes/interfaces that need to be refactored are:
TilesContextFactory
TilesContainer
ComponentContext

The solution seems to be the refactoring of those classes using varargs for 
request objects, to address cases such as:
* request/response for requests;
* pageContext for JSP pages.

  was:
Currently some code has a dependency on JSP, i.e. one of the two methods 
"createRequestContext" uses a PageContext as a parameter.
I suppose that the implementation should reside in a JSP utility class (such as 
JSPUtil).
The base classes/interfaces that need to be refactored are:
TilesContextFactory
TilesContainer
ComponentContext



Added possible solution to the description. Thanks David :-)

> Remove JSP dependencies from the core
> -------------------------------------
>
>                 Key: TILES-114
>                 URL: https://issues.apache.org/struts/browse/TILES-114
>             Project: Tiles
>          Issue Type: Improvement
>          Components: tiles-api, tiles-core
>    Affects Versions: 2.0.0
>            Reporter: Antonio Petrelli
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.x
>
>
> Currently some code has a dependency on JSP, i.e. one of the two methods 
> "createRequestContext" uses a PageContext as a parameter.
> The base classes/interfaces that need to be refactored are:
> TilesContextFactory
> TilesContainer
> ComponentContext
> The solution seems to be the refactoring of those classes using varargs for 
> request objects, to address cases such as:
> * request/response for requests;
> * pageContext for JSP pages.

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

Reply via email to