摘要:
Ext.form.ComboBox 本地和远程模式的基本定义 一.本地模式var articlekind = new Ext.form.ComboBox({ fieldLabel : '部门', //UI标签名称 name : 'identity', //作为form提交时传送的参数名 allowBlank : false, //是否允许为空mode : 'local', //数据模式, local为本地模式,如果不设置,就显示不停的加载中... readOnly : true, //是否只读triggerAction : 'all 阅读全文
摘要:
Java SE Development Kit (JDK) BundlesJDK 6 Update 17 with Java EEThis distribution of the JDK is included in the Java EE 5 SDK, which contains the GlassFish v2.1.1 application server and provides web services, component-model, management, and communications APIs for enterprise-class SOA and Web 2.0 阅读全文
摘要:
在没有使用Spring提供的Open Session In View情况下,因需要在service(or Dao)层里把session关闭,所以lazy loading 为true的话,要在应用层内把关系集合都初始化,如 company.getEmployees(),否则Hibernate抛session already closed Exception; Open Session In View提供了一种简便的方法,较好地解决了lazy loading问题. 它有两种配置方式OpenSessionInViewInterceptor和OpenSessionInViewFilter(具体参看Sp 阅读全文