blog feed
终于从理性上明白feed是什么东西了。
一个网站的东西,可以被订阅,被传播到更远的地方。
share every where。
No Tags终于从理性上明白feed是什么东西了。
一个网站的东西,可以被订阅,被传播到更远的地方。
share every where。
No TagsIn 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?
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);
}
}
1.Import prototype.js and pagelist.js
2.define pagelist show node and page content show node
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 Tagspagelist 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可以显示文件上传的进度:
http://www.telio.be/blog/2006/01/06/ajax-upload-progress-monitor-for-commons-fileupload-example/
很COOL,可以玩玩看,其中你会有很多疑问:我上传的文件去哪里了??自己去找找看:)
No Tags