Re: Reading Cookies

Dave <[email protected]>
Newsgroups gmane.comp.java.roller.user
Message-ID <CAF1aazDbRbfuOEpKfZ7rA9ctzAR706cPqz8iVUCXw2Fvdz+NxQ@mail.gmail.com>
On Fri, Aug 10, 2012 at 11:10 AM, Sarwar Bhuiyan
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.