Re: Page Parameters logging

2014-10-23 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 https://twitter.com/mtgrigor

Re: IndicatorAware and BookmarkablePageLink

2014-10-23 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 wrote: > Hi, > > We use Suc

Re: Page Parameters logging

2014-10-23 Thread Andrea Del Bene
Sorry. I've realized that maybe you need a more efficient strategy to hide your parameter. I think that using a custom request handler is the right way. you can override getExceptionMapperProvider in you application to return tour custom handler for exception. You can have a look at DefaultExce

Re: Page Parameters logging

2014-10-23 Thread Andrea Del Bene
hi, maybe you can use a custom error page: Application.getApplicationSettings().setInternalErrorPage We have a secret parameter that we don't want to be logged in a stack trace or anything. Right now we're using a custom IRequestHandler to intercept the exception but I'm wondering if there's a

Re: EditablePropertyColumn and a callback to save

2014-10-23 Thread Steve Swinsburg
Perfect, thanks guys. cheers, Steve On Thu, Oct 23, 2014 at 10:27 PM, Martin Grigorov wrote: > Right! > > You have to override > > https://github.com/wicketstuff/core/blob/master/jdk-1.7-parent/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/column/editable/EditablePropertyCo

IndicatorAware and BookmarkablePageLink

2014-10-23 Thread msalman
Hi, We use SuckerfishMenuPanel for our menus and in it the links use BookmarkablePageLinks. I need to make make some of the links (menu items) IndicatorAware, i.e., show the whirling wheel, when clicked. I tried some thing like following: private class LinkIndicatingAwareBehaviour extends A

Page Parameters logging

2014-10-23 Thread shareski
We have a secret parameter that we don't want to be logged in a stack trace or anything. Right now we're using a custom IRequestHandler to intercept the exception but I'm wondering if there's a more elegant way to do this. -- View this message in context: http://apache-wicket.1842946.n4.nabble.co

Re: [7.0.0-SNAPSHOT] WebSocketResponse#sendError throws UnsupportedOperationException

2014-10-23 Thread Sebastien
Hi Martin, I finally end up with the underlying issue, I will open a new thread for that one... (I am not sure you will like it :s) Regarding this thread, I confirm you that's important to log the error instead of throwing the UnsupportedOperationException. Actually, the error message was empty b

Re: Lock timeout per page class

2014-10-23 Thread Guillaume Smet
Hi Martin, On Wed, Oct 22, 2014 at 9:51 AM, Martin Grigorov wrote: > I'd like to avoid moving the logic that gets the timeout from > Session.PageAccessSynchronizerProvider to PageAccessSynchronizer because > this way it will use Application.get() everytime and most apps don't need > to pay for th

Re: EditablePropertyColumn and a callback to save

2014-10-23 Thread Martin Grigorov
Right! You have to override https://github.com/wicketstuff/core/blob/master/jdk-1.7-parent/inmethod-grid-parent/inmethod-grid/src/main/java/com/inmethod/grid/column/editable/EditablePropertyColumn.java#L107 and attach such ajax behavior to the textfield on 'change' Martin Grigorov Wicket Training

Re: Combine breadcrumb with a dataview

2014-10-23 Thread lucast
Hi Sanders, I hope you don't mind me asking. Have you tried following the code execution with a debugger? I had a similar problem in the past and I realized that the existing breadcrumb solution did not satisfy my needs so I had to extend the class to make it fit. I hope this helps. Regards, Luc

Re: EditablePropertyColumn and a callback to save

2014-10-23 Thread lucast
Hi Steve, If I understand correctly, you would like to catch an ajax event fired from the cell when you click away. There are two ways you can do this, you can add an OnChangeAjaxBehavior() class to the file: Alternatively, you can add an AjaxEventBehavior to your object: I hope that helps, L

EditablePropertyColumn and a callback to save

2014-10-23 Thread Steve Swinsburg
I am using the inmethodgrid EditablePropertyColumn to allow inline edits of a datatable. What I want to do is have some sort of callback method registered on a cell so that when a user edits it then tabs or clicks away, the method is fired, so that I can immediately do something with the contents