RE: DataView: Sission ID generated for "big" pages and not for "small" one?!

2014-10-21 Thread Fuad Efendi
Please ignore previous message; I found the bug in my code: in the paginated
list, item No.21 contained link to internal image (unexpectedly
"non-bookmarkable"):

.add(new Image("linkToImage", new Model("no_image.jpg")));

 

And this item created Session for everything.

 

Thanks.

 

From: Fuad Efendi [mailto:f...@efendi.ca] 
Sent: October-21-14 12:26 PM
To: 'd...@wicket.apache.org'
Cc: 'users@wicket.apache.org'
Subject: DataView: Sission ID generated for "big" pages and not for "small"
one?!

 

Hello,

 

 

I have a scenario, just to be quick (developing sample application & problem
isolation will take some more time):

 

I use custom DataView with custom DataProvider, custom pagination (based on
existing one, but with BookmarkablePageLink)

 

Whenever I use "itemsPerPage=20" or smaller parameter for DataView, I do not
have Session created (I do not have JSESSIONID in generated URLs nor Cookie
set)

Anything higher than 20 will create Session, and all URLs will contain
JSESSIONID.

 

 

I tried with 1.6.17 and 7.0.0-M3, the same result.

 

 

Is that known bug?

 

Thanks,

-  Fuad Efendi

http://www.tokenizer.ca

 

 

 

 



DataView: Sission ID generated for "big" pages and not for "small" one?!

2014-10-21 Thread Fuad Efendi
Hello,

 

 

I have a scenario, just to be quick (developing sample application & problem
isolation will take some more time):

 

I use custom DataView with custom DataProvider, custom pagination (based on
existing one, but with BookmarkablePageLink)

 

Whenever I use "itemsPerPage=20" or smaller parameter for DataView, I do not
have Session created (I do not have JSESSIONID in generated URLs nor Cookie
set)

Anything higher than 20 will create Session, and all URLs will contain
JSESSIONID.

 

 

I tried with 1.6.17 and 7.0.0-M3, the same result.

 

 

Is that known bug?

 

Thanks,

-  Fuad Efendi

http://www.tokenizer.ca