Re: IndicatorAware and BookmarkablePageLink

2014-10-24 Thread Martin Grigorov
Hi, BookmarkablePageLink unloads the current page and loads a new page. As soon as the current page is unloaded the busy indicator stops working. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, Oct 23, 2014 at 8:46 PM, msalman mohammad_sal...@yahoo.com

Re: Page Parameters logging

2014-10-24 Thread Martin Grigorov
Hi, Maybe you want to encrypt the value of this special parameter ?! It will be a never ending story to patch all places where this parameter may leak. See CryptoMapper for inspiration how to encrypt and decrypt strings. Martin Grigorov Wicket Training and Consulting

Re: Lock timeout per page class

2014-10-24 Thread Martin Grigorov
Hi Guillaume, Sorry for not thinking more carefully about this the first time! I'm afraid it is not possible to do it the way I suggested. PageAccessSynchronizer is the entry point to start using a page and it works only with pageId! Here is a new hackish approach: Store pageId - pageClassName

Re: Lock timeout per page class

2014-10-24 Thread Guillaume Smet
Hi Martin, Yeah, I thought about that too but I'm not sure of the best place to build the pageId - pageClassName map. Any advice about this? Once I'll get this working, I'll build a PR for the few changes I made in Wicket (based on what you proposed earlier). Would be nice to have them in 6.18.

Re: Lock timeout per page class

2014-10-24 Thread Martin Grigorov
If you have a base page then BasePage#onInitialize() should be a good place. Or you could add the pageIds of the special/slow pages only in the map. Otherwise you may use PageRequestHandlerTracker#getLastHandler in a custom IRequestCycleListener#onDetach(). Martin Grigorov Wicket Training and

KeyInSessionSunJceCryptFactory doesn't work in Wicket 6.0

2014-10-24 Thread tomask79
Hi guys, in order to protect our portal before CSRF attacks we were using KeyInSessionSunJceCryptFactory as following: Application class: . . Where PostUrlCryptMapper was just simple filter class ensuring that just POST URLs will be encrypted: This was working perfectly in Wicket 1.5! But

Re: KeyInSessionSunJceCryptFactory doesn't work in Wicket 6.0

2014-10-24 Thread Martin Grigorov
Hi, It has been fixed with https://issues.apache.org/jira/browse/WICKET-5326. Will be released with 6.18.0. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 24, 2014 at 2:37 PM, tomask79 tomas.klou...@embedit.cz wrote: Hi guys, in order to protect

Re: KeyInSessionSunJceCryptFactory doesn't work in Wicket 6.0

2014-10-24 Thread tomask79
Thanks a lot Martin for quick reply. Please when is the release date of 6.18? thanks and have a nice weekend T. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/KeyInSessionSunJceCryptFactory-doesn-t-work-in-Wicket-6-0-tp4668070p4668072.html Sent from the Users

Re: KeyInSessionSunJceCryptFactory doesn't work in Wicket 6.0

2014-10-24 Thread Martin Grigorov
I'll ask our release manager to cut 6.18 next Friday. If the testing passes then it will be released around Nov 5. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 24, 2014 at 3:21 PM, tomask79 tomas.klou...@embedit.cz wrote: Thanks a lot Martin for

Re: Page Parameters logging

2014-10-24 Thread shareski
Thanks, this is what I'm doing now, just wanted to make sure it was an ok idea. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Page-Parameters-logging-tp4668053p4668074.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Page Parameters logging

2014-10-24 Thread shareski
Ya, this is definitely a band-aid fix, but the application is a bit of a Frankenstein's monster so encrypting the parameter everywhere it's used is a colossal task, though it's definitely the proper solution. -- View this message in context:

Re: IndicatorAware and BookmarkablePageLink

2014-10-24 Thread msalman
Hi Martin Thanks for your response. And yes this explains the behavior I have seen. Any way the busy indicator can be shown during the entire page unloading and unloading process? Thanks. -- View this message in context:

jquery DataTable + wicket Cannot bind a listener

2014-10-24 Thread Jason Novotny
Hi, I'm using latest jquery DataTable with a ListView and in wicket:head of the page, I initiate the DataTable: $(function () { $('.datatable_executed').dataTable({ 'lengthChange': false, 'dom': 'topdoc-filterholdeript', language:

Re: jquery DataTable + wicket Cannot bind a listener

2014-10-24 Thread Jason Novotny
I should add I'm using Wicket 6.17. Thanks, Jason On 10/24/14, 10:47 AM, Jason Novotny wrote: Hi, I'm using latest jquery DataTable with a ListView and in wicket:head of the page, I initiate the DataTable: $(function () { $('.datatable_executed').dataTable({

Wicket error page runs twice

2014-10-24 Thread Entropy
I have a requirement that when certain kinds of exceptions are thrown, I want to customize my exception error page. I stuffed the exception into the requestcycle and retrieve it in the page like so: Exception exception = getRequestCycle().getMetaData(ESPApplication.EXCEPTION_KEY); I watch

Re: Wicket error page runs twice

2014-10-24 Thread Martin Grigorov
Hi, It seems like the error page is being rendered after a redirect. That's why the request cycle is empty, because it is a new one. On Oct 25, 2014 1:42 AM, Entropy blmulholl...@gmail.com wrote: I have a requirement that when certain kinds of exceptions are thrown, I want to customize my