var textfield = Ext.getCmp('description');
    textfield.on('specialkey', function (el, e) {
        if(e.keyCode == e.ENTER) {
          getData();     
        }
    });
Posted by 저기요씨
            {xtype: 'textfield',    id:'vendor_name',  x: 230, y: 185, width: 120, value: '',
             listeners: {        
                 afterrender: function( field ) {
                     field.getEl().on('click', function( event, el ) {
                         alert('aaa');
                     });        
                  }    
             }
            }
Posted by 저기요씨
ojdbc14.jar를 사용하니 Long타입 사용시 1000자 이상에서 입력 오류
classes12.jar를 이용하니 성공
Posted by 저기요씨
1. classpath에 지정되어 있는 servlet.jar의 문제일 가능성
2. 설치 되어 있는 java의 문제일 가능성

error로그.
 
javax.servlet.ServletException: javax.servlet.jsp.tagext.TagInfo.<init	........
 
 
classpath에 xxxx/lib/ 라고 지정해 놓니 servlet.jar와 servlet.jar를 풀어 놓은 javax디렉토리가 충돌
이런실수 하지 말자
 

'머리아파 > 혼자 공부하는 JSP' 카테고리의 다른 글

1000자 이상시 오류  (0) 2011.05.20
Posted by 저기요씨
sqlplus /as sysdba
startup
한 후
@create_tablespace
Posted by 저기요씨
:set nu

'머리아파 > 혼자 공부하는 Linux' 카테고리의 다른 글

bash_profile 변경 후 적용  (0) 2011.05.17
Posted by 저기요씨

[root@testserver root]# source .bash_profile
Posted by 저기요씨

handler : function() {
          gridStore.loadData(myData);
        }



gridStore는 store 이름
myData는 실제 데이터

Posted by 저기요씨

  var document_uploadpanel = new Ext.Window({
     id: 'document_uploadpanel',
     width : 450,
     height : 300,
     autoheight: true,
     closeAction:'hide',
     frame : true,
     items :  grid
  });
    store.load({});
// 윈도우를 그리고 난 후


{xtype: 'button', text: '문서첨부', width: 50, x: 745, y: 5,
       handler: function(){
              document_uploadpanel.show();
       }              
 }
// 버튼 클릭시 위의 윈도우를 호출


하지만 버튼을 처음 눌르고 닫을 시에는 윈도우 창이 제대로 작동하지만 닫은 윈도우를 다시 열기위해  버튼을 누르면
dom undefine 에러가 발생한다. 윈도우 창을 만들 시에는 closeAction:'hide' 옵션을 넣어 주어야한다.

'머리아파 > 혼자 공부하는 Extjs' 카테고리의 다른 글

textfield click 이벤트  (0) 2011.07.15
extjs grid refresh  (0) 2011.05.17
한글 전송 시 깨지지 않도록  (0) 2011.04.26
grid의 Column명 가져오기  (0) 2011.04.18
tree의 root node 열어 놓기  (0) 2011.04.14
Posted by 저기요씨
보내는쪽에
<script type="text/javascript" src="/ext/source/locale/ext-lang-ko.js" charset="utf-8"></script>

받는 쪽에
request.setCharacterEncoding("utf-8");

Posted by 저기요씨