nexacro 구현중

- 백업
This commit is contained in:
hiphop5782
2020-12-04 14:51:41 +09:00
parent 90b9bf7875
commit a958c46154
421 changed files with 558430 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package com.hacademy.nexacrospring.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -13,6 +14,7 @@ import com.nexacro.uiadapter17.spring.core.data.NexacroResult;
* - 매핑 구현 시 NexacroResult를 반환하도록 구현
*/
@Controller
@CrossOrigin
@RequestMapping("/nexacro")
public class NexacroController {

View File

@@ -9,7 +9,7 @@ import lombok.NoArgsConstructor;
@Data @NoArgsConstructor @AllArgsConstructor @Builder
public class Emp {
private int empNo;
private int empId;
private String empName;
private int salary;
private Date hireDate;

View File

@@ -0,0 +1,91 @@
(function()
{
return function()
{
this.on_loadAppVariables = function()
{
var obj = null;
// global dataset
// global variable
obj = null;
};
// property, event, createMainFrame
this.on_initApplication = function()
{
// properties
this.set_id("Application_Desktop");
this.set_screenid("Desktop_screen");
if (this._is_attach_childframe)
return;
// frame
var mainframe = this.createMainFrame("mainframe","0","0","1280","720",null,null,this);
mainframe.set_showtitlebar("true");
mainframe.set_showstatusbar("true");
mainframe.set_titletext("TopLeftFrame");
mainframe.on_createBodyFrame = this.mainframe_createBodyFrame;
// tray
};
this.loadPreloadList = function()
{
};
this.mainframe_createBodyFrame = function()
{
var frame0 = new VFrameSet("VFrameSet00",null,null,null,null,null,null,this);
frame0.set_separatesize("50,*");
this.addChild(frame0.name, frame0);
this.frame=frame0;
var frame1 = new ChildFrame("TopFrame",null,null,null,null,null,null,"FrameBase::Form_Top.xfdl",frame0);
frame1.set_showtitlebar("false");
frame1.set_showstatusbar("false");
frame0.addChild(frame1.name, frame1);
frame1.set_formurl("FrameBase::Form_Top.xfdl");
var frame2 = new HFrameSet("HFrameSet00",null,null,null,null,null,null,frame0);
frame2.set_separatesize("200,*");
frame0.addChild(frame2.name, frame2);
var frame3 = new ChildFrame("LeftFrame",null,null,null,null,null,null,"FrameBase::Form_Left.xfdl",frame2);
frame3.set_showtitlebar("false");
frame3.set_showstatusbar("false");
frame2.addChild(frame3.name, frame3);
frame3.set_formurl("FrameBase::Form_Left.xfdl");
var frame4 = new ChildFrame("WorkFrame",null,null,null,null,null,null,"FrameBase::Form_Work.xfdl",frame2);
frame4.set_showtitlebar("false");
frame4.set_showstatusbar("false");
frame2.addChild(frame4.name, frame4);
frame4.set_formurl("FrameBase::Form_Work.xfdl");
};
this.on_initEvent = function()
{
};
// script Compiler
this.checkLicense("");
this.loadPreloadList();
this.loadIncludeScript("Application_Desktop.xadl");
};
}
)();

View File

@@ -0,0 +1,87 @@
(function()
{
return function()
{
if (!this._is_form)
return;
var obj = null;
this.on_create = function()
{
this.set_name("EmpList");
this.set_titletext("New Form");
if (Form == this.constructor)
{
this._setFormPosition(1280,720);
}
// Object(Dataset, ExcelExportObject) Initialize
obj = new Dataset("dsEmp", this);
obj._setContents("<ColumnInfo><Column id=\"empId\" type=\"INT\" size=\"38\"/><Column id=\"empName\" type=\"STRING\" size=\"21\"/><Column id=\"salary\" type=\"INT\" size=\"38\"/><Column id=\"hireDate\" type=\"DATE\" size=\"256\"/><Column id=\"phoneNumber\" type=\"STRING\" size=\"11\"/><Column id=\"email\" type=\"STRING\" size=\"50\"/><Column id=\"position\" type=\"STRING\" size=\"30\"/><Column id=\"dept\" type=\"STRING\" size=\"30\"/></ColumnInfo>");
this.addChild(obj.name, obj);
// UI Components Initialize
obj = new Static("Static00","41","33","149","82",null,null,null,null,null,null,this);
obj.set_taborder("0");
obj.set_text("사원 조회");
obj.set_font("30px/normal \"Gulim\"");
this.addChild(obj.name, obj);
obj = new Grid("Grid00","40","194","1200","453",null,null,null,null,null,null,this);
obj.set_taborder("1");
obj.set_binddataset("dsEmp");
obj._setContents("<Formats><Format id=\"default\"><Columns><Column size=\"100\"/><Column size=\"150\"/><Column size=\"120\"/><Column size=\"150\"/><Column size=\"200\"/><Column size=\"240\"/><Column size=\"120\"/><Column size=\"120\"/></Columns><Rows><Row size=\"24\" band=\"head\"/><Row size=\"24\"/></Rows><Band id=\"head\"><Cell text=\"empId\"/><Cell col=\"1\" text=\"empName\"/><Cell col=\"2\" text=\"salary\"/><Cell col=\"3\" text=\"hireDate\"/><Cell col=\"4\" text=\"phoneNumber\"/><Cell col=\"5\" text=\"email\"/><Cell col=\"6\" text=\"position\"/><Cell col=\"7\" text=\"dept\"/></Band><Band id=\"body\"><Cell text=\"bind:empId\"/><Cell col=\"1\" text=\"bind:empName\"/><Cell col=\"2\" text=\"bind:salary\"/><Cell col=\"3\" text=\"bind:hireDate\"/><Cell col=\"4\" text=\"bind:phoneNumber\"/><Cell col=\"5\" text=\"bind:email\"/><Cell col=\"6\" text=\"bind:position\"/><Cell col=\"7\" text=\"bind:dept\"/></Band></Format></Formats>");
this.addChild(obj.name, obj);
// Layout Functions
//-- Default Layout : this
obj = new Layout("default","",1280,720,this,function(p){});
obj.set_mobileorientation("landscape");
this.addLayout(obj.name, obj);
// BindItem Information
};
this.loadPreloadList = function()
{
};
// User Script
this.registerScript("EmpList.xfdl", function() {
this.EmpList_onload = function(obj,e)
{
//시작 시 전체 목록을 조회하여 화면에 출력
var id = "emp_list";
var url = "http://localhost:8080/nexacrospring/nexacro/list";
var reqDs = "";
var resDs = "dsEmp=list";
var args = "";
var callback = "displayList";
this.transaction(id, url, reqDs, resDs, args, callback);
};
this.displayList = function(id, code, message){
};
});
// Regist UI Components Event
this.on_initEvent = function()
{
this.addEventHandler("onload",this.EmpList_onload,this);
};
this.loadIncludeScript("EmpList.xfdl");
this.loadPreloadList();
// Remove Reference
obj = null;
};
}
)();

View File

@@ -0,0 +1,64 @@
(function()
{
return function()
{
if (!this._is_form)
return;
var obj = null;
this.on_create = function()
{
this.set_name("Form_Left");
this.set_titletext("Form_Left");
if (Form == this.constructor)
{
this._setFormPosition(200,670);
}
// Object(Dataset, ExcelExportObject) Initialize
// UI Components Initialize
obj = new ListBox("ListBox00","25","36","148","434",null,null,null,null,null,null,this);
obj.set_taborder("0");
this.addChild(obj.name, obj);
// Layout Functions
//-- Default Layout : this
obj = new Layout("default","Desktop_screen",200,670,this,function(p){});
this.addLayout(obj.name, obj);
// BindItem Information
};
this.loadPreloadList = function()
{
};
// User Script
this.registerScript("Form_Left.xfdl", function() {
this.ListBox00_onitemchanged = function(obj,e)
{
};
});
// Regist UI Components Event
this.on_initEvent = function()
{
this.ListBox00.addEventHandler("onitemchanged",this.ListBox00_onitemchanged,this);
};
this.loadIncludeScript("Form_Left.xfdl");
this.loadPreloadList();
// Remove Reference
obj = null;
};
}
)();

View File

@@ -0,0 +1,59 @@
(function()
{
return function()
{
if (!this._is_form)
return;
var obj = null;
this.on_create = function()
{
this.set_name("Form_Top");
this.set_titletext("Form_Top");
if (Form == this.constructor)
{
this._setFormPosition(1280,60);
}
// Object(Dataset, ExcelExportObject) Initialize
// UI Components Initialize
obj = new Static("Static00","16","10","348","42",null,null,null,null,null,null,this);
obj.set_taborder("0");
obj.set_text("Nexacro Spring 연동 예제");
obj.set_font("25px/normal \"Gulim\"");
this.addChild(obj.name, obj);
// Layout Functions
//-- Default Layout : this
obj = new Layout("default","Desktop_screen",1280,60,this,function(p){});
this.addLayout(obj.name, obj);
// BindItem Information
};
this.loadPreloadList = function()
{
};
// User Script
// Regist UI Components Event
this.on_initEvent = function()
{
};
this.loadIncludeScript("Form_Top.xfdl");
this.loadPreloadList();
// Remove Reference
obj = null;
};
}
)();

View File

@@ -0,0 +1,65 @@
(function()
{
return function()
{
if (!this._is_form)
return;
var obj = null;
this.on_create = function()
{
this.set_name("Form_Work");
this.set_titletext("Form_Work");
if (Form == this.constructor)
{
this._setFormPosition(1080,670);
}
// Object(Dataset, ExcelExportObject) Initialize
// UI Components Initialize
obj = new Button("Button00","60","30","179","60",null,null,null,null,null,null,this);
obj.set_taborder("0");
obj.set_text("목록");
this.addChild(obj.name, obj);
// Layout Functions
//-- Default Layout : this
obj = new Layout("default","Desktop_screen",1080,670,this,function(p){});
this.addLayout(obj.name, obj);
// BindItem Information
};
this.loadPreloadList = function()
{
};
// User Script
this.registerScript("Form_Work.xfdl", function() {
this.Button00_onclick = function(obj,e)
{
this.go("Base::EmpList.xfdl");
};
});
// Regist UI Components Event
this.on_initEvent = function()
{
this.Button00.addEventHandler("onclick",this.Button00_onclick,this);
};
this.loadIncludeScript("Form_Work.xfdl");
this.loadPreloadList();
// Remove Reference
obj = null;
};
}
)();

Binary file not shown.

After

Width:  |  Height:  |  Size: 1014 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1017 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 980 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 972 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 988 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 991 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1002 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 935 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 948 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 941 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 945 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 962 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 968 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 966 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 961 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 960 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 943 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1019 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 974 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1008 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1003 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 940 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 937 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 997 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 991 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 954 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 938 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

Some files were not shown because too many files have changed in this diff Show More