참고.
https://tedstruik-oracle.nl/ords/f?p=25384:1025::::::
https://dickdral.blogspot.com/2016/11/disabling-apex-items-right-way.html
참고.
https://tedstruik-oracle.nl/ords/f?p=25384:1025::::::
https://dickdral.blogspot.com/2016/11/disabling-apex-items-right-way.html
APEX Cloud Service는 자율주행 데이터베이스 안에서 작동하므로 시스템 시간을 읽어오는 sysdate나 timezone 셋팅을 변경할 수 없어서 local에 맞는 시간을 보여주기 위해서는 session timezone이나 current_date를 사용해야 함.
1. 자동 세션 타임존 설정
Shared Component - Globalization - Automatic TimeZone : YES
2. 테스트 테이블 생성 및 sysdate 추가
SQL Workshop 에서 실행을 했고 해당하는 세션 타임존 설정을 못 찾음. 모두 UTC
3. 테이블을 조회하면 컬럼 속성에 따라 dt 는 UTC 그래도 ltz 는 로컬 시간으로 변경되어서 조회됨
4. 두 컬럼을 동일하게 10시 30분으로 변경한 후 시스템에서 조회하면 dt 는 입력 값 그대로 저장되고, ltz는 변환되어 저장이 됨.
결론 : 자율주행 데이터베이스에서 작동하는 APEX는 timestamp with local time zone 을 사용 필요. (아직 사용하지 말아야하는 이유는 없음)
참고
https://apex.oracle.com/pls/apex/germancommunities/apexcommunity/tipp/6381/index-en.html
https://joelkallman.blogspot.com/2020/03/how-to-show-dates-in-given-time-zone.html
1. 템플릿 안에서 대체 문자열 Substitution Strings within Templates
2. 페이지, 아이템 대체 문자열 Substitution Strings for Page or Application Items
- 대문자로 써야하고, 기호 &로 시작, 마칠 때는 . 마침표
3. IG, 카드, 맵 컬럼의 대체 문자열 Substitution Strings for Interactive Grid, Cards, and Map Columns
- 위 2번과 동일한 조건
4. 다른 리포트 컬럼 Substitution Strings for Other Report Columns
- 대문자로 써야하고, 시작과 끝은 모두 #으로
5. 특수문자나 대/소문자 구별이 필요한 경우
- 쌍따옴표 " 로 표현 : &"<name>"[!<format>].
6. HTML Escape 대체 문자열 Controlling Output Escaping in Substitution Strings
- HTML escapes reserved HTML characters, for example:
- ATTR escapes reserved characters in a HTML attribute context
JS escapes reserved characters in a JavaScript context
RAW preserves the original item value and does not escape characters
STRIPHTML removes HTML tags from the output and escapes reserved HTML characters, for example:
참고
https://docs.oracle.com/en/database/oracle/application-express/21.1/htmdb/using-substitution-strings.html#GUID-CA3ABA44-D03D-4396-A527-B160F1FFE933
1. 탭 리전 생성
Identification - Title : Tabs, Type : Static Content
Appearance - Template : Tabs Container
Advanced - Static ID : myStaticTabs
2. 탭 리전 안에 첫번째 서브 리전 생성 IG
IG 통상적인 기본설정 + Layout - Parent Region : Tabs
Advanced - Static ID : myStaticIGPOMST1
3. 탭 리전 안에 두번째 서브 리전 생성 IG
IG 통상적인 기본설정 + Layout - Parent Region : Tabs
Advanced - Static ID : myStaticIGPOMST2
4. Page Main
Javascript - Execute when Page Loads :
이렇게 하면 탭을 선택할 때마다 해당 페이지 아이템 show/hide 처리 가능
* Dynamic Action에서 처리를 위해 atabsactivate를 활용해 custom event를 생성 해 보았지만 정상적으로 작동하지 않았음.
참고
JS initialization Code : function (config) { var $ = apex.jQuery, toolbarData = $.apex.interactiveGrid.copyDefaultToolbar(), ...