oracle-apex

Problem in firefox when calling window.open

删除回忆录丶 提交于 2020-05-12 11:30:08
问题 When i'm calling this code in the link of a chart in apex javascript:window.open('http://google.pt','mywindow','width=400,height=200', 'bReplace=true'); it opens a new window with google page but puts the chart page with a blank page with [object Window] wrote on it How can i maintain the chart page? 回答1: You need to force the expresion to not return a value: javascript:void(window.open(...)) 来源: https://stackoverflow.com/questions/5820180/problem-in-firefox-when-calling-window-open

How I can make Mandatory add at least one row in Interactive grid in apex oracle

谁说我不能喝 提交于 2020-04-30 09:08:21
问题 I have two region one form and one interactive grid like a master detail(company and company contact person ) how i can make the interactive grid mandatory ,the user can't submit page ,he/she need add at least one row in interactive grid , I can do that or I need to change the interactive grid to collection and count the row in validation 回答1: This one is a little tricky because of the way processes and validations work with Interactive Grids (they are executed once per submitted row). To

looking for plsql code based on oracle apex layout design

允我心安 提交于 2020-04-30 06:27:09
问题 I have created a hidden item "P1_DOCUMENTS_COUNT" with default of 1. used plsql too increase it when users clicks the button "add row". Created 10 times the following row of items (# for the row number): P1_DOC_DATE_#, P1_DOC_DESCRIPTION_#, P1_DOC_NAME_#, P1_DOC_CATEGORY_#, P1_DOC_FILE_BROWSER_#. at the beginning - rows 2-9 will be hidden. when P1_DOCUMENTS_COUNT = n, show rows 1,2,...n. Issue is I have cancel button on each row, I am looking for a solution so that if none of cancel button

Encoding problem with APEX app builder caused by CAS

三世轮回 提交于 2020-04-18 03:46:12
问题 I have a problem with APEX app builder/sql workshop for a while. There is a encoding issue (APEX must serve EastEuropean chars). Finnaly i found the source of the issue. I have implemented a CAS sso into APEX thru web.xml (APEX is on Tomcat/ORDS). Without CAS evrything is working fine, but i need it. Below there is the web.xml configuration. <filter> <filter-name>CAS Single Sign Out Filter</filter-name> <filter-class>org.jasig.cas.client.session.SingleSignOutFilter</filter-class> <init-param>

Alert message after submit and validation page in oracle apex

吃可爱长大的小学妹 提交于 2020-04-16 03:28:58
问题 I have a dynamic action doing the below , Submit page , Successful Alert message, Log out and redirect to another website (www.google.com), And I have two required item in page. When pressed the button and the item is null ,the successful Alert message appears and after that the system shows the error (the item is required). How can I show the successful alert message only when the process and validation are done without errors ,and when ok is pressed in the alert message redirect to website

Alert message after submit and validation page in oracle apex

喜你入骨 提交于 2020-04-16 03:28:25
问题 I have a dynamic action doing the below , Submit page , Successful Alert message, Log out and redirect to another website (www.google.com), And I have two required item in page. When pressed the button and the item is null ,the successful Alert message appears and after that the system shows the error (the item is required). How can I show the successful alert message only when the process and validation are done without errors ,and when ok is pressed in the alert message redirect to website

Alert message after submit and validation page in oracle apex

筅森魡賤 提交于 2020-04-16 03:28:08
问题 I have a dynamic action doing the below , Submit page , Successful Alert message, Log out and redirect to another website (www.google.com), And I have two required item in page. When pressed the button and the item is null ,the successful Alert message appears and after that the system shows the error (the item is required). How can I show the successful alert message only when the process and validation are done without errors ,and when ok is pressed in the alert message redirect to website

Can't disable session state protection on Oracle APEX 18.1.0.00.45 for Dynamic Actions updating Page Items

隐身守侯 提交于 2020-04-11 05:53:06
问题 I'm trying to update some page items with a dynamic action. I have an "on change" dynamic action on one text field and want to run a calculation on another column and display/save it. I've tried disabling session state globally, but nothing I do seems to get rid of this error message on a page submit/process gets fired: 1 error has occurred Session state protection violation: This may be caused by manual alteration of protected page item P5_EXAMPLE_ITEM. If you are unsure what caused this

Querying for 2nd validation statement on an existing field in APEX

我的梦境 提交于 2020-03-25 19:12:11
问题 where id = (select id from tab1 where col2 = 'range') and desc = 'min'; var max := select LV R from LV where id = (select id from tab1 where col2 = 'range') and desc = 'max'; begin if :P1_range < min or :P1_range > max then 'invalid range' end if; end; the above ^ will be my 2nd validation statement. i have one validation statement in place that the field must have a value in it. 回答1: When using validations, the exact syntax will depend on the Type you've selected. Use the inline help to

how to merge two tables to get the last new rows from table 2 and the rest from table 1

流过昼夜 提交于 2020-02-29 04:38:48
问题 i have a problem with joins on two tables into an oracle database, and i can't do that it works. if you see on the image you can two options. i execute this query: SELECT f.id_hist, f.producto, f.price FROM TABLE(fnc_historical('JAP')) f inner join new_table g on (f.id_new <> g.id_hist) union SELECT f.id_hist, f.producto, g.new_price FROM TABLE(fnc_historical('JAP')) f inner join new_table g on (f.id_new = g.id_hist) for option/case 1 it works ! but for option/case 2 this query return empty,