전체 글(848)
-
Spring boot mapping 설정
Class 차원에서 mapping 설정@RestController@RequestMapping("/image")public class ImageController extends HttpServlet {Method 차원에서 mapping 설정@RequestMapping("/one")public Member getOne(String test) {// GET 방식@GetMapping("/one")public void getOne(String test) {// POST 방식@PostMapping("/one")public void getOne(String test) {
2024.10.01 -
Style Sheet mouse cursor
Setting
2024.10.01 -
Sencha panel title click시, 화면 refresh하기
{ xtype: 'panel', width: leftWidth, bodyStyle: 'background-color:black', html: ' Home', listeners: { click: { element: 'el', fn: function() { window.location.reload(); } } }},
2024.10.01 -
Sencha panel에 서버에서 받은 정보를 화면 구성시 출력하기
{ xtype: 'panel', bodyStyle: 'background-color:black', listeners: { afterrender: function(panel) { Ext.Ajax.request({ url: '/test/abc', success: function(response) { let abc = Ext.decode(response.responseText); let html = ''+ abc.name +'('+ abc.tel +')'; panel.update(html); ..
2024.10.01 -
Sencha textfield xtype 접근하기
Ext.define('Home.view.main.MyPage', { extend: 'Ext.form.Panel', alias: 'widget.mypage', items: [ { xtype: 'textfield', itemId: 'name', name: 'name', fieldLabel: 'Name', allowBlank: false, // Can't directly call test() here, value will be set later } ], listeners: { afterrender: function(form) { ..
2024.10.01 -
Sencha 컴포넌트(xtype)의 config에 스크립트로 값 지정하기
센차는 xtype 초기화 시점에 config의 값이 지정되기 때문에, 스크립트로 직접 xtype의 config 값을 지정할 수 없음afterrender 또는 init 메소드가 호출되는 시점에 지정할 수 있음Ext.define('Home.view.main.Test', { extend: 'Ext.form.Panel', alias: 'widget.test', items: [ { xtype: 'textfield', itemId: 'name', name: 'name', fieldLabel: 'Name', allowBlank: false, // Can't directly..
2024.10.01