You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Julien Loonis <jl...@gmail.com> on 2009/04/10 15:45:09 UTC
question about getRequestParameter in standard page
Hi,
I use rollerblog to make my blog about travel.
I have a problem about the getRequestParameter methode. I try to get value
of parameter in standard page.
I've seen this post on http://markmail.org :
On 14/06/07, Dave < <sn...@gmail.com> wrote:
On 6/14/07, Richard Jones <fu...@gmail.com> wrote:
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?
That's a known issue. We only support custom request *parameters* on custom
pages, so you cannot use them on standard pages like the main, entry or
search pages of your blog.
I would like know If this problem is resolved in the roller 4.0 ? Do you
have any solution ?
Sorry for my bad english.
Thx for your response.
Julien Loonis
Re: question about getRequestParameter in standard page
Posted by Julien Loonis <jl...@gmail.com>.
Sorry, but can you explain with more precision please.
Why I cant read parameter in the standard pages ?
Thx for your quick response.
Julien Loonis
2009/4/10 Sarwar Bhuiyan <sa...@gmail.com>
> You could use write a Plugin model class which has a method to retrieve the
> request parameter from the request. A starting point would be
> AuthenticatedUserModel in the sample plugins.
>
> Sarwar
>
> On Fri, Apr 10, 2009 at 2:45 PM, Julien Loonis <jl...@gmail.com> wrote:
>
> > Hi,
> >
> > I use rollerblog to make my blog about travel.
> >
> > I have a problem about the getRequestParameter methode. I try to get
> value
> > of parameter in standard page.
> >
> > I've seen this post on http://markmail.org :
> >
> > On 14/06/07, Dave < <sn...@gmail.com> wrote:
> >
> > On 6/14/07, Richard Jones <fu...@gmail.com> wrote:
> >
> > 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?
> >
> > That's a known issue. We only support custom request *parameters* on
> custom
> > pages, so you cannot use them on standard pages like the main, entry or
> > search pages of your blog.
> >
> >
> > I would like know If this problem is resolved in the roller 4.0 ? Do you
> > have any solution ?
> >
> > Sorry for my bad english.
> >
> > Thx for your response.
> >
> >
> > Julien Loonis
> >
>
Re: question about getRequestParameter in standard page
Posted by Sarwar Bhuiyan <sa...@gmail.com>.
You could use write a Plugin model class which has a method to retrieve the
request parameter from the request. A starting point would be
AuthenticatedUserModel in the sample plugins.
Sarwar
On Fri, Apr 10, 2009 at 2:45 PM, Julien Loonis <jl...@gmail.com> wrote:
> Hi,
>
> I use rollerblog to make my blog about travel.
>
> I have a problem about the getRequestParameter methode. I try to get value
> of parameter in standard page.
>
> I've seen this post on http://markmail.org :
>
> On 14/06/07, Dave < <sn...@gmail.com> wrote:
>
> On 6/14/07, Richard Jones <fu...@gmail.com> wrote:
>
> 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?
>
> That's a known issue. We only support custom request *parameters* on custom
> pages, so you cannot use them on standard pages like the main, entry or
> search pages of your blog.
>
>
> I would like know If this problem is resolved in the roller 4.0 ? Do you
> have any solution ?
>
> Sorry for my bad english.
>
> Thx for your response.
>
>
> Julien Loonis
>
Re: question about getRequestParameter in standard page
Posted by Dave <sn...@gmail.com>.
Good point, Henning.
https://issues.apache.org/jira/browse/ROL-1808
- Dave
On Fri, Apr 10, 2009 at 2:20 PM, Henning Brune
<he...@googlemail.com> wrote:
> Probably this should be clarified in the next roller template guide. I
> also wasted much time until I figured out that the sentence:
>
> 'String getRequestParameter(String paramName)
> Returns a specific request parameter from the URL.'
>
> is true only in the startpage blog but not in any other blog.
>
> -Henning
>
> On Fri, Apr 10, 2009 at 4:03 PM, Dave <sn...@gmail.com> wrote:
>> On Fri, Apr 10, 2009 at 9:45 AM, Julien Loonis <jl...@gmail.com> wrote:
>>> That's a known issue. We only support custom request *parameters* on custom
>>> pages, so you cannot use them on standard pages like the main, entry or
>>> search pages of your blog.
>>
>> Yes, that is still the case.
>>
>> Request parameters are only available on custom pages.
>>
>> Actually I was wrong saying it is a "known issue." It is not a bug, it
>> is by design.
>>
>> - Dave
>>
>
Re: question about getRequestParameter in standard page
Posted by Henning Brune <he...@googlemail.com>.
Probably this should be clarified in the next roller template guide. I
also wasted much time until I figured out that the sentence:
'String getRequestParameter(String paramName)
Returns a specific request parameter from the URL.'
is true only in the startpage blog but not in any other blog.
-Henning
On Fri, Apr 10, 2009 at 4:03 PM, Dave <sn...@gmail.com> wrote:
> On Fri, Apr 10, 2009 at 9:45 AM, Julien Loonis <jl...@gmail.com> wrote:
>> That's a known issue. We only support custom request *parameters* on custom
>> pages, so you cannot use them on standard pages like the main, entry or
>> search pages of your blog.
>
> Yes, that is still the case.
>
> Request parameters are only available on custom pages.
>
> Actually I was wrong saying it is a "known issue." It is not a bug, it
> is by design.
>
> - Dave
>
Re: question about getRequestParameter in standard page
Posted by Dave <sn...@gmail.com>.
On Fri, Apr 10, 2009 at 9:45 AM, Julien Loonis <jl...@gmail.com> wrote:
> That's a known issue. We only support custom request *parameters* on custom
> pages, so you cannot use them on standard pages like the main, entry or
> search pages of your blog.
Yes, that is still the case.
Request parameters are only available on custom pages.
Actually I was wrong saying it is a "known issue." It is not a bug, it
is by design.
- Dave