原创 清空ext的form表單

Ext.getCmp('formMy').form.reset();//只清空輸入值,不清空原始值,需要給form增加一個id爲:formMyformMy.getForm().getEl().dom.reset();//全部清空,包括原始值

原创 node to traverse cannot be null

java.lang.IllegalArgumentException: node to traverse cannot be null!java.lang.IllegalArgumentException: node to traverse

原创 我的友情鏈接

51CTO博客開發

原创 Illegal attempt to associate a collection with two open sessions

在Hibernate的操作中,如果load一個對象,然後又update或者saveOrUpdate一個對象,則會引發這個異常。 處理辦法: 方法一:將update或者saveOrUpdate改成merge 方法二:修改session爲si

原创 node to traverse cannot be null

java.lang.IllegalArgumentException: node to traverse cannot be null!java.lang.IllegalArgumentException: node to traverse

原创 Illegal attempt to associate a collection with two open sessions

在Hibernate的操作中,如果load一個對象,然後又update或者saveOrUpdate一個對象,則會引發這個異常。 處理辦法: 方法一:將update或者saveOrUpdate改成merge 方法二:修改session爲si

原创 我的友情鏈接

51CTO博客開發