text
stringlengths 243
4.38k
|
|---|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 설치 패키지는 어떻게 설치하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오는 넥사크로 설치 패키지에 포함되어 배포됩니다.
배포된 Setup 파일을 실행하면 설치 과정이 진행됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 Setup 파일의 버전은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Setup 파일은 32비트, 64비트 버전을 지원합니다.
32비트: NexacroN_SetupStudio.exe
64비트: NexacroN_SetupStudio_x64.exe
두 가지 버전을 모두 설치할 수는 없습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오를 32비트에서 64비트로 어떻게 업데이트하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
기존에 설치된 넥사크로 스튜디오 32비트 버전을 64비트 버전으로 업데이트할 경우에는 32비트 버전을 삭제하고 64비트 버전을 설치해야 합니다.
업데이트 시 기존 버전에서 사용하던 옵션, 프로젝트 목록 등 정보는 그대로 유지됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오를 설치할 때 주의해야 할 점은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Setup 파일 실행 시 보안경고창이 나타날 수 있습니다. 반드시 ‘실행’을 선택해 주시기 바랍니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오는 어떻게 설치하죠?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
바탕 화면에 단축 아이콘을 만들고자 한다면 '바탕 화면에 ~ 아이콘 생성' 항목을 체크합니다. 'Nexacro 실행환경 설치'는 최초 설치 시에는 체크되어야 하는 항목이며 기존 SDK를 유지하고 개발도구만 업데이트하는 경우에는 체크하지 않습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 설치가 완료되면 어떤 과정을 거치나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
[종료] 버튼을 클릭하여 프로그램 설치를 완료합니다.
'Nexacro Studio 실행' 항목이 체크된 경우에는 설치 완료 후 넥사크로 스튜디오를 실행합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 설치 후 생성되는 파일들은 어떤 것들이 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오를 설치한 폴더 내 생성되는 주요 파일과 폴더는 아래와 같습니다.| SDK > <version> | ||----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|| 폴더명 | 설명 || help | - 넥사크로 도움말 폴더\n컴파일된 HTML 도움말 파일(compiled html help, CHM)로 제공합니다.\n넥사크로 스튜디오는 운영체제 '시스템 로컬 설정'에 따라 해당하는 한국어, 영어 도움말 파일을 실행합니다 || nexacrolib | - 넥사크로 라이브러리 폴더\n설치된 버전의 라이브러리 파일이 포함된 폴더입니다.\nmetainfo 파일을 포함하고 있습니다. metainfo 파일은 넥사크로 스튜디오에서만 사용하는 파일이며 배포 대상은 아닙니다. || embedded | - 넥사크로 스튜디오 내에서 사용하는 넥사크로 앱\n그리드 콘텐츠 에디터나 에뮬레이터처럼 넥사크로를 사용해 만든 기능 관련 소스 코드가 저장된 폴더입니다. || SetupRuntime | 빌드 시 참조할 운영체제별 모듈 파일이 포함된 폴더입니다. || theme | - 테마 폴더\n넥사크로 스튜디오 테마, 운영체제별 기본 테마 파일이 포함된 폴더입니다. || 파일명 | 설명 || nexacro.exe | - NRE 실행 파일 || ResourceUpdater_x64.exe\nResourceUpdater_x86.exe | - NRE 배포 파일 생성 실행 파일 || nexacromigrator.exe | - 이전 버전 프로젝트 마이그레이션 실행 파일 || Tools | ||----------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------|| 폴더명 | 설명 || license | - 라이선스 관련 문서 폴더\n제품 라이선스, 오픈소스 라이선스 관련 문서 파일이 포함된 폴더입니다. || 파일명 | 설명 || nexacrodeploy.exe | - 프로젝트 제너레이트, 난독화 실행 파일 || nexacroemulator.exe | - 에뮬레이터 실행 파일 || nexacrostudio.exe | - 넥사크로 스튜디오 실행 파일 || nexacromoduledeveloper.exe | - 넥사크로 모듈 디벨로퍼 실행 파일 || caddy.exe | - 로컬 웹 서버 실행 파일 |<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK의 <version> 폴더 안에 있는 주요 파일은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
## SDK > \<version\>
| 폴더명 | 설명 |
|--------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
| help | - 넥사크로 도움말 폴더\n컴파일된 HTML 도움말 파일(compiled html help, CHM)로 제공합니다.\n넥사크로 스튜디오는 운영체제 '시스템 로컬 설정'에 따라 해당하는 한국어, 영어 도움말 파일을 실행합니다 |
| nexacrolib | - 넥사크로 라이브러리 폴더\n설치된 버전의 라이브러리 파일이 포함된 폴더입니다.\nmetainfo 파일을 포함하고 있습니다. metainfo 파일은 넥사크로 스튜디오에서만 사용하는 파일이며 배포 대상은 아닙니다. |
| embedded | - 넥사크로 스튜디오 내에서 사용하는 넥사크로 앱\n그리드 콘텐츠 에디터나 에뮬레이터처럼 넥사크로를 사용해 만든 기능 관련 소스 코드가 저장된 폴더입니다. |
| SetupRuntime | 빌드 시 참조할 운영체제별 모듈 파일이 포함된 폴더입니다. |
| theme | - 테마 폴더\n넥사크로 스튜디오 테마, 운영체제별 기본 테마 파일이 포함된 폴더입니다. |
| 파일명 | 설명 |
| nexacro.exe | - NRE 실행 파일 |
| ResourceUpdater_x64.exe\nResourceUpdater_x86.exe | - NRE 배포 파일 생성 실행 파일 |
| nexacromigrator.exe | - 이전 버전 프로젝트 마이그레이션 실행 파일 |<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 Tools 폴더에 생성되는 주요 파일은 무엇이야?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
## Tools
| 폴더명 | 설명 |
|----------|------------------------------------------------------------------------------------------------------------------------------------|
| license | - 라이선스 관련 문서 폴더\n제품 라이선스, 오픈소스 라이선스 관련 문서 파일이 포함된 폴더입니다. |
| 파일명 | 설명 |
| nexacrodeploy.exe | - 프로젝트 제너레이트, 난독화 실행 파일 |
| nexacroemulator.exe | - 에뮬레이터 실행 파일 |
| nexacrostudio.exe | - 넥사크로 스튜디오 실행 파일 |
| nexacromoduledeveloper.exe | - 넥사크로 모듈 디벨로퍼 실행 파일 |
| caddy.exe | - 로컬 웹 서버 실행 파일 |<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK <version> 폴더 안의 help 폴더에는 어떤 내용이 들어있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
- 넥사크로 도움말 폴더
- 컴파일된 HTML 도움말 파일(compiled html help, CHM)로 제공합니다.
- 넥사크로 스튜디오는 운영체제 "시스템 로컬 설정"에 따라 해당하는 한국어, 영어 도움말 파일을 실행합니다<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK <version> 폴더의 nexacrolib 폴더에는 어떤 파일들이 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
- 넥사크로 라이브러리 폴더
- 설치된 버전의 라이브러리 파일이 포함된 폴더입니다.
- metainfo 파일을 포함하고 있습니다. metainfo 파일은 넥사크로 스튜디오에서만 사용하는 파일이며 배포 대상은 아닙니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK <version> 폴더 안 nexacrolib 폴더는 무슨 역할을 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
- 넥사크로 스튜디오 내에서 사용하는 넥사크로 앱
- 그리드 콘텐츠 에디터나 에뮬레이터처럼 넥사크로를 사용해 만든 기능 관련 소스 코드가 저장된 폴더입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK <version> 폴더의 SetupRuntime 폴더에는 무엇이 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
- 빌드 시 참조할 운영체제별 모듈 파일이 포함된 폴더입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK <version> 폴더 안 theme 폴더에는 무엇이 포함되어 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
- 테마 폴더
- 넥사크로 스튜디오 테마, 운영체제별 기본 테마 파일이 포함된 폴더입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK <version> 폴더에 있는 nexacro.exe 파일은 어떤 역할을 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
NRE 실행 파일<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
ResourceUpdater_x64.exe 파일은 넥사크로 스튜디오 SDK <version> 폴더에서 어떤 용도로 사용되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
NRE 배포 파일 생성 실행 파일<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
ResourceUpdater_x86.exe 파일은 무엇에 사용되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
NRE 배포 파일 생성 실행 파일<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 SDK <version> 폴더의 nexacromigrator.exe 파일은 어떤 기능을 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
이전 버전 프로젝트 마이그레이션 실행 파일<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 Tools 폴더의 license 폴더는 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
- 라이선스 관련 문서 폴더
- 제품 라이선스, 오픈소스 라이선스 관련 문서 파일이 포함된 폴더입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
nexacrodeploy.exe 파일은 어떤 용도로 사용되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
파일프로젝트 제너레이트, 난독화 실행<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
nexacroemulator.exe 파일은 무슨 역할을 하죠?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
파일에뮬레이터 실행<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 Tools 폴더 안 nexacrostudio.exe 파일은 어디에 사용되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
파일넥사크로 스튜디오 실행<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
nexacromoduledeveloper.exe 파일은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
파일넥사크로 모듈 디벨로퍼 실행<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 Tools 폴더에 있는 caddy.exe 파일은 어떻게 사용되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
파일로컬 웹 서버 실행<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 설치 파일을 사용할 때 주의해야 할 사항이 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
설치하는 제품 버전에 따라 설치된 파일 목록이 일부 변경될 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 64비트용 실행 파일은 어떻게 확인할 수 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
64비트 운영체제를 사용하고 있다면 SDK 폴더 내 64비트용 실행 파일은 %ProgramFiles% 폴더에도 설치됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 버전은 어디에서 확인할 수 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오의 메뉴[Help > About Nexacro Studio]를 선택하면 설치된 넥사크로 스튜디오의 버전과 등록된 라이선스 정보를 확인할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 체험판은 어떻게 사용할 수 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오를 처음 설치하면 60일 동안 사용할 수 있는 체험판으로 설정됩니다. 최초 실행 시 경고 팝업 창이 표시되는데 [OK] 버튼을 클릭하면 다음 단계로 진행할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
"You do not have the appropriate license for running the Nexacro Studio." 메시지가 뜨는 경우 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오를 처음 설치하면 60일 동안 사용할 수 있는 체험판으로 설정됩니다. 최초 실행 시 경고 팝업 창이 표시되는데 [OK] 버튼을 클릭하면 다음 단계로 진행할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 최초 실행 시 제품 키는 어디에 입력하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
제품을 구매한 경우에는 발급받은 Product Key를 입력해 사용할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 실행 환경 설정은 어떻게 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 최초 실행시 Perspective, Command Type, Theme를 설정할 수 있습니다.
설정한 항목은 메뉴[Options > Environment > General > Development Tools]에서 변경할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 실행 환경을 변경하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 실행 환경은[Options > Environment > General > Development Tools]에서 변경할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 라이선스 인증은 어떻게 진행되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오의 메뉴[Help > About Nexacro Studio]를 클릭하고 버전 확인창에서 'Enter New License' 버튼을 클릭합니다. 라이선스 입력 창에는 'Application/Service Name'과 'Developer License Key' 2개 항목을 입력합니다.
정상적인 값이 입력되었다면 아래와 같은 메시지가 뜨면서 라이선스 인증을 처리합니다.
잘못된 값을 입력하거나 이미 인증된 코드를 입력하면 아래와 같은 메시지가 뜨면서 라이선스 인증이 처리되지 않습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 라이선스 인증이 실패하면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
잘못된 값을 입력하거나 이미 인증된 코드를 입력하면 아래와 같은 메시지가 뜨면서 라이선스 인증이 처리되지 않습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오에서 Invalid license key 오류가 발생했을 때 어떻게 해결하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
잘못된 값을 입력하거나 이미 인증된 코드를 입력하면 아래와 같은 메시지가 뜨면서 라이선스 인증이 처리되지 않습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오는 어떻게 실행하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
PC에 설치된 넥사크로 스튜디오를 실행합니다. 설치 과정에서 바탕화면에 아이콘을 생성했다면 해당 아이콘을 더블 클릭해 바로 실행할 수 있습니다.
단축 아이콘을 생성하지 않았다면 넥사크로 스튜디오가 설치된 폴더에서 실행 파일을 더블 클릭해 실행할 수 있습니다. 넥사크로 스튜디오가 설치된 경로는 아래와 같습니다.
C:\[Program Files]\TOBESOFT\Nexacro N\Tools\nexacrostudio.exe<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 실행 파일은 어디에 위치해 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오가 설치된 폴더에서 실행 파일을 더블 클릭해 실행할 수 있습니다. 넥사크로 스튜디오가 설치된 경로는 아래와 같습니다.
C:\[Program Files]\TOBESOFT\Nexacro N\Tools\nexacrostudio.exe<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 화면 구성에서 프로젝트 탐색기는 어떻게 보나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
작업 중인 프로젝트의 구성 요소를 표시합니다
최초 실행 시에는 아무것도 보이지 않습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 Project Explorer는 어떤 역할을 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
작업 중인 프로젝트의 구성 요소를 표시합니다
최초 실행 시에는 아무것도 보이지 않습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 Form Design 창은 어떻게 사용할 수 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 앱 화면 디자인, 스크립트 편집 작업을 수행하는 공간입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 속성 창은 어디에서 볼 수 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
폼, 컴포넌트, Dataset 컴포넌트의 속성을 보여주고 편집할 수 있는 공간입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
Properties 창은 어떤 기능을 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
폼, 컴포넌트, Dataset 컴포넌트의 속성을 보여주고 편집할 수 있는 공간입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 Output 창은 어디에 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
오류 메시지나 Generate 메시지, trace() 메소드로 설정한 메시지를 보여주는 공간입니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 Error List는 어떤 정보를 제공하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
스크립트 작성 중 오류를 실시간으로 확인하고 표시합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 프로젝트는 어떻게 생성하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 프로젝트를 만들기 위한 메뉴는 아래와 같습니다.
New Project Wizard가 실행되며 순서에 따라 새로운 프로젝트를 만듭니다.
프로젝트는 새로 만들거나 이미 만들어진 템플릿 프로젝트를 사용할 수 있습니다
[Menu] File > New > Project
프로젝트 생성
1. 새로운 프로젝트를 만들기 위해서는 프로젝트 이름과 프로젝트 파일을 저장할 위치를 지정해주어야 합니다.
'Name' 항목에 프로젝트 이름을 지정하고 'Location' 항목에 저장할 위치를 지정합니다.
2. Screen 항목과 Screen Detail 항목을 설정합니다.
3. Frame 항목을 선택합니다. "Full" 옵션을 선택하면 기본 프레임 구조와 Form을 생성합니다.
* Screen 관련 설정이나 Frame 설정은 프로젝트 생성 후에 수정할 수 있습니다.
4. [Finish] 버튼을 클릭해 프로젝트를 생성합니다.
프로젝트가 만들어지면서 프로젝트 탐색창에 프로젝트 구성 요소가 표시됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로에서 작업하는 방식은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
모든 작업은 메뉴 또는 툴바, 단축키로 실행할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 프로젝트의 기본 경로는 어디에 설정되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Location 항목을 따로 지정해주지 않으면 아래 경로로 자동 지정됩니다.
C:\Users\[User]\Documents\TOBESOFT\Nexacro N\projects\<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 앱의 Form 크기는 어떻게 조정하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
디자인 화면에서 컴포넌트를 제외한 영역을 클릭하면 Form이 선택됩니다. 속성창에서 width, height 속성값을 수정하고 저장합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오 툴바는 어떻게 사용하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
화면에 나타나는 툴바는 [View > Toolbars] 메뉴에서 설정할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 앱에서 글자는 어떻게 표기하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 앱에서 글자를 표기할 때는 Static 컴포넌트를 사용합니다. 'Objects' 툴바에서 Static 컴포넌트 를 마우스로 선택하고 Form Design 창에서 배치하기 원하는 위치를 마우스로 클릭하면 기본값으로 정해진 크기로 Static 컴포넌트가 배치됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 스튜디오의 Form Design 창을 활성화하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Project Explorer 하단에 생성된 Form_Work 항목을 더블 클릭하면 Form Design 창이 활성화됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 컴포넌트를 배치하고 크기를 조정하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
컴포넌트를 Form Design 창에 배치할 때 크기를 조정하고자 한다면
'Objects' 툴바에서 컴포넌트를 마우스로 선택하고 컴포넌트를 그리기 시작할 위치에서 마우스 왼쪽 버튼을 누른 상태에서 마우스를 드래그하면 원하는 크기로 컴포넌트를 배치할 수 있습니다.
컴포넌트를 배치한 이후에도 마우스로 컴포넌트를 선택하고 컴포넌트의 크기를 조정할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 컴포넌트의 크기를 어떻게 조정할 수 있나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
마우스로 컴포넌트를 선택하고 컴포넌트의 크기를 조정할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 Static 컴포넌트의 텍스트는 어떻게 수정하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
- Form Design 창
Static 컴포넌트의 텍스트를 수정할 때는 컴포넌트를 선택한 후 단축키(F2)를 누르면 편집 모드로 전환되며 직접 수정할 수 있습니다.
- 속성 창
Static 컴포넌트를 선택하고 속성 창에서 text 속성 항목을 수정합니다.
수정할 속성명을 알고 있는 경우에는 찾기 원하는 문자열을 검색창에 입력하면 원하는 항목을 바로 찾을 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 onclick 이벤트 스크립트는 어떻게 편집하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
컴포넌트를 더블 클릭하면 onclick 이벤트 스크립트 편집창으로 이동합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 Quick View NRE(Nexacro Runtime Environment)는 어떻게 실행하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
작성한 넥사크로 앱을 확인하고 싶다면 Quick View를 사용합니다.
[Menu] Generate > Quick View
실행 옵션을 설정할 수 있는 창이 표시됩니다.
Browser 항목에서 Nexacro Runtime Environment를 선택 후 Run 버튼을 클릭합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 Quick View를 실행하려명 어떻게 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Quick View를 통해서 작성한 넥사크로 앱을 확인할 수 있습니다.
[Menu] Generate > Quick View
Quick View 환경 설정 후 Run버튼을 눌러 앱을 실행 할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 Quick View를 사용해 앱을 확인하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Quick View를 통해서 작성한 넥사크로 앱을 확인할 수 있습니다.
[Menu] Generate > Quick View
Quick View 환경 설정 후 Run버튼을 눌러 앱을 실행 할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 앱을 만들고 이벤트를 추가하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오에서 Static 컴포넌트를 선택하고 속성창에서 [Event] 아이콘 선택 후 onclick 항목 입력창을 더블클릭하거나 Form Design 창에서 해당 컴포넌트를 더블클릭해주면 됩니다.작업 창에 Form Script 창으로 전환되면서 이벤트를 지정하는 함수가 자동으로 만들어집니다.``` nexacro(this.Static00_onclick = function(obj:nexacro.Static,e:nexacro.ClickEventInfo){};)<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 WRE(Web Runtime Environment)에서 앱을 실행하려면 어떻게 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
작성한 넥사크로 앱을 확인하고 싶다면 Quick View를 사용합니다.
[Menu] Generate > Quick View
실행 옵션을 설정할 수 있는 창이 표시됩니다.
Browser 항목에서 실행할 웹브라우저를 선택합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로에서 로컬 웹서버를 사용하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오 설치 후 기본 옵션은 로컬 웹서버를 사용하도록 설정됩니다. 로컬 웹서버를 사용하는 경우에는 별도의 설정 없이 넥사크로 스튜디오에서 'Launch' 또는 'Quick View' 실행 시 웹브라우저를 선택한 경우에는 로컬 웹서버가 자동으로 실행되고 넥사크로 스튜디오를 종료하면 자동으로 로컬 웹서버도 종료됩니다.
로컬 웹서버 실행 시 서버에서 출력하는 메시지는 넥사크로 스튜디오 Output 창에서 확인할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 앱을 아파치 톰캣과 연결하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
컨텍스트 파일은 넥사크로 스튜디오에서 Generate Path를 지정하고 해당 경로를 톰캣과 연결해주는 역할을 합니다. 톰캣이 설치된 경로 아래에 지정된 폴더에 XML 파일로 만든 컨텍스트 파일을 추가해줍니다.
C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost
XML 파일을 아래와 같이 생성합니다. path 항목에는 URL 주소에 포함될 문자열을 입력하고 docBase 항목에는 Generate Path로 지정된 경로를 입력합니다. 아래와 같이 path 항목을 지정한 경우에 연결되는 URL은 http://localhost:8080/Hello/... 형식이 됩니다. 생성하는 파일명은 path 항목에 입력한 이름과 같아야 합니다. 아래 예제에서는 Hello.xml 파일을 생성합니다.
``` nexacro
(코드 - Hello.xml)<Context path='/Hello' docBase='E:\88_TEST\02_BUILD\Hello' debug='0' prvileged='true' reloadable='true'> <Logger className='org.apache.catalina.logger.FileLogger' directory='logs' prefix='localhost_log.' suffix='.txt' timestame='true'/></Context>
노트:
XML 파일은 윈도우 운영체제의 메모장이나 설치된 에디터 프로그램에서 새로 만들 수 있습니다. 넥사크로 스튜디오를 실행한 경우에는 넥사크로 스튜디오 메뉴에서 [File > New > XML(.xml)] 항목을 선택해 파일을 새로 만들 수 있습니다.
노트:
컨텍스트 파일은 프로젝트마다 따로 생성해주거나 하나의 컨텍스트 파일을 가지고 여러개의 프로젝트를 관리할 수도 있습니다. 이후 예제에서는 프로젝트마다 컨텍스트 파일을 생성하는 것으로 안내하고 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
아파치 톰캣에서 넥사크로 앱을 확인하려면 어떻게 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
로컬 웹서버가 아닌 다른 웹서버 또는 WAS를 사용하는 경우에는 Web Server 설정을 해주어야 합니다. 메뉴[Tools > Options > Project > Launch > Web Server] 항목에 URL을 설정해주면 이후 실행 시 해당 경로 기준으로 실행이 됩니다.
윈도우 트레이 영역에서 'Exit' 항목을 선택해주면 톰캣 서비스가 종료됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 데이터셋 컴포넌트는 어떻게 사용하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
데이터셋 컴포넌트는 넥사크로 앱 내에서 데이터를 관리하는 기능을 제공합니다. 사용자가 입력하거나 서버에서 가져온 데이터를 보관하고 데이터의 변경(추가/수정/삭제) 상태를 관리합니다.
데이터셋은 2차원 테이블 형태로 데이터를 관리합니다. 컬럼(Column) 구조로 로우(Row, Record) 단위로 데이터를 다룰 수 있습니다. 하나의 폼에는 여러 개의 데이터셋을 가질 수 있으며 GlobalVariables로 데이터셋을 만들어 여러 폼에서 공동으로 사용할 수도 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 데이터셋 컴포넌트를 생성하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 스튜디오 툴바에서 데이터셋 을 선택한 상태에서 디자인 영역 아무 곳이나 클릭하면 데이터셋이 추가됩니다. 데이터셋은 화면에 보이는 컴포넌트가 아니라 내부에서 데이터 관리를 위해 사용되는 컴포넌트이기 때문에 Invisible Objects 항목으로 관리됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 데이터셋 콘텐츠 에디터는 어떤 기능을 제공하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
일반적인 컴포넌트는 속성창에서 관련된 속성을 수정하지만 데이터셋은 데이터를 다루기 위한 추가적인 도구로 데이터셋 콘텐츠 에디터가 제공됩니다.
데이터셋 콘텐츠 에디터는 2차원 테이블 형태로 데이터를 관리하기 위해 컬럼을 디자인하고 데이터를 직접 추가할 수 있는 기능을 제공합니다. 데이터셋을 더블클릭하면 데이터셋 콘텐츠 에디터가 나타납니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 데이터셋을 추가하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
데이터셋에서 데이터를 관리하기 위해서는 사용할 컬럼을 추가해주어야 합니다. Columns 항목에서 [Add column to the dataset] 버튼을 클릭해 컬럼을 추가합니다.
Rows 항목에서 테스트를 위한 데이터를 추가할 수 있습니다. 데이터를 추가하는 방법은 컬럼을 추가하는 방법과 같습니다.
추가된 항목은 데이터셋 콘텐츠 에디터에서 소스 코드로 확인할 수 있습니다. 소스 코드를 직접 수정해도 데이터셋 컬럼에 반영됩니다.
<예시>
``` nexacro
(
<ColumnInfo>
<Column id='id' type='STRING' size='4'/>
<Column id='name' type='STRING' size='16'/>
<Column id='email' type='STRING' size='32'/>
<Column id='phone' type='STRING' size='16'/>
<Column id='comp_name' type='STRING' size='32'/>
<Column id='department' type='STRING' size='32'/>
<Column id='comp_phone' type='STRING' size='16'/>
<Column id='comp_addr' type='STRING' size='256'/>
</ColumnInfo>)<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로의 Div 컴포넌트는 어떻게 활용하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Div 컴포넌트는 여러 개의 컴포넌트를 감싸주는 역할을 합니다. Div 컴포넌트를 먼저 배치하고 안에 들어갈 컴포넌트를 배치해야 합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드에 데이터를 바인딩하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
화면에 배치된 그리드에 데이터를 보여주기 위해서는 데이터셋을 연결해주어야 합니다.
그리드에 데이터셋을 연결하면 데이터를 보여주는 것뿐 아니라 그리드 내에서 직접 데이터를 수정하거나 입력할 수 있으며 변경된 데이터는 데이터셋에 바로 반영됩니다.
그리드에 데이터셋을 연결하는 방법은 binddataset 속성값에 데이터셋 id값을 지정해주거나 넥사크로 스튜디오 화면 위에서 데이터셋 컴포넌트를 마우스로 클릭하고 그리드 컴포넌트 위로 드래그해서 옮겨줍니다.
binddataset 속성값이 해당 데이터셋 id로 지정되면 formats 속성에 데이터셋 컬럼을 기준으로 값이 만들어집니다. 그리고 화면 위에서도 데이터셋 컬럼을 기준으로 그리드 모양이 바뀐 것을 확인할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드 콘텐츠 에디터(Grid Contents Editor)는 어떤 기능을 제공하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
그리드와 데이터셋을 연결하면서 자동으로 formats 속성값이 만들어졌지만 다른 형식으로 데이터를 표기하기를 원한다면 그리드 콘텐츠 에디터에서 원하는 형식을 만들 수 있습니다. 그리드를 더블클릭하거나 속성창에서 formats 속성과 연결된 버튼을 클릭하면 그리드 콘텐츠 에디터가 실행됩니다.
그리드 콘텐츠 에디터는 그리드에 데이터를 어떻게 보여줄지를 편집할 수 있는 공간입니다. 데이터를 보여주는 형식만 다루며 실제 데이터셋에 영향을 주지는 않습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드의 Head Row를 추가하려면 어떻게 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
머리 행을 추가 하려면 그리드 콘텐츠 에디터 상단 툴바에서 [Add Head Row] 항목을 선택합니다.
머리 행을 추가하고 나면 기본적으로 1개의 컬럼이 만들어지면서 Add Column 항목이 활성화됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드에 머리행을 추가하는 방법은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
머리 행을 추가 하려면 그리드 콘텐츠 에디터 상단 툴바에서 [Add Head Row] 항목을 선택합니다.
머리 행을 추가하고 나면 기본적으로 1개의 컬럼이 만들어지면서 Add Column 항목이 활성화됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드의 Column을 추가하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
머리 행을 추가하고 나면 기본적으로 1개의 컬럼이 만들어지면서 Add Column 항목이 활성화됩니다. Add Column 항목을 선택해 컬럼을 추가합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드에 컬럼을 추가하는 방법을 알려주세요.<|eot_id|><|start_header_id|>assistant<|end_header_id|>
머리 행을 추가하고 나면 기본적으로 1개의 컬럼이 만들어지면서 Add Column 항목이 활성화됩니다. Add Column 항목을 선택해 컬럼을 추가합니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드의 Body Row를 추가하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
본문 행은 Add Body Row 항목을 선택해 추가할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드 본문행을 추가하는 방법은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
본문 행은 Add Body Row 항목을 선택해 추가할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드에서 셀을 병합하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
머리 행에 있는 셀을 선택하고 에디터 툴바에서 [Merge Cells] 항목을 선택합니다. 여러 개의 셀을 선택할 때는 하나의 셀을 선택한 후에 마우스를 드래그하거나 Shift키를 누른 채 다른 셀을 선택합니다.
[Merge Cells] 항목은 2가지 옵션이 있습니다. [Merge Cells(A big cell)]은 각 셀 속성을 모두 삭제하고 하나의 셀로 합치는 것이고 [Merge Cells(Having child cells)]는 개별 셀 속성을 그대로 유지한 상태에서 하나의 셀처럼 보이도록 합치는 것입니다.
주의:
Ctrl키를 누른 상태에서 합쳐질 셀을 선택할 수 있습니다. 하지만 컬럼과 행이 사각형 형태로 선택되지 않은 경우에는 [Merge Cells] 메뉴가 활성화되지 않습니다. 예를 들어 아래의 경우는 합치기 기능을 처리할 수 없습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드의 셀 병합은 어떻게 이루어지나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
머리 행에 있는 셀을 선택하고 에디터 툴바에서 [Merge Cells] 항목을 선택합니다. 여러 개의 셀을 선택할 때는 하나의 셀을 선택한 후에 마우스를 드래그하거나 Shift키를 누른 채 다른 셀을 선택합니다.
[Merge Cells] 항목은 2가지 옵션이 있습니다. [Merge Cells(A big cell)]은 각 셀 속성을 모두 삭제하고 하나의 셀로 합치는 것이고 [Merge Cells(Having child cells)]는 개별 셀 속성을 그대로 유지한 상태에서 하나의 셀처럼 보이도록 합치는 것입니다.
주의:
Ctrl키를 누른 상태에서 합쳐질 셀을 선택할 수 있습니다. 하지만 컬럼과 행이 사각형 형태로 선택되지 않은 경우에는 [Merge Cells] 메뉴가 활성화되지 않습니다. 예를 들어 아래의 경우는 합치기 기능을 처리할 수 없습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 그리드의 컬럼에 바인딩하는 항목을 지정하는 방법은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
아래와 같이 각 컬럼에 해당하는 값을 지정합니다. 해당하는 셀을 선택하고 오른쪽에 보이는 속성 창에서 값을 입력할 수 있습니다.
Grid 컴포넌트와 바인딩된 Dataset이 있는 경우 Dataset에 설정된 컬럼 목록을 에디터에서 확인할 수 있습니다. text 속성에 직접 'bind:id'라는 값을 입력하거나 목록에서 'id' 항목을 선택할 수 있습니다.
값을 입력하고 OK 버튼을 클릭하면 창이 닫히면서 그리드에 수정된 컬럼 형식이 반영됩니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 애플리케이션은 어떻게 생성하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
이제 만들어진 앱을 웹브라우저에서 실행합니다. 먼저 작성된 코드를 자바스크립트 파일로 변환해줍니다. Output 창에서 정상적으로 자바스크립트 파일이 생성되고 있는지 확인할 수 있습니다.
[Menu] Generate > Application<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 애플리케이션을 변경하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
ADL이 아닌 폼을 수정한 경우에는 수정된 폼에 해당하는 파일만 다시 만들면 됩니다. 메뉴에서 Generate Application이 아닌 Generate File을 선택합니다.
[Menu] Generate > File
팁:
특정 파일을 수정하고 저장하는 경우 해당 파일을 자동으로 다시 생성합니다. 위의 설명처럼 직접 메뉴를 선택해서 다시 생성하지 않아도 수정된 내용을 확인할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 트랜잭션은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
transaction 메소드에 필요한 파라미터를 지정하고 메소드를 호출합니다. transaction 메소드는 특정 데이터셋의 값을 갱신하기 위한 서비스(또는 파일)에 접근해 데이터를 내려받고 작업이 완료되면 콜백(CallBack) 함수를 호출하는 메소드입니다.
``` nexacro
this.divCommand_btnSearch_onclick = function(obj:nexacro.Button, e:nexacro.ClickEventInfo)
{
var id = 'search';
var url = 'http://localhost:8080/CustomerList/sample.xml';
var reqDs = '';
var respDs = 'dsCustomers=customers';
var args = '';
var callback = 'received';\n this.transaction(id, url, reqDs, respDs, args, callback);
}
transaction 메소드에 사용되는 파라미터는 아래와 같습니다.
| 구문 | 타입 | 설명 |
|------------------|--------|-----------------------------------------------------------------------------------------------------------------------------------|
| strSvcID | String | 트랜잭션 구분하는 ID |
| strURL | String | 트랜잭션을 요청하는 서비스 또는 파일의 URL |
| strInDatasets | String | 앱에 사용된 데이터셋 데이터가 변경되었을 때 변경된 데이터셋을 지정하는 값입니다.\n (서비스 또는 파일에 지정된 데이터셋) = (앱에서 수정된 데이터셋) 형식으로 전달하며 1개 이상의 값을 빈칸으로 구분해 지정할 수 있습니다. |
| strOutDatasets | String | 트랜잭션 처리 결과를 받을 때 지정하는 값입니다.\n (앱에서 수정된 데이터셋) = (서비스 또는 파일에 지정된 데이터셋) 형식으로 전달하며 1개 이상의 값을 빈칸으로 구분해 지정할 수 있습니다. |
| strArgument | String | 트랜잭션 요청 시 전송되는 파라미터를 지정하는 값입니다.\n parameter_name = value 형식으로 전달하며 1개 이상의 값을 빈칸으로 구분해 지정할 수 있습니다. |
| strCallbackFunc | String | 트랜잭션의 결과를 처리할 콜백 함수를 지정하는 값입니다. |
| [bAsync] | Bool | 비동기 통신 여부를 설정합니다.\n""true"" 비동기 통신 / ""false"" 동기 통신 으로 처리합니다.\nDefault : true |
| [nDataType] | int | 전송할 데이터의 형태를 설정합니다.\n""0"" XML / ""1"" Binary / ""2"" SSV 형식으로 송수신 합니다.\nDefault : 0\n※ HTML5 버전에서는 XML, SSV 형식만 지원 합니다. |
| [bCompress] | Bool | 서버 통신시 데이터의 압축 여부를 지정합니다.\nDefault : false\n※ HTML5 버전에서는 지원하지 않습니다. |<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 트랜잭션의 파라미터는 어떻게 설정하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
transaction 메소드에 사용되는 파라미터는 아래와 같습니다.
| 구문 | 타입 | 설명 |
|------------------|--------|-----------------------------------------------------------------------------------------------------------------------------------|
| strSvcID | String | 트랜잭션 구분하는 ID |
| strURL | String | 트랜잭션을 요청하는 서비스 또는 파일의 URL |
| strInDatasets | String | 앱에 사용된 데이터셋 데이터가 변경되었을 때 변경된 데이터셋을 지정하는 값입니다.\n (서비스 또는 파일에 지정된 데이터셋) = (앱에서 수정된 데이터셋) 형식으로 전달하며 1개 이상의 값을 빈칸으로 구분해 지정할 수 있습니다. |
| strOutDatasets | String | 트랜잭션 처리 결과를 받을 때 지정하는 값입니다.\n (앱에서 수정된 데이터셋) = (서비스 또는 파일에 지정된 데이터셋) 형식으로 전달하며 1개 이상의 값을 빈칸으로 구분해 지정할 수 있습니다. |
| strArgument | String | 트랜잭션 요청 시 전송되는 파라미터를 지정하는 값입니다.\n parameter_name = value 형식으로 전달하며 1개 이상의 값을 빈칸으로 구분해 지정할 수 있습니다. |
| strCallbackFunc | String | 트랜잭션의 결과를 처리할 콜백 함수를 지정하는 값입니다. |
| [bAsync] | Bool | 비동기 통신 여부를 설정합니다.\n""true"" 비동기 통신 / ""false"" 동기 통신 으로 처리합니다.\nDefault : true |
| [nDataType] | int | 전송할 데이터의 형태를 설정합니다.\n""0"" XML / ""1"" Binary / ""2"" SSV 형식으로 송수신 합니다.\nDefault : 0\n※ HTML5 버전에서는 XML, SSV 형식만 지원 합니다. |
| [bCompress] | Bool | 서버 통신시 데이터의 압축 여부를 지정합니다.\nDefault : false\n※ HTML5 버전에서는 지원하지 않습니다. |<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 트랜잭션 콜백 함수는 어떻게 작성하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
transaction 메소드로 서비스 또는 파일에 접근한 이후에 지정된 콜백 함수를 실행합니다. 콜백함수는 아래와 같이 작성합니다.
``` nexacro
this.received = function(id, code, message){
if (code == 0) {
// 성공시 응답처리
} else {
// 실패시 응답처리
this.alert('Error['+code+']:'+message);
trace('Error['+code+']:'+message);
}
}
주의:
트랜잭션 url이 넥사크로 앱과 같은 서버에 있지 않다면 Access-Control-Allow-Origin 오류가 발생할 수 있습니다.
팁:
오류가 발생하는 경우 code 값은 -1을 반환하고 message 값은 오류의 상태를 반환합니다. 상황에 따라 code값만 반환하고 message 값이 반환되지 않는 경우도 있는데, 서버의 예외적인 처리라 어떤 상황이라고 특정할 수 없습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 X-API 배포 파일은 어떻게 설치하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 X-API 라이브러리는 데이터 처리를 위한 서비스 구현 시 필요한 기능을 라이브러리 형태로 구현해 제공하고 있습니다.
제공하는 파일은 아래와 같습니다.
nexacro-xapi-java-1.0.0.jar (X-API 라이브러리 파일)
commons-logging-1.1.1.jar (http://commons.apache.org/proper/commons-logging/)
NexacroN_server_license.xml (라이선스 파일)
docs > api (X-API 매뉴얼)<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 X-API 배포 파일을 설치하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
X-API 배포 파일은 기술지원사이트에서 내려받을 수 있습니다.
http://support.tobesoft.co.kr > PRODUCT > Nexacro N > Download > Server [API, XENI]
개발용 라이선스 파일은 LICENSE 메뉴 아래 [개발용라이선스] 링크에서 신청할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 X-API 설치는 어떻게 진행되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
단계 1. 톰캣 컨텍스트 파일을 생성합니다.
아래 예제에서는 CustomerList.xml 파일을 생성합니다.
[컨텍스트 생성 위치]
C:\Program Files\Apache Software Foundation\Tomcat 8.5\conf\Catalina\localhost
ex):
``` nexacro
(코드 - CustomerList.xml)
<Context path="/CustomerList" docBase="E:\88_TEST\02_BUILD\CustomerList"
debug="0" prvileged="true" reloadable="true">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestame="true"/>
</Context>
단계 2. 내려받은 X-API 파일의 압축을 해제합니다. 압축을 해제하면 docs, lib 폴더 2개가 보이는데 그중에서 lib 폴더 안에 있는 3개의 jar 파일을 사용할 겁니다.
단계 3. docBase로 지정한 폴더를 생성하고 해당 폴더 안에 WEB-INF 폴더를 생성합니다. 그리고 WEB-INF 폴더 안에 lib 폴더를 생성하고 jar 파일과 라이선스 파일을 복사합니다.
[파일 복사 위치]
<docBase>\WEB-INF\lib
ex): E:\88_TEST\02_BUILD\CustomerLi\WEB-INF\lib
단계 4. docBase로 지정한 폴더 아래에 테스트를 위한 jsp 파일을 생성합니다.
``` nexacro
(코드 - test.jsp)
<%@ page contentType='text/html; charset=UTF-8' %>
<html>
<head>
<title>JarInfo</title>
<style>
* { font-family: Verdana }
</style>
</head>
<body>
<pre><%
new com.nexacro.java.xapi.util.JarInfo().info(out);%>
</pre>
</body>
</html>
단계 5. 웹브라우저에서 url/test.jsp 주소로 접근했을 때 설치 정보가 정상적으로 표시되는지 확인합니다. 설치정보가 표시된다면 정상적으로 X-API가 설치된 겁니다.
ex): http://localhost:8080/CustomerList/test.jsp
팁:
라이브러리 파일을 복사한 후에는 WAS 서비스를 재시작해주어야 합니다.
WAS 설정에 따라 재시작이 필요없는 경우도 있습니다.
노트:
라이브러리 파일과 라이선스 파일은 같은 위치에 복사해야 인식할 수 있습니다.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 X-API 전용 객체는 어떤 기능을 제공하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
넥사크로 X-API의 연결된 라이브러리에서 사용되는 전용객체는 다음과 같습니다.
PlatformData : 데이터를 보관하는 기본객체
PlatformRequest : JSP 요청 시에 XML Format Data를 읽고 객체화하는 Input 객체
PlatformResponse : JSP 요청 시에 XML Format Data를 출력하는 output 객체
DatasetList & Dataset : 데이터를 2차원 Table 형태 또는 Table Array 타입으로 보관
VariableList & Variable : I/O 인자값으로 사용되는 단일 값을 보관
자세한 설명은 라이브러리에 포함된 X-API 매뉴얼을 참고해주세요.<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 initdata.jsp pseudo code는 어떻게 작성하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
``` nexacro
// 1. 자바 라이브러리 지정 (Nexacro X-API 포함)
// 2. MIME Type 정의
// 3. Nexacro 기본객체(PlatformData) 생성try {
// 4. Data 처리
// 5. ErrorCode, ErrorMsg 처리하기 (성공 메시지)
} catch (Error) {
// 5. ErrorCode, ErrorMsg 처리하기 (실패 메시지)
}
// 6. 결과 Data Client에게 보내기<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 initdata.jsp의 의사 코드는 어떤 구조로 작성되나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
``` nexacro
// 1. 자바 라이브러리 지정 (Nexacro X-API 포함)
// 2. MIME Type 정의
// 3. Nexacro 기본객체(PlatformData) 생성try {
// 4. Data 처리
// 5. ErrorCode, ErrorMsg 처리하기 (성공 메시지)
} catch (Error) {
// 5. ErrorCode, ErrorMsg 처리하기 (실패 메시지)
}
// 6. 결과 Data Client에게 보내기<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로에서 자바 라이브러리를 어떻게 지정하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
JSP 서비스를 작성하기 위해 기본 자바 라이브러리를 지정합니다. 코드는 아래와 같습니다.
``` nexacro
<!-- 1. Designating a Java library -->
<%@ page import='java.io.*' %>
<%@ page import='com.nexacro.java.xapi.data.*' %>
<%@ page import='com.nexacro.java.xapi.tx.*' %><|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 MIME 타입은 어떻게 정의하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
XML 생성을 위한 MIME(Multipurpose Internet Mail Extensions) 타입을 정의합니다.
``` nexacro
<!-- 2. Defining a MIME type -->
<%@ page contentType='text/xml; charset=UTF-8' %><|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로에서 기본 객체는 어떻게 생성하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
기본 객체인 PlatformData는 넥사크로 앱에서 사용하는 모든 데이터(Dataset, 변수)를 한꺼번에 담을 수 있는 객체입니다.
PlatformData를 선언하는 코드는 다음과 같습니다.
``` nexacro
/** 3. Creating a basic object of Nexacro **/
PlatformData pdata = new PlatformData();<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로에서 PlatformData를 생성하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
기본 객체인 PlatformData는 넥사크로 앱에서 사용하는 모든 데이터(Dataset, 변수)를 한꺼번에 담을 수 있는 객체입니다.
PlatformData를 선언하는 코드는 다음과 같습니다.
``` nexacro
/** 3. Creating a basic object of Nexacro **/
PlatformData pdata = new PlatformData();<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로에서 데이터셋을 생성하여 파일로 저장하는 방법은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
Dataset을 생성하여 column 정보를 입력하고 row마다 column을 입력합니다.
생성한 DataSet은 쉽게 다룰 수 있도록 PlatformData에 등록합니다.
등록된 PlatformData 객체를 사용하여 './saveFile.bin'이라는 이름의 파일로 저장합니다.
Dataset을 생성하고 파일로 저장하는 코드는 다음과 같습니다.
``` nexacro
/** 4. Processing data: saving data as a file **/
/** 4.1 Creating a dataset and inputting basic data to the dataset **/
//데이터셋 및 데이터 컬럼 정의**/
DataSet ds = new DataSet("customers");
ds.addColumn("id",DataTypes.STRING, 4);
ds.addColumn("name",DataTypes.STRING, 16);
...
int row = 0;
int i = 0;
/**추가할 데이터셋 정의**/
String[] customers = new String[8];
customers[0] = "TC-001";
customers[1] = "Tzuyu";
...
/**데이터셋에 데이터 추가**/
for (i = 0; i < 2; i++)
{
row = ds.newRow();
ds.set(row,"id",customers[0]);
ds.set(row,"name",customers[1]);
...
}
pdata.addDataSet(ds);
/** 4.2 Saving a dataset to a file **/
String targetFilename = "./saveFile.bin";
OutputStream target = new FileOutputStream(targetFilename);
PlatformResponse res = new PlatformResponse(target,
PlatformType.CONTENT_TYPE_BINARY);
res.setData(pdata);
res.sendData();
target.close();<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로에서 Error 처리하기 위한 방법은 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
예외 상황이 발생했을 때 이를 처리하기 위한 부분입니다.
``` nexacro
/** 5.1 Processing ErrorCode and ErrorMsg **/
int nErrorCode = 0;
String strErrorMsg = "START";
try {
/** 5.2 Setting ErrorCode and ErrorMsg for success **/
nErrorCode = 0;
strErrorMsg = "SUCC";
} catch (Throwable th) {
/** 5.3 Setting ErrorCode and ErrorMsg for failure **/
nErrorCode = -1;
strErrorMsg = th.getMessage();
}
/** 5.4 Saving ErrorCode and ErrorMsg to send them to the client **/
PlatformData senddata = new PlatformData();
VariableList varList = senddata.getVariableList();
varList.add("ErrorCode", nErrorCode);
varList.add("ErrorMsg", strErrorMsg);<|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
XAPI initdata 결과값을 클라이언트에게 보내려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
초기값이 정상적으로 파일에 저장되었는지를 사용자에게 전달하기 위하여 PlatformData 객체를 사용합니다.
VariableList는 PlatformData의 멤버이므로 수행 결과값은 PlatformData 객체에 들어있습니다.
이제 PlatformData의 데이터를 넥사크로에서 처리할 수 있는 XML Format으로 추출하여 전송하는 부분을 구현해 보겠습니다.
데이터를 전송하는 기능을 쉽게 구현하기 위해 PlatformResponse 객체를 만들고 PlatformData 객체에서 데이터를 출력시키는 코드는 다음과 같습니다.
``` nexacro
/** 6. Sending result data to the client **/
HttpPlatformResponse res = new HttpPlatformResponse(response,
PlatformType.CONTENT_TYPE_XML,"UTF-8");
res.setData(senddata);
res.sendData();
정상적으로 데이터가 처리되었다면 클라이언트에게 전달되는 XML 값은 아래와 같습니다.
``` nexacro
<Root xmlns="http://www.nexacro.com/platform/dataset" ver="5000">
<Parameters>
<Parameter id="ErrorCode" type="int">0</Parameter>
<Parameter id="ErrorMsg" type="string">SUCC</Parameter>
</Parameters>
</Root><|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 initdata.jsp 전체 코드는 어떻게 작성하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
``` nexacro
<!-- 1.Designating a Java library -->
<%@ page import="java.io.*" %>
<%@ page import="com.nexacro.java.xapi.data.*" %>
<%@ page import="com.nexacro.java.xapi.tx.*" %>
<!-- 2. Defining a MIME type -->
<%@ page contentType="text/xml; charset=UTF-8" %>
<%
/** 3. Creating a basic object of Nexacro **/
PlatformData pdata = new PlatformData();
/** 5-1. Processing ErrorCode and ErrorMsg **/
int nErrorCode = 0;
String strErrorMsg = "START";
try {
/** 4. Processing data: saving data as a file **/
/** 4.1 Creating a dataset and inputting basic data to the dataset **/
DataSet ds = new DataSet("customers");
ds.addColumn("id",DataTypes.STRING, 4);
ds.addColumn("name",DataTypes.STRING, 16);
ds.addColumn("email", DataTypes.STRING, 32);
ds.addColumn("phone", DataTypes.STRING, 16);
ds.addColumn("comp_name", DataTypes.STRING, 32);
ds.addColumn("department", DataTypes.STRING, 32);
ds.addColumn("comp_phone", DataTypes.STRING, 16);
ds.addColumn("comp_addr", DataTypes.STRING, 256);
int row = 0;
int i = 0;
String[] customers = new String[8];
customers[0] = "TC-001";
customers[1] = "Tzuyu";
customers[2] = "[email protected]";
customers[3] = "6987-6543";
customers[4] = "TWICE";
customers[5] = "0";
customers[6] = "6506-7000";
customers[7] = "Seoul";
for (i = 0; i < 1; i++)
{
row = ds.newRow();
ds.set(row,"id",customers[0]);
ds.set(row,"name",customers[1]);
ds.set(row,"email",customers[2]);
ds.set(row,"phone",customers[3]);
ds.set(row,"comp_name",customers[4]);
ds.set(row,"department",customers[5]);
ds.set(row,"comp_phone",customers[6]);
ds.set(row,"comp_addr",customers[7]);
}
pdata.addDataSet(ds);
/** 4.2 Saving a dataset to a file **/
String targetFilename = "./saveFile.bin";
OutputStream target = new FileOutputStream(targetFilename);
PlatformResponse res = new PlatformResponse(target,
PlatformType.CONTENT_TYPE_BINARY);
res.setData(pdata);
res.sendData();
target.close();
System.out.println("after file write..");
/** 5.2 Setting ErrorCode and ErrorMsg for success**/
nErrorCode = 0;
strErrorMsg = "SUCC";
} catch (Throwable th) {
/** 5.3 Setting ErrorCode and ErrorMsg for failure **/
nErrorCode = -1;
strErrorMsg = th.getMessage();
}
/** 5.4 Saving the ErrorCode and ErrorMsg to send them to the client **/
PlatformData senddata = new PlatformData();
VariableList varList = senddata.getVariableList();
varList.add("ErrorCode", nErrorCode);
varList.add("ErrorMsg", strErrorMsg);
/** 6. Sending result data to the client **/
HttpPlatformResponse res = new HttpPlatformResponse(response,
PlatformType.CONTENT_TYPE_XML,"UTF-8");
res.setData(senddata);
res.sendData();
%><|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 initdata.jsp 전체 코드 예시는 무엇인가요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
``` nexacro
<!-- 1.Designating a Java library -->
<%@ page import="java.io.*" %>
<%@ page import="com.nexacro.java.xapi.data.*" %>
<%@ page import="com.nexacro.java.xapi.tx.*" %>
<!-- 2. Defining a MIME type -->
<%@ page contentType="text/xml; charset=UTF-8" %>
<%
/** 3. Creating a basic object of Nexacro **/
PlatformData pdata = new PlatformData();
/** 5-1. Processing ErrorCode and ErrorMsg **/
int nErrorCode = 0;
String strErrorMsg = "START";
try {
/** 4. Processing data: saving data as a file **/
/** 4.1 Creating a dataset and inputting basic data to the dataset **/
DataSet ds = new DataSet("Your Dataset Name");
ds.addColumn("Attribute Name",DataTypes, Value);
...
int row = 0;
int i = 0;
for (i = 0; i < 1; i++)
{
row = ds.newRow();
ds.set(row,"Attribute Name",Value);
}
pdata.addDataSet(ds);
/** 4.2 Saving a dataset to a file **/
String targetFilename = "./saveFile.bin";
OutputStream target = new FileOutputStream(targetFilename);
PlatformResponse res = new PlatformResponse(target,
PlatformType.CONTENT_TYPE_BINARY);
res.setData(pdata);
res.sendData();
target.close();
System.out.println("after file write..");
/** 5.2 Setting ErrorCode and ErrorMsg for success**/
nErrorCode = 0;
strErrorMsg = "SUCC";
} catch (Throwable th) {
/** 5.3 Setting ErrorCode and ErrorMsg for failure **/
nErrorCode = -1;
strErrorMsg = th.getMessage();
}
/** 5.4 Saving the ErrorCode and ErrorMsg to send them to the client **/
PlatformData senddata = new PlatformData();
VariableList varList = senddata.getVariableList();
varList.add("ErrorCode", nErrorCode);
varList.add("ErrorMsg", strErrorMsg);
/** 6. Sending result data to the client **/
HttpPlatformResponse res = new HttpPlatformResponse(response,
PlatformType.CONTENT_TYPE_XML,"UTF-8");
res.setData(senddata);
res.sendData();
%><|eot_id|>
|
<|begin_of_text|><|start_header_id|>system<|end_header_id|>
Cutting Knowledge Date: December 2023
Today Date: 26 Jul 2024
<|eot_id|><|start_header_id|>user<|end_header_id|>
넥사크로 initdata.jsp를 저장하려면 어떻게 해야 하나요?<|eot_id|><|start_header_id|>assistant<|end_header_id|>
initdata.jsp 파일을 호출하면 'saveFile.bin'이라는 이름의 파일이 생성됩니다.
생성된 파일은 WAS(예제에서는 아파치 톰캣)을 설치한 폴더 아래에 생성됩니다.
팁:
특정 경로에 파일을 저장하고자 하는 경우에는 아래와 같이 initdata.jsp 파일을 수정해 적용할 수 있습니다.
``` nexacro
//String targetFilename = "./saveFile.bin";
File targetFile = new File("c:/saveFile.bin");
OutputStream target = new FileOutputStream(targetFile);<|eot_id|>
|
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 3