Thursday, May 24, 2012

jquery .change()

        $('#container select').change(function() {
           ....
        }).change();

The change() in red will trigger the event in initial text draw;

Thursday, May 10, 2012

tnsping

>tnsping devn

will tell you which tns names file you are using and detail of the alias.

Wednesday, May 9, 2012

Spring form:password showPassword

<password path="creditCardNumber" showpassword="true" />
By default, the password value is not shown. If you do want the password value to be shown, then set the value of the 'showPassword' attribute to true. It will show as "...." Useful when on form submmision, when validation failed, if you want to keep password field value. Otherwise the field need to be reentered.