Dave,

If you are looking at the code, and to be more sympathetic to the
current design, it might be worth creating an interface for
ThemeTemplateCode and have WeblogTemplateCode implement it.  Then
create a SharedThemeTemplateCode which also also implements
ThemeTemplateCode.  This way you keep WeblogTemplateCode out of
org.apache.roller.weblogger.business.themes. package.  Bit of extra
work mind!

Cheers Greg

On 20 November 2011 14:54, Dave <snoopd...@gmail.com> wrote:
> Thanks Greg,
>
> I just made a fix for this in both of those page cache classes.
>
> - Dave
>
>
>
> On Tue, Sep 20, 2011 at 3:26 PM, Greg Huber <gregh3...@gmail.com> wrote:
>> Shelan,
>>
>> Sorry, whilst I remember, may also need the type code in the
>> WeblogPageCache & SiteWideCache generateKey(WeblogPageRequest
>> pageRequest) method to get the correct page when loading from the
>> cache.
>>
>> ie
>> key.append("/type=").append(pageRequest.getType());
>>
>>
>> Cheers Greg.
>>
>
>
>
> --
> Dave M. Johnson
> Apache Roller PMC Chair
> http://rollerweblogger.org/roller
>

Reply via email to