September 2011
5 posts
Test post from Android
2 tags
Escaping ID selector in jQuery
If you are using a framework like JSF/Struts which generates ids like
id=”form:myButton” or id=”form.myIput[1]” and want to use these ids in jQuery, it would complain “unrecognized expression :myButton”.
Escape it with double backslashes like this
$(“#form\\:myButton”) or $(“#form\\.myInput\\[1\\]”)
Deft - Tornodo like app server on the JVM →
REST Services in Scala using Akka →
I searched for quite a while to find this framework. Its built on top of Akka and its really straightforward to write services.
1 tag
Custom Username Password Parameter Names in Spring...
Spring Security 3 does not allow custom parameter names for username & password, if you are using using form based login. You have to use the default j_username and j_password. This may not be a problem for many use cases, but sometimes you would want to change that.
A feature request is in process by Spring Security community. If you dont want to wait till that’s done, here’s a...