This release of Apache Tomcat was packaged to run on J2SE 5.0 or later. It can be run on earlier JVMs by downloading and installing a compatibility package from the Apache Tomcat binary download page. 一開始懷疑jdk安裝有問題或環境變數設定不正確。仔細查看出錯(downloading and
<script type="text/javascript">Ext.data.Store.prototype.applySort=function(){//重載applySort if(this.sortInfo && !this.remoteSort){ var s = this.sortInfo, f=s.field; var st=this.fields.get(f).sortType; var fn=function(r1,r2){ var v1=
需求說明,今天在需求時候,顧客在要求可以從多個部門查詢,於是乎做了這個。實現結果:實現代碼儲存為Ext.ux.form.LovCombo在項目中引用// vim: ts=4:sw=4:nu:fdc=4:nospell/** * Ext.ux.form.LovCombo, List of Values Combo * * @author Ing. Jozef Sakáloš * @copyright (c) 2008, by Ing. Jozef Sakáloš * @date 1
說明:今天在做OA系統的時候,出了一個問題,那就是在把資料庫中時間類型的值賦予DateField(通過Gson傳遞),Gson傳遞過來的值是2012-11-11 22:43的格式,但是DateField的格式是Y-m-d(2012-11-11),我一開始以為是資料的錯誤,我就把DateField的格式修改為yyyy-MM-dd HH:mm:ss格式,結果還是不行,這個我就有點tmd火了,後來一想在重後台傳過來的是字串,賦值給了Ext的Date估計不妥,so i do it:
[DH-OFFICE] 2012-12-17 22:56:35 INFO [main] MyLocalSessionFactoryBean.buildSessionFactory(730) | Building new Hibernate SessionFactory[DH-OFFICE] 2012-12-17 22:57:00 INFO [main] MyLocalSessionFactoryBean.destroy(246) | Closing Hibernate SessionFacto
昨天做了一個這樣的功能,貼出來參考。HTML/JS/CSS代碼:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta
<script type="text/javascript">function clickIE4(){ if (event.button==2){ return false; }} function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if