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

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,

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,

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

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 mgrigo...@apache.org 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

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

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:

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

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 mgrigo...@apache.org wrote: Right! You have to override

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: 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