Downport WICKET-6639 to Wicket 7

2019-04-23 Thread ssamarin
Hello, Would appreciate if you put https://issues.apache.org/jira/browse/WICKET-6639 on Wicket 7 as well. Thanks, Stepan. -- Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html - To unsubscribe, e-ma

Custom handling of serialisation exception

2017-10-05 Thread ssamarin
Hello, I'm trying to figure out on how to force wicket to re-render requested page. On a first try it fails when it deserialises it from disk due to changes in classfile (introduction of serialversionuid is not a solution for us, unfortunately). Please have a look at the following code snippet, I'

Re: Toastr popups and Form's onSubmit

2017-08-01 Thread ssamarin
Thanks Vit, this worked. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Toastr-popups-and-Form-s-onSubmit-tp4678320p4678396.html Sent from the Users forum mailing list archive at Nabble.com. - To un

Re: Toastr popups and Form's onSubmit

2017-07-27 Thread ssamarin
I probably don't need a label, problem is that onSubmit of the form typically calls redirect to another page. I tried AjaxButton, but can't get redirect being called *after* toastr popup shows up. Ideally, I want popup, wait few seconds till it closes (or user closes it) - do redirect. -- View t

Toastr popups and Form's onSubmit

2017-07-27 Thread ssamarin
Hello, I'm integrating toastr popups (https://github.com/CodeSeven/toastr) into our application. For it to work properly, I need to add Behavior to Label and then add that label to AjaxRequestTarget. I'm wondering on how to wire this with Form's and onSubmit methods. Custom Ajax buttons everywher

Which Check got clicked in CheckGroup with AjaxFormChoiceComponentUpdatingBehavior

2017-06-23 Thread ssamarin
Hello, I have CheckGroup with Check's, and I need to have models for Check's updated on click, on form submit it's too late. So far I've seen recommendations to use AjaxFormChoiceComponentUpdatingBehavior. It does get invoked on every click, but how do I determine which checkbox got clicked? Re

Re: POST request on textfield when expecting GET on link in AjaxPagingNavigator

2017-04-10 Thread ssamarin
We've got .add(new OnChangeAjaxBehavior() on TextField. Is there any way to fix this? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/POST-request-on-textfield-when-expecting-GET-on-link-in-AjaxPagingNavigator-tp4677619p4677638.html Sent from the Users forum mailing

POST request on textfield when expecting GET on link in AjaxPagingNavigator

2017-04-07 Thread ssamarin
Hello, We've got TextField and AjaxPagingNavigator. After user enters something in text field, list view is filtered, navigator is updated. After that, if clicking on ">>" in navigator, POST request for text field is issued and nothing happens. After clicking second time on ">>" - GET request is i

Re: wicketstuff-datastore-memcached guide

2017-03-09 Thread ssamarin
Thanks Martin, I got it working! Question though: is it possible to have fallback mechanism? Let's say memcached crashes or process is not present - can wicket switch back to disk mechanism? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicketstuff-datastore-memc

wicketstuff-datastore-memcached guide

2017-03-08 Thread ssamarin
Hello, I've been looking for a guide/howto for wicketstuff-datastore-memcached, but no luck so far. So, I put 2 new jars in the classpath: wicketstuff-datastore-memcached-7.3.0.jar and spymemcached-2.12.2.jar Is there any configuration parameters somewhere? Like memcached host and port? Woul

Re: i18n, ResourceModel question

2017-02-14 Thread ssamarin
Ok, funny enough, figured it out already. getString() on Component does the trick. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/i18n-ResourceModel-question-tp4677113p4677114.html Sent from the Users forum mailing list archive at Nabble.com.

i18n, ResourceModel question

2017-02-14 Thread ssamarin
Hello, I'm wondering what's the mechanism under the hood for ResourceModel, in i18n context. In number of places I can't use Models, got to set titles of modal windows, for example, so need to retrieve value from .properties file. Unfortunately, standard ResourceBundle.getBundle mechanism doesn't

PagingNavigation extension

2016-12-02 Thread ssamarin
Hello, I'm trying to change PagingNavigation: current page of navigation is a not-clickable number by default. I'd like to have textbox instead. Straightforward solution seems to be overriding method populateItem(LoopItem loopItem) from PagingNavigation class. But so far I have not figured out

Re: ListenerInvocationNotAllowedException in wicket 6.19

2015-04-15 Thread ssamarin
Looks like there was a problem with non-printable character in HTML. If it doesn't show up again - that's it, solved. Thanks! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ListenerInvocationNotAllowedException-in-wicket-6-19-tp4670301p4670319.html Sent from the Users

Re: ListenerInvocationNotAllowedException in wicket 6.19

2015-04-15 Thread ssamarin
Well, Behaviour is the following: click once in navigator and wait. Components of the page are not refreshed at all but component page number is disabled in background. Clicking second time on same number in navigator produces an error because the component is disabled -- View this message in c

ListenerInvocationNotAllowedException in wicket 6.19

2015-04-14 Thread ssamarin
Hello, I've been trying to figure out the following problem with AjaxPagingNavigator: org.apache.wicket.core.request.handler.ListenerInvocationNotAllowedException: Behavior rejected interface invocation. Component: [AjaxPagingNavigationLink [Component id = pageLink]] Behavior: org.apache.wicket.aj