• About
  • Trade
  • Science
  • Eclipse
  • Software
  • Infoq
  • T
  • Projects
  • Contact
  • Thinks
  • | 登录 |

    blog feed

    2006年11月8日 下午 17:44 | 作者:summer

    终于从理性上明白feed是什么东西了。

    一个网站的东西,可以被订阅,被传播到更远的地方。

    share every where。

    No Tags

    using dwr with your spring bean

    2006年11月6日 下午 15:41 | 作者:summer

    In dwr sites, it tell use three way to use dwr with spring. But the important details are ignored on his suggest way.

    If you are using spring and have your private spring bean manger.how to use DWR?

    1. define a spring bean implements BeanFactoryPostProcessor
    2. overwrite postProcessBeanFactory function
    3. call SpringCreator.setOverrideBeanFactory(beanFactory)

    the code was just like this:

    import org.springframework.beans.BeansException;
    import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
    import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
    import uk.ltd.getahead.dwr.create.SpringCreator;
    /**  * @author summer  *  */
    public class DWRSpringIntegrator implements BeanFactoryPostProcessor {
        public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
            SpringCreator.setOverrideBeanFactory(beanFactory);
        }
    }

    No Tags

    how to use pagelist tool

    2006年11月5日 上午 16:45 | 作者:summer

    1.Import prototype.js and pagelist.js

     

     

    2.define pagelist show node and page content show node

    init…
    init…

     

    3.define callback function getPage and new PageList

     

    4.PageList.Slider parameters intorduce

    parameters are:element, itemsPerPage, items, width, style, callback

    element is the node id of where you wish to display the pagelist.

    itemsPerPage is the page size.

    items is the count of all your record.

    width is display pages number.

    style is the selected page’s style.

    callback is the function of get content function.

    No Tags

    Pagelist tool published!

    2006年11月4日 下午 46:30 | 作者:summer

    pagelist tool is used for build pages. 

    when your data have lots of pages, you could use this tool easily build pagelist to browse your pages. 

    I suggest use it with DWR, using DWR get serer page content, using this pagelist tool to diplay next page item.

     you could download it.

    No Tags

    上传文件进度显示-AJAX,DWR

    2006年11月3日 上午 26:29 | 作者:summer

    可以显示文件上传的进度:

    http://www.telio.be/blog/2006/01/06/ajax-upload-progress-monitor-for-commons-fileupload-example/

    很COOL,可以玩玩看,其中你会有很多疑问:我上传的文件去哪里了??自己去找找看:)

    No Tags
    Pages: 1 ... 35 36 37 38