전체 글(850)
-
javascropt overloading 구현
정의function temp(a, b) { if(b != undefined) { console.log(a, b); } else { console.log(a); }}호출temp('abc');temp('edc','aaa');
2024.07.27 -
sencha에 외부 js 파일 import 하기
index.html 파일에 import하면 됨util.jsfunction test() { alert();}호출{ text: 'Login', handler: function() { test(); }}
2024.07.27 -
Object 내용 출력
json 형태인 경우JSON.stringify(object)TypeError: Converting circular structure to JSON가 발생하는 경우# 1단계let form = this.up('form').getForm();let fields = form.getFields(); fields.each(function(field) { let keys = Object.keys(field); keys.forEach(function(key) { console.log(key +": "+ field[key]); });});# 2단계let form = this.up('form').getForm();let fields = form.getFields();fields.each(function(fiel..
2024.07.23 -
Main을 원하는 대로 변경
화면에 아무것도 안나오면, 오타 또는 ',' 누락임잘 살펴야 함# Ext.create 필요없음# renderTo: Ext.getBody() 필요없음Ext.define('Home.view.main.Main', {extend: 'Ext.form.Panel', title: 'Hello', width: 200, html: 'World!',});
2024.07.21 -
Spring boot Security에서 sencha 예외 처리
로그인 전에 sencha 화면이 나오게 하려면 아래와 같이 url 예외처리 해줘야 함 String[] exceptUrl = { "/*.js", "/*.json", "/build/**", "/ext/build/**", "/ext/classic/**", "/app/**", "/classic/**" } @Bean public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception { http.authorizeHttpRequests((requests) -> requests .requestMatchers(exceptUrl).permitAll() .anyRequest().authe..
2024.07.20 -
Style Sheet 참조
https://m.blog.naver.com/bohww/70021871246 스타일 시트란?제1장 스타일 시트란? ㅁ 스타일 시트는 글꼴의 크기나 모양, 컬러 그리고 문단 설정을 미리 정의해 스타일...blog.naver.com링크 참조
2024.07.20