Page expired with Panel Replacement without Cookie Support

2010-08-18 Thread bht
Hi,

I switched off cookie suport in FireFox 3.6.3 to test whether an
application still works via URL rewriting:

In FireFox Tools|Option|Privacy|History|FireFox will:Use Custom
Settings for History|Uncheck Accept Cookies from Sites

Then with the most basic panel replacement (no AJAX), I always get
page expired errors.

Works fine with cookie support.

public class Panel1 extends Panel{

public Panel1(String id) {
super(id);
add(new Link(switch) {
@Override
public void onClick() {
Panel1.this.replaceWith(new
Panel2(Panel1.this.getId()));
}
});
}
}

What am I missing?

Many thanks,

Bernard

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



Re: Page expired with Panel Replacement without Cookie Support

2010-08-18 Thread bht
Hi,

I filed a testcase here:
https://issues.apache.org/jira/browse/WICKET-3000

Bernard

On Wed, 18 Aug 2010 20:47:22 +1200, you wrote:

Hi,

I switched off cookie suport in FireFox 3.6.3 to test whether an
application still works via URL rewriting:

In FireFox Tools|Option|Privacy|History|FireFox will:Use Custom
Settings for History|Uncheck Accept Cookies from Sites

Then with the most basic panel replacement (no AJAX), I always get
page expired errors.

Works fine with cookie support.

public class Panel1 extends Panel{

public Panel1(String id) {
super(id);
add(new Link(switch) {
@Override
public void onClick() {
Panel1.this.replaceWith(new
Panel2(Panel1.this.getId()));
}
});
}
}

What am I missing?

Many thanks,

Bernard

-
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