roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave <snoopd...@gmail.com>
Subject Re: Reading Cookies
Date Fri, 10 Aug 2012 16:37:18 GMT
On Fri, Aug 10, 2012 at 11:10 AM, Sarwar Bhuiyan
<sarwar.bhuiyan@gmail.com> wrote:
> Something like this
> http://www.jajakarta.org/velocity/tools/velocity-tools-1.1/docs/view/CookieTool.html

I don't think that will work since we setup Velocity internally within
our own Servlets.

I think the only way to do this without code changes to Roller is to
add your own Page Model plugin. In that plugin, you would get the
cookies and return them via a getter. There is an example of a page
model plugin here:

    http://svn.apache.org/repos/asf/roller/trunk/weblogger-docs/examples/plugins/pluginmodel/

- Dave

Mime
View raw message