共 23 篇文章 |
|
OrientationEventListener(方向事件監聽器)OrientationEventListener(方向事件監聽器)是一個當方向發生變化時, 從 SensorManager(傳感器管理程序)接收通知的輔助類.?myOrientationEventListener = new MyOrientationEventListener(this, SensorManager.} class MyOrientationEventListener extends OrientationEventListener{ public M... 阅7 转自mandrave 公众公开 14-08-19 11:13 |
以下这些不是正则表达式的新增对象请参阅对应的JavaScript对象的属性 $_属性 参考input $*属性 参考multiline $&属性 参考lastMatch $+属性 参考lastParen $`属性 参考leftContext $''属性 参考rightContext compile方法 在脚本运行期间编译正则表达式对象 属于RegExp的方法 在JavaScript 1.2, NES 3.0以上版本提供 语法: regexp.... 阅40 转0 评0 公众公开 12-01-05 11:12 |
使用Eclipse的几个必须掌握的快捷方式+改默认编码使用Eclipse的几个必须掌握的快捷方式+改默认编码2011年07月29日 星期五 01:26. 阅1209 转5 评0 公众公开 11-10-19 13:53 |
示例:this.getHibernateTemplate().find("from bean.User");示例:this.getHibernateTemplate().find("from bean.User u where u.name=?", "test");或模糊查询:this.getHibernateTemplate().find("from bean.User u where u.name like ?", "%test%");示例:String hql= "from bean.U... 阅23 转0 评0 公众公开 11-09-22 10:41 |
其实有时mysql已经正常启动了,查看mysql是否启动命令ps -aux | grep mysqld会看到如下类似内容mysql 6394 0.0 1.5 10528 992 pts/3 S 16:16 0:00/usr/local/mysql/mysql 6395 0.0 1.5 10528 992 pts/3 S 16:16 0:00/usr/local/mysql/mysql 6396 0.0 1.5 10528 992 pts/3 S 16:16 0:00/usr/local/mysql/root 6422 0.0 1.1 2408 732 pts/3 S 16:... 阅598 转0 评0 公众公开 11-08-10 14:53 |
EXT 前台分页,切换StoreEXT 前台分页,切换Store.if (this.getLoader().baseParams.brief) { dragLink = "<a href=''#'' onclick=\"processDrag(Ext.getCmp(''tree'').getNodeById(''" + node.id + "''),"+node.attributes.start+","... 阅3459 转13 评0 公众公开 11-08-03 12:54 |
grid.render();{totalProperty:100,root:[ {id:0,name:''name0'',descn:''descn0''}, {id:1,name:''name1'',descn:''descn1''}, {id:2,name:''name2'',descn:''descn2''}, {id:3,name:''name3'',descn:''descn3'... 阅1956 转10 评0 公众公开 11-06-20 13:24 |
Spring为ApplicationContext提供的三种方式(转)_fyf_fff_新...Spring为ApplicationContext提供的三种方式(转)(2010-08-19 15:24:33) ClassPathXmlApplicationContext.<context-param>String[] locations = {"bean1.xml", "bean2.xml", "bean3.xml"};多个文件,比如applicationContext-datasource.xml(... 阅2895 转3 评0 公众公开 11-06-08 10:48 |
js function一篇相当不错的js function入门文章作者:ny2050 日期:2006-08-01字体大小: 小 中 大 作者:F. Permadi译者:Sheneyan(子乌)英文原文: INTRODUCTION TO JavaScript Functions中文译文(包括示例):javascript的函数子乌注:一篇相当不错的function入门文章,个人感觉相当经典。// 结果 "function"我们甚至能将这个对象的... 阅786 转1 评0 公众公开 11-06-01 17:18 |
hibernate 关联主键映射 composite-id - hacker0825的日志...hibernate 关联主键映射 composite-id.<class name="Person" table="person_compositeid"> <composite-id> //注意此处的composite-id节点 <key-property name="id"/> //指定复合主... 阅1137 转1 评0 公众公开 11-05-28 15:40 |