海牛比我们想象中的要聪明
我们回到1902年,一位科学家检查了海牛像椰子大小光滑的大脑,注意到海象的大脑表面褶皱平滑的就像一个白痴。
从此之后海象被认为是除了吃草以外什么都不会做的动物。

来看看实际情况,这幅图里面:
1、黑猩猩。2、猫。3、针鼹。4、海豚。5、水豚。6、松鼠猴。7、海牛。8、黄鼠狼。9、小海狸
的确海牛的大脑特别平整,褶皱极少。
海牛的一些图片,从nationalgeographic.com获取的一些资料

http://www.homesafe.com/manatee/photographs/index.html


http://www.nbbd.com/photos/manatee1/index.html
more see:
using dwr with your spring bean
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?
- define a spring bean implements BeanFactoryPostProcessor
- overwrite postProcessBeanFactory function
- 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);
}
}
how to use pagelist tool
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.

评论