Re: Handling OnKeyPress event

2010-12-29 Thread Tejash Tarun
Hi, I guess if we add AjaxFormComponentUpdatingBehavior() to the component then we can get the string from the model and then we can extract the (last) character keyed-in. This should work for normal characters. Regards, Tejash On Wed, Dec 29, 2010 at 1:05 PM, Josh Kamau joshnet2...@gmail.com

Re: Handling OnKeyPress event

2010-12-29 Thread Martin Grigorov
Hi Josh, This is pure JavaScript task. You need something like : onkeypress=if (event.keyCode !== 13) return; doSomething();. I.e. fast return if the key is not ENTER, otherwise do what you need to do. If you need this for Ajax component/behavior then see its getAjaxCallDecorator() method. See

Re: Handling OnKeyPress event

2010-12-29 Thread Bas Gooren
Hi Josh, Have a look at http://databinder.net/javadoc/net/databinder/components/AjaxOnKeyPausedUpdater.html It's a Java + Javascript ready-to-run component, of which the source is available. Bas - Original Message - From: Martin Grigorov mgrigo...@apache.org To:

Re: Moving wicketstuff to github

2010-12-29 Thread Martijn Dashorst
Martin Grigorov tested git trunk against svn trunk and both were equal. We're going to move some stuff around between the test import and final repository. My guess is somewhere later today or tomorrow in pacific time. Martijn On Tue, Dec 28, 2010 at 12:20 PM, Sebastian nospam...@gmx.net wrote:

Adding openid-authentication to spring/wicket-auth-roles?

2010-12-29 Thread Tom Howe
I have followed the instructions at https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.html to integrate basic user/pass authentication using Spring security into my wicket app. How would I go about adding open-id authentication? Spring security supports openid-login as a config

Re: Adding openid-authentication to spring/wicket-auth-roles?

2010-12-29 Thread Eric Hamel
This might help... http://www.ibm.com/developerworks/java/library/j-openid/index.html On Wed, Dec 29, 2010 at 5:04 AM, Tom Howe tomh...@artcore.com wrote: I have followed the instructions at https://cwiki.apache.org/WICKET/spring-security-and-wicket-auth-roles.htmlto integrate basic

Re: Adding openid-authentication to spring/wicket-auth-roles?

2010-12-29 Thread Tom Howe
Hi Eric, I have seen this and maybe it is the approach I should take, however it makes no mention of Spring and Id like to be able to have it load the user roles from my spring config. If I use openid4java http://code.google.com/ to determine whether I can authenticate, how do I then tell Spring

Re: Display component feedback message once: safety net renders them always before

2010-12-29 Thread joseph.pachod
Hi Pedro Santos I hadn't seen your answer, sorry. In between, I had time again to look into my issue. Actually, the root of it was about not displaying the feedback message twice: once in the general feedback panel and once close from the generating component. As such, while helpful, your

Re: IResourceSettings.setUseTimestampOnResources(true) and performance

2010-12-29 Thread mf
What about Version 1.4.15? I got this message for each request. I think i slows down, too? DEBUG | 29.12. 13:31:55 | cannot convert url:

Re: IResourceSettings.setUseTimestampOnResources(true) and performance

2010-12-29 Thread Peter Ertl
1.4 is not affected - timestamps on resources are currently only available in wicket 1.5 Am 29.12.2010 um 15:49 schrieb mf: What about Version 1.4.15? I got this message for each request. I think i slows down, too? DEBUG | 29.12. 13:31:55 | cannot convert url: