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/02/12 10:52:15 UTC

[jira] Resolved: (TILES-111) TilesRequestContext is null in PreparerFactory call

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

Antonio Petrelli resolved TILES-111.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.1

Fixed the call for PreparerFactory.getPreparer, with the inclusion of TilesRequestContext.
Thanks for the patch Jacky, but a note: I think this is not your real name, but anyway I added it in the SVN commit log.
I think it's better for you to use your real name, so your help will be better rewarded.

Thanks again.

> TilesRequestContext is null in PreparerFactory call
> ---------------------------------------------------
>
>                 Key: TILES-111
>                 URL: https://issues.apache.org/struts/browse/TILES-111
>             Project: Tiles
>          Issue Type: Bug
>          Components: tiles-core
>    Affects Versions: 2.0.0
>            Reporter: Jacky Chan
>         Assigned To: Antonio Petrelli
>             Fix For: 2.0.1
>
>
> In BasicTilesContainer.java file, following code is used, and I think it should be fixed with correct code: 
> ViewPreparer preparer = preparerFactory.getPreparer(preparerName, null);
> =>
>  ViewPreparer preparer = preparerFactory.getPreparer(preparerName, context);
> Thanks.

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