Hi,
When I pass a querystring request param to the Weblog template page
and then use $model.getRequestParameter("parameter") on that page to
get the parameter and do something, I appear to be getting cached
results.
For example, I'm doing something like this:
Weblog template page contains:
----------
#if ($model.getRequestParameter("show") == "moretext")
<div>some additional content</div>
#end
---------
Then access the page with the both of these URL's:
http://localhost/blog/mytestblog/entry/nice_day_today
http://localhost/blog/mytestblog/entry/nice_day_today?show=moretext
There appears to be only one page in the cache for this URL and the
request param's aren't taken into account when the page is accessed.
Sometimes I will get the page with the additional content, other times
without... just depends on which Roller has in the cache.
So my question is... is this a known issue, or am doing this the wrong way?
Thanks in advance.
Cheers,
Richard