Re: "The page isn't redirecting properly" error

2010-05-23 Thread Douglas Ferguson
My problem seemed to go away when I upgrading to finally using the built in 
@RequireHttps,
The bug must have been in my old redirecting code, which I had to write prior 
to @RequireHttps existing.

That being said, it did work previously, so there is something in the wicket 
1.4.8 that isn't playing nice somewhere.

I was unable to get anywhere with the wicket quick start.

D/



On May 22, 2010, at 4:05 PM, Jonathan and Carrie Olson wrote:

> I also just noticed an AjaxButton problem after upgrading to 1.4.8.
> 
> Wicket ajax debug just prints "INFO: Invoking pre-call handler(s)..." when
> the button is clicked. Using wireshark, I saw that no packets were being
> sent.
> 
> I'll see if I can get a short example that proves the point.
> 
> -Jonathan Olson
> 
> On Sat, May 22, 2010 at 12:29 AM, Douglas Ferguson <
> doug...@douglasferguson.us> wrote:
> 
>> I'm pretty sure this is a regression..
>> 
>> 
>> On May 20, 2010, at 1:33 PM, Douglas Ferguson wrote:
>> 
>>> I think part of the problem is that we have a RequestCycleProcessor that
>> redirects pages to ssl if they are secure page.
>>> The problem seems to be related to setResponsePage in an ajax callback,
>> and then redirecting from that call...
>>> 
>>> D/
>>> 
>>> 
>>> On May 20, 2010, at 12:25 PM, Douglas Ferguson wrote:
>>> 
 This used to work in previous versions of wicket, now we get an error.
 
 The page isn't redirecting properly
 
 final AjaxButton button = new AjaxButton("button") {
 private static final long serialVersionUID = 1L;
 
 @Override
 protected void onSubmit(AjaxRequestTarget target, Form form) {
 setResponsePage(new MyPage(params)));
 }
 };
>>> 
>>> 
>>> -
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>> 
>> 
>> 
>> -
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>> 
>> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: "The page isn't redirecting properly" error

2010-05-22 Thread Jonathan and Carrie Olson
I also just noticed an AjaxButton problem after upgrading to 1.4.8.

Wicket ajax debug just prints "INFO: Invoking pre-call handler(s)..." when
the button is clicked. Using wireshark, I saw that no packets were being
sent.

I'll see if I can get a short example that proves the point.

-Jonathan Olson

On Sat, May 22, 2010 at 12:29 AM, Douglas Ferguson <
doug...@douglasferguson.us> wrote:

> I'm pretty sure this is a regression..
>
>
> On May 20, 2010, at 1:33 PM, Douglas Ferguson wrote:
>
> > I think part of the problem is that we have a RequestCycleProcessor that
> redirects pages to ssl if they are secure page.
> > The problem seems to be related to setResponsePage in an ajax callback,
> and then redirecting from that call...
> >
> > D/
> >
> >
> > On May 20, 2010, at 12:25 PM, Douglas Ferguson wrote:
> >
> >> This used to work in previous versions of wicket, now we get an error.
> >>
> >> The page isn't redirecting properly
> >>
> >> final AjaxButton button = new AjaxButton("button") {
> >> private static final long serialVersionUID = 1L;
> >>
> >> @Override
> >> protected void onSubmit(AjaxRequestTarget target, Form form) {
> >>  setResponsePage(new MyPage(params)));
> >> }
> >> };
> >
> >
> > -
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: "The page isn't redirecting properly" error

2010-05-22 Thread Douglas Ferguson
I'm pretty sure this is a regression..


On May 20, 2010, at 1:33 PM, Douglas Ferguson wrote:

> I think part of the problem is that we have a RequestCycleProcessor that 
> redirects pages to ssl if they are secure page.
> The problem seems to be related to setResponsePage in an ajax callback, and 
> then redirecting from that call...
> 
> D/
> 
> 
> On May 20, 2010, at 12:25 PM, Douglas Ferguson wrote:
> 
>> This used to work in previous versions of wicket, now we get an error.
>> 
>> The page isn't redirecting properly
>> 
>> final AjaxButton button = new AjaxButton("button") {
>> private static final long serialVersionUID = 1L;
>> 
>> @Override
>> protected void onSubmit(AjaxRequestTarget target, Form form) {
>>  setResponsePage(new MyPage(params)));
>> }
>> };
> 
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: "The page isn't redirecting properly" error

2010-05-20 Thread Douglas Ferguson
I think part of the problem is that we have a RequestCycleProcessor that 
redirects pages to ssl if they are secure page.
The problem seems to be related to setResponsePage in an ajax callback, and 
then redirecting from that call...

D/


On May 20, 2010, at 12:25 PM, Douglas Ferguson wrote:

> This used to work in previous versions of wicket, now we get an error.
> 
> The page isn't redirecting properly
> 
> final AjaxButton button = new AjaxButton("button") {
> private static final long serialVersionUID = 1L;
> 
> @Override
> protected void onSubmit(AjaxRequestTarget target, Form form) {
>   setResponsePage(new MyPage(params)));
> }
> };


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



"The page isn't redirecting properly" error

2010-05-20 Thread Douglas Ferguson
This used to work in previous versions of wicket, now we get an error.

The page isn't redirecting properly

final AjaxButton button = new AjaxButton("button") {
private static final long serialVersionUID = 1L;

@Override
protected void onSubmit(AjaxRequestTarget target, Form form) {
   setResponsePage(new MyPage(params)));
}
};