Re: How to redirect to a page from an AJAX request?

2012-05-22 Thread Alexander Cherednichenko
hi! you could check it with the Wicket Ajax Debug - for the ajax redirect it should receive and process javascript instruction which resets location of the page. maybe there are some JS errors out there? On May 22, 2012 8:59 AM, Melinda Dweer melinda.dw...@gmail.com wrote: IFAIK

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread Thomas Götz
On 22.05.2012 at 06:01 kamiseq wrote: step to reproduce 1. go to http://localhost:8080 and type any valid email (ie l...@oa.pl) and submit form 2. press accept and it will take you to third page 3. this should fail and show expire page error No, it doesn't. 3. works in your example, there

DataTable and PagingNavigator problem

2012-05-22 Thread Viliam Repan
Hi, I probably found a bug in DataTable and PagingNavigator, or more likely I don't understand it correctly... I have page with one data table and two paging navigators in form, html part looks like this: form wicket:id=mainForm div wicket:id=pTop/ div wicket:id=table/ div

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
huh, then something is wrong with my environment, im running it with jetty invoking simple mvn clean install jetty:run pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ - To unsubscribe,

Re: DataTable and PagingNavigator problem

2012-05-22 Thread Thomas Götz
Could you please provide a quickstart that demonstrates your implementation? -Tom On 22.05.2012 at 17:54 Viliam Repan wrote: Hi, I probably found a bug in DataTable and PagingNavigator, or more likely I don't understand it correctly... I have page with one data table and two paging

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
anyway there is nothing wrong to my code, in your opnion? I just have bad feeling about passing model from one page to another in constructor. on the other hand model are serialised into session so maybe it is a better idea to pass them around rather than object they are wrapping pozdrawiam Paweł

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread Thomas Götz
I tested your quickstart from within the IDE by running Start.java. Models are meant to be passed around, so there's nothing wrong with it in general. And it's always (at least in 95% of cases I'd dare to say) preferable to passing Objects (beans). -Tom On 22.05.2012 at 18:55 kamiseq

Re: DataTable and PagingNavigator problem

2012-05-22 Thread Thomas Götz
This looks indeed like a bug to me. I opened a ticket for this: https://issues.apache.org/jira/browse/WICKET-4568 -Tom On 22.05.2012 at 21:10 Viliam Repan wrote: Hi, I've create sample mvn project, after build and deploy you can see sysouts like this: size() 100 iterator() 0 10

Re: DataTable and PagingNavigator problem

2012-05-22 Thread Viliam Repan
Hi, I saw a patch already prepared to fix this bug. Does wicket have some release plan/calendar - I mean when could I expect next version of wicket (and this to be inserted in)? :) Thank you. vilo On 05/22/2012 10:26 PM, Thomas Götz wrote: This looks indeed like a bug to me. I opened a ticket

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
but why?? test it with mvn clean install jetty:run pozdrawiam Paweł Kamiński kami...@gmail.com pkaminski@gmail.com __ On 22 May 2012 20:47, Thomas Götz t...@decoded.de wrote: I tested your quickstart from within the IDE by running Start.java. Models are meant to be

Re: DataTable and PagingNavigator problem

2012-05-22 Thread Thomas Götz
The patch is yet only a proposal by me on how this might be fixed. Any of the committers might want to look at it before maybe ;-) As for the release date of the next version: I guess when it is ready ;-) -Tom On 22.05.2012 at 22:49 Viliam Repan wrote: Hi, I saw a patch already

Re: wicket 6 setting response page with page object and session expired error

2012-05-22 Thread kamiseq
i checked it on other machine, and is working, I ve cleaned m2 repository and now it is working as well :/ I dont know what happened but it is weird that it showed on two separate application thanks for help, actually it is great it was only may problem ;] pozdrawiam Paweł Kamiński

Re: How to redirect to a page from an AJAX request?

2012-05-22 Thread Alec Swan
My apologies, setResponsePage does work from AJAX requests. I had two problems - one with a missing JS reference which I detected by looking at Wicket Ajax Debug and the other one with my Wicket test class. Thanks, Alec On Tue, May 22, 2012 at 12:08 AM, Alexander Cherednichenko

Re: AJAX-swappable bookmarkable unversioned tabs

2012-05-22 Thread Alec Swan
Thoughts, anybody? On Mon, May 21, 2012 at 4:21 PM, Alec Swan alecs...@gmail.com wrote: Hello, We are starting a new project where we need to implement a simple menu using Wicket 1.4.17. In my previous project I implemented tabbing using ajax-swappable panels. I really liked the smooth tab