Monthly Archives: August 2011

an css style issue which cost me 2 hours

Today when I try to integrate the sench touch ui to to our product,  I met an annoying issue.  After I introduced the Ext.TextField to replace the ‘interval’ field,  I could not hide this textfield no matter I click ‘ok’ … Continue reading

Posted in System, work related | Tagged , , | Leave a comment

sencha touch multiSelect for list

I haven’t write any blog in recent 2 weeks. not because I’m lazy, it just too much things happend so I don’t have time. I begin to work on the mobile platform now.  the job is to integrate sencha touch … Continue reading

Posted in programming, work related | Tagged , | 2 Comments

code reading 4 – notepad++

var args method  in C++ and var  args method in java in the fileOpen function, it repeatedly call the method ‘setExtFilter’, each call the method would be passed in different parameters, here is the source code: void Notepad_plus::fileOpen() { FileDialog … Continue reading

Posted in programming | Tagged , | Leave a comment

Shadowbox photo gallery debug note 2

the previous post mentioned about the  initialization of shadowbox , this post would talk about its animation. during the initialization, the cache.js : addCache() method would be called each time the image been loaded. the image path, file name and … Continue reading

Posted in programming | Tagged , | Leave a comment

Shadowbox photo gallery debug note 1

Here is the quote from shadowbox  official site: Shadowbox is a web-based media viewer application that supports all of the web’s most popular media publishing formats. Shadowbox is written entirely in JavaScript and CSS and is highly customizable. Using Shadowbox, … Continue reading

Posted in programming | Tagged , | Leave a comment

Java Reflection In Action Study note 3

in study note 2, we talked about using java reflection api to serialize an object to xml.  After compile and run the source code, the result would be

Posted in programming | Tagged | Leave a comment

writing my own automation test by Perl

Except tons of front end javascript coding work, I also work a lot on web service layer like define soap structure by wsdl. construct soap structure in ajax call, handle the soap request in backend server side, using apache axis … Continue reading

Posted in work related | Tagged | Leave a comment

Install Ruby and Rake on RHEL 6

Yesterday I tried to investigate the implementation of a very popular photo gallery library – ShadowBox. ShadowBox is famous media viewer application which works in all main stream browser.   From firebug I can see its source code. but all code … Continue reading

Posted in System | Tagged , , | Leave a comment

java reflection in action study 2

  An example to serialize an Ojbect by using reflection. Based on the example of the books, I complete the serialization task.  In order to output the object in an xml format, we need jdom.jar. It’s easy to find on … Continue reading

Posted in programming | Tagged | Leave a comment

java reflection in action study notes 2

  java array class name see some testing code: public static void main( String[] args ) { System.out.println( int.class.getName( ) ); System.out.println( int[].class.getName( ) ); System.out.println( char.class.getName( ) ); System.out.println( char[].class.getName( ) ); System.out.println( double.class.getName( ) ); System.out.println( double[].class.getName( ) … Continue reading

Posted in programming | Tagged | Leave a comment