Progressively display areas in Oracle Apex 5.0 (universal theme)

Hello, what I am trying to achieve:
https://apex.oracle.com/pls/apex/f?p=63709:1:2676260562286:

So basically I have 3 region on page load all regions must be hidden, after that the user click on the button (Let's Say ADD_REGION) first region will appear on new clicks of the user on the same button second region indicated even for the third.

in the link above I created a region called JavaScript_Working in HTML.
I want something even for areas of oracle apex.

Tried:

(1) based on the ID of a region I created a DA who will hide the region during the loading of the page, but after clicking on the button it does not return.

(2) Css: inline Css section of a page where I had called Display: none with region Id prefix.

(3) javascript: get Null drop back so this idea.

Any advice will be good enough.

Always:

Identification information: new_b/new_b/new_b

App: Apex_Community

ID: 63709

page: 1

Thank you.

This function added

function check_then_show(p_region) {

    if ($(p_region).css('display') === 'none') { // if  hidden
      $(p_region).show(); //  show
      return true;
    }
    return false; // keep looking for next region

}

and this at the click of a button

if (check_then_show('#region1')) {}
else if (check_then_show('#region2')) {}
else if (check_then_show('#region3')) {}

That will keep test in the order provided.

Looks like you were something already to help the regions of catalog, you would like to combine? It was just the first idea that worked

Tags: Database

Similar Questions

  • Need help using the tabs of the apex to the universal theme.

    I tried using the enkitec boards to create tabs in page apex.

    But I'm unsucessfull and I used the apex as the version 5.

    The theme that I use is universal theme.

    https://www.enkitec.com/Apex/f?p=15300:30310:0:

    Also I'm tired the method too to create tabs below

    Creation of a region of the tab within a page in the APEX

    It's like

    In the HTML header, I'll add the code below

    <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/redmond/jquery-ui.css" type="text/css" /> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script> <script type="text/javascript"> $(function() {    $("#tabs").tabs();    $x("tabs").appendChild( $x("tabs-1"));    $x("tabs").appendChild( $x("tabs-2")); }); </script>

    Then I'll create 3 region.

    Region 1 > > > create a HTML region (REGION MODEL = MODEL number) and add the code below in the SOURCE of the REGION

    <div id="tabs"> <ul>    <li><a href="#tabs-1">Employee</a></li>    <li><a href="#tabs-2">Chart</a></li> </ul> </div>

    Region 2 > > > create HTML region... Add two fields to the region now, edit the region

    Add the code below in the header of the region to REGION 2

    <div id="tabs-1">

    Add the code below in the bottom of the region to REGION 2

    </div>

    Region 3 > > > create HTML region... Add two fields to the region now, edit the region

    Add the code below in the header of the REGION 3 region

    <div id="tabs-2">

    Add the code below in the bottom of the REGION 3 region

    </div>

    Example: http://Apex.Oracle.com/pls/Apex/f?p=12060:7

    I used exactly the same code... except that my region 2 contains a REPORT instead of two text field and region 3 GRAPHICS instead of text field.

    Kind regards

    Shijesh

    -------

    Please reward the answer if it was useful / correct


    I used the enkitecs method to create tabs.

    Tabs have been created, but the fields were visible inside.

    Will soon be replicating the scenario of apex.oracle.com

    Maybe someone can help.

    At the same time if there is no easy way to create tabs in apex page please let me know.

    Thank you

    Paul

    Hi pauljohny100,

    pauljohny100 wrote:

    I'd like to learn more about the region view selector

    You have a good resource on it.

    Selector display region is type of region, which shows the navigation links in the form of hyperlinks button for regions where the attributes of the region-> region selector display are set to Yes. Œuvres similar to jQuery tabs.

    Reference: ApEx 4.0 region selector | iAdvise blog (it's blog when it was introduced first in APEX 4.0)

    I have not found any Oracle Documentation on this, but it's taken APEX oracle supported the region type.

    You will find that this implemented in various packaged for example P-Track applications.

    Kind regards

    Kiran

  • IR column headers are not displayed in a collapsible area on oracle apex

    Hi all

    I packed a report interactive and region definition > model is defined as a foldable in Apex5.0.

    When I run this page it does not display the column headings in the report. Is there a property to set when we use the folding model?

    Thank you

    Ketan

    Hi Ketan

    Go to the report of the attributes-> position-> change this property to 'None '.

    -Sunil Bhatia

  • Select the list when the button display problem in Oracle Apex

    Hello world

    I use a button that displays a selection list box (contains two values) click on...

    Whenever the button is touched for the first time, the selection list box does not appear properly... the list box is displayed in a smaller size if the values it is not visible...
    However it appears correctly when I hit the button for the second time... its strange...

    Help, please!

    Kind regards
    Sandeep Reddy

    There are two options. One is to create a Page process that fires before header or after and sets the value of the element. This method works when the value is independent of the other page elements. If the value is dependent on other page items, you can set all at once in the same process.

    Example:

    declare
      var_field1   VARCHAR2(40);
    begin
      var_field1  := :APP_USER;
      :PX_USERNAME  := var_field1;
      select COUNT(row_id) into :PX_USER_COUNT from users;
    end;
    

    This example illustrates two ways to define the elements of the page: one using another variable and the other as a result of a pass-through select query. You can also use the function calls, the application variables and more.

  • ThemeColor Oracle Apex 4.2

    Is there a way too change the color of the Oracle Apex 4.2 Mobile theme?

    I tried with the themeroller but without success.

    Raoul

    Hi Raoul,.

    I have not tried, but I think you should replace * #APEX_CSS #* because we load default jquery.mobile.1.1.1.min.css and not jquery.mobile.structure - 1.1.1.min.css. jQuery.mobile.1.1.1.min.CSS will overwrite your roll theme CSS settings.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • APEX 5.0 customize a universal theme beyond the roll of theme

    Hi all

    We are just beginning to create new applications in 5 APEX and the universal theme and the theme is a fantastic leap forwards.

    It is a real newbie question . If I want to make a few changes to the appearance beyond what theme roller can achieve, as the positioning of the logo on the right side of the Navigation bar rather than the left, which is the recommended best practice to achieve such a change? Remember I want to preserve the scalability of the universal theme in the future.

    Thank you

    Michael

    Hi Michael,

    But, if I create a new model and added to the universal theme, what would be the impact when Oracle has released an upgrade to universal theme? Have I reason to say that only subscribed parties of the theme would respectively, while unsubscribed additional templates would not have?

    Your own templates to have no impact when we improve at UT.

    Another question is: can I change model for a model predefined Options without having to make a copy?

    Unfortunately, this is not possible.

    Concerning

    Patrick

  • Problem area in the apex oracle 5 switch display

    Hi all

    I am using Oracle Apex 5 and the database Version is 12 c. I have 2 problem

    1.), I used REGION DISPLAY SELECTOR in my reports, I don't set any

    Note: Remember last selection: report Yes means last selection only loaded or NO means the first report of the tab to be loaded.


    2.) I want to change the format mask in the graphics as 250,000 (default) to 2,50,000

    Oracle Apex: https://apex.oracle.com/

    Workspace: MBRO

    User name: [email protected]

    Password: RND2015

    Application ID: 33940 - chart

    Greetings.

    Insert this code in your block "Run when loading the Page" page.

    $(".apex-rds").data ("onRegionChange", function (method, activeTab) {}

    $(window) .trigger ("apexwindowresized");

    });

    What is happening here is that some plugins must be 'proved' at startup so that they are rendered correctly. It is a problem that is independent of RegionDisplaySelector - it would likely occur if you had a dynamic action to hide/display areas on the beginning of the page as well.

    Please note that this logic may not be necessary, or it must be changed by 5.0.1.

    I have tested using the credentials you patiently provided and confirmed it works in 33940.

    Thanks to alert me

    Tim

  • Installing Oracle Apex in Oracle 12 c 5

    Hi all

    I used 5 Apex Oracle in Oracle database 11g. Now, I have a database upgrade from 11g to 12 c

    I installed the database Oracle 12 c container in my server. And I added 3 plug in database.

    Now

    How to install Oracle Apex 5 in Oracle 12 c?

    Can someone help me install?

    Thanks in advance,

    Su.GI

    Hi Su.gi,

    Su.GI wrote:

    I'm trying to uninstall the apex in the database of the container. It displays the error message as below

    Uninstall in shared database container in the background.

    Uninstall progress are wrapped in apxremov * _cdb * .log files.

    Please wait...

    catcon: all outputs related to catcon will be written to apxremov2_cdb_catcon_1164.l

    St

    catcon: see apxremov2_cdb*.log for output files generated by scripts

    catcon: see apxremov2_cdb_*.lst files for spool files, if necessary

    validate_con_names: PDB$ SEEDS is not open

    catconInit: unexpected error returned by validate_con_names

    How to solve this problem?

    Don't know the version of exact details of Oracle 12 c that you are using, but mysteriously the question when you run apxremov_con.sql is due to know what PDB PDB $ SEEDS is not open in READ ONLY or READ WRITE State.

    With two versions of Oracle 12 c, I used (12.1.0.1.0 & 12.1.0.2.0), the SEED of $ PDB is always open in a READ ONLY State when the database is started.

    You can open your SEED of $ PDB in READ ONLY State.

    Reference: Blog of Surachart Opun: Multitenant - how to change PDB$ SEED mode as read write or mount?

    IMP QUESTION: You use an apxremov_con.sql of 5 APEX installable script?

    If Yes, then do not use this script. The reason is that APEX 4.2 is already installed in the ROOT of Oracle 12 c CBD database container $. To uninstall, go to the directory of $ORACLE_HOME/apex and use the apxremov_con.sql to this directory.

    Once you have uninstalled APEX 4.2 container root i.e. CBD$ ROOT successfully, you can go ahead and install 5 APEX in the PDB of your choice.

    Kind regards

    Kiran

  • Update of the elements on the Page regarding filters in Oracle APEX interactive report

    I recently started using interactive reports in my Oracle APEX application. Previously, all pages in the classic application reports. The interactive report in my new page works fine, but now, I would like to add a summary box/table above the interactive report on the same page that displays values added some columns in the interactive report. In other words, if my interactive report displays 3 names of separate Manager, 2 separate offices and 5 different employees, my summary (box) will contain a line and three columns with numbers, 3, 2, and 5, respectively.

    So far, I did this job creating the box summed up as a classic report that account of the distinct values for each column in the same table that my interactive report pulls. The problem is when I try to filter my interactive report. Of course, the classic report is not updated based on the interactive report filters, but I don't know how I could link the two so that the classic report meets interactive report filters. From my research, there are ways to refer to the value in the search box of the interactive report using javascript/jquery. If possible, I would like to refer to the value of the filter of the interactive table with javascript or jquery to refresh the summary box whenever a new filter is applied. Does anyone know how to do this?

    Thanks, Patrick! I was always getting some of the old filters for a reason, but I was able to use the tables included in queries to retrieve my ID to report, that I used in the APEX_IR. Function GET_REPORT.

    More details here.

  • XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method

    "XMLFile parameter is not supported by Oracle APEX, please use the setXMLFile() method.

    I created a test web app in apex.oracle.com to try a few things. I created a Flash 2D pie chart in a Web page, and it seems to make very well. But before rendering, I get the error message above, on the region of graph for 1-2 seconds.

    Can anynone tell me what means the error message above and why I'm getting this. I do not use a custom XML part. Has not changed the default settings of the chart area.

    I could see above the error appearing clearly since the apex.oralce.com is so slow... and graphics region takes awhile to load. Otherwise I could not have noticed. It happens in the IE8 and Google chrome.

    Oralce Apex 4.2.5.00.006 (https://apex.oracle.com)

    Google Chrome 34.0.01847.116

    Internet Explorer 8.0.6001.19518

    Can anyone help please. I'll try to become a test application setup dispalying this awhile earlier error message.

    I used HTML5 graphics in apex 4.2.0.00.27 in my office in my real application workspace. Most of my users still use IE8. HTML5 graphics all appeared well in their IE8 browser. One fine day, some parameters must be changed by my network administrator or soemthing else could have happened. I have no idea. My webapplication HTML5 graphics disappear IE8 users. IE9 users had no problem. I contacted our IT support staff of any changes to security settings that day, or earlier. Absolutely no help from my frustration. I have to change maps of my application (only about 6 of them) to the Flash graphics to overcome this obstacle. This is the story behind why I use Flash cards. If anyone has experienced a similar problem in IE8 HTML5 graphics please shed any light for me... This problem may be nothing to do with the "XMLFile parameter error message', but I'm not sure.

    You strike again BUG introduced with Oracle Application Express 4.2.5

    http://www.Oracle.com/technetwork/developer-tools/Apex/application-express/Apex-425-known-issues-2186292.html

    18601802 - ANYCHART XMLFILE WARNING DISPLAYED BEFORE FLASH GRAPHICS RENDERING when Flash graphics that take a long time to make, the user can see the following warning message appears briefly "XMLFile parameter only is not supported by Oracle APEX, please use setXMLFile() method.» The table will be always delivered. Solution: Please advise end-users to ignore the message.

  • Selector display area - styling

    http://Apex.Oracle.com/pls/Apex/f?p=24317:80

    The new region view selector in 4.0 is nice, but unless I'm missing something there a few critical gaps ergonomics

    1. no easy way to specify the style for links of selector for example I can't choose to have buttons instead of only links, I can't have links going horizontally rather than vertically
    2. no easy way to specify which region to display by default when the page runs everything first
    3. no easy way to win the region selected 'sticky' through a page refresh (logical extension of #2)

    Yes, we can dig into the source of the page, to see what CSS selectors are used for UL/LI items and Stylize a little differently, but this kind of defeats the purpose of making them available declarative for the novice and I think that that is not always answer the questions above.

    Am I missing something?

    Thank you

    Am I missing something?

    Region with the list without tab view selector

    Who will take care of some aspects of your first point at least. For the rest, I'm not aware with the selectors to display area, but they do not seem to offer anything in the way of customization (yet).

  • Importing data into Oracle Apex

    Hello

    I have an obligation to provide a screen to the user where they can import excel data to an existing table and I saw a feature in the workshop of data in Oracle Apex, but I can't use that since I have extra things added into that must. The requirment is mentioned below,

    (1) need a screen where the user can select the excel file and start the import of a temporary table without validation
    (2) the data from the temporary table must be visible to the format of form Multi line in the screen and the user must be able to modify the data
    (3) the need for a feature or a screen mapping where the user can map the temporary table to the original table column before you pass data to the original (as data) table
    (4) the data should be transferred in the original table and the respective data should be deleted from the temporary table (in case if an error occurs, error record must appear in a temporary table up to less than the user of the corrected data into the original table)
    (5) need to add different types of validation, update the record in the original record if same id is available or insert a record value, non-zero, etc...

    Please suggest me how can I do this in the Apex.

    Is it possible to use the existing data and design workshop robot code in my new screen?

    You will probably have to code this yourself... There are packages that have been written to import Excel and CSV style...

    Here's a blog entry to make the upload of Excel file: http://avdeo.com/2008/05/21/uploading-excel-sheet-using-oracle-application-express-apex/

    Once you call who you might have a tabular layout displays the data to the user...

    Other processes must be written by you (migration of data from the temporary table to the table of live data...

    Thank you

    Tony Miller
    Webster, TX

    On the road of life... He has "windshield", and there are "bugs".
    (splat!)
    "Squeegees wanted."

  • Execution of the procedure of Oracle APEX

    Hello

    I've written a procedure ' create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2); " et I want to execute this procedure to Oracle Apex.


    PROCEDURE:

    create or replace PROCEDURE process_csvfile(p_filename IN VARCHAR2)
    AS
    statement1 varchar2(1000);
    statement2 varchar2(1000);
    statement3 varchar2(1000);
    
    begin
    dbms_output.put_Line(p_filename );
    statement1:= 'alter table adb.external_bcc_test location ( '  ||chr(39)|| p_filename||chr(39)|| ')' ;
    dbms_output.put_line(statement1);
    EXECUTE immediate statement1;
    dbms_output.put_line('statement1-> completed');
    EXECUTE immediate 'truncate table ADB.ADB_BCC_TEST';
    dbms_output.put_line('statement2-> completed');
    statement3:='insert /*+ append */ into ADB.ADB_BCC_TEST(BCC_ID,BCC_ADD,"NO_OF_BCC(GEO)") select * from adb.external_BCC_test';
    dbms_output.put_line(statement3);
    EXECUTE immediate statement3;
    dbms_output.put_line('statement3 insert-> completed');
    
    EXCEPTION
    WHEN OTHERS
    then
    raise;
    END;
    
    

    I created the button and the action as a dynamic Action where I wrote below PL/SQ as dynamic Action to perform this procedure


    BEGIN
    
    process_csvfile;
    END;
    
    


    But I get an error" " " ORA-06550: line 4, column 3: PLS-00306: wrong number or types of arguments in the call to 'PROCESS_CSVFILE' ORA-06550: line 4, column 3: PL/SQL: statement ignored (go to error) "

    Oracle Apex Version: 4.2.1

    Thank you

    BO.

    BO123 wrote:

    I've written a procedure ' create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2); " and I want to run this procedure from Oracle Apex.

    1. create or replace PROCEDURE process_csvfile (p_filename IN VARCHAR2)
    2. AS
    3. statement1 varchar2 (1000);
    4. statement2 varchar2 (1000);
    5. statement3 varchar2 (1000);
    6. Start
    7. dbms_output.put_Line (p_filename);
    8. statement1: = ' change the location of the table adb.external_bcc_test (' |) Chr (39) | p_filename | Chr (39) | ')' ;
    9. dbms_output.put_line (statement1);
    10. EXECUTE immediate statement1;
    11. dbms_output.put_line ('end statement1->');
    12. EXECUTE immediate ' truncate table ADB. ADB_BCC_TEST';
    13. dbms_output.put_line ('end of reporting2->');
    14. statement3: = "insert / * + append * / into ADB." ADB_BCC_TEST (BCC_ID, BCC_ADD, ' NO_OF_BCC (GEO) ') select * from adb.external_BCC_test';
    15. dbms_output.put_line (statement3);
    16. EXECUTE immediate statement3;
    17. dbms_output.put_line ('end statement3 insertion->');
    18. EXCEPTION
    19. WHILE OTHERS
    20. then
    21. lift;
    22. END;

    The treatment is an external table. How to get the source file in the specified location?

    dbms_output.put_linethe instrumentation is unnecessary in an environment of APEX (unless the apex_debug.log_dbms_output method has been called). Use apex_debug API methods instead so that information is available in debug mode.

    There is no reason to use dynamic SQL statements in lines 15-17.

    Creating a column named "NO_OF_BCC (GEO)" is not a good idea and is in conflict with the recommendation of the Oracle do not use identifiers in quotes for the names of database objects. This objects will only cause problems and confusion.

    Lines 20 to 23 are a bug. It doesn't hide where any exception occurred in fact. If there is no specific exception that must be handled in this procedure, it should not contain an exception block.

  • Oracle Apex: Aggregate also show row

    Hi all

    Currently I use an interactive report Oracle Apex

    Column1 Column2

    A1         1             2

    A2         2             3

    A3         3             4

    A4         4             5

    ----------------------

    10 14

    After the display of data, make some calculations as Column1, Column2, using the SUM aggregate function of interactive report

    But the result shows that the last line of the report , so I have to scroll to see the result

    How to display the result in the first row of the report?

    Column1 Column2

    10 14

    ----------------------

    A1         1             2

    A2         2             3

    A3         3             4

    A4         4             5

    I found the solution

    1. Add void querry to compute the sum
    2. Union with existed result
    3. Use to highlight the service to catch up with the new line
  • Connection to the database to Oracle using Oracle Apex 5.0.1

    Hi all

    Is it possible to connect to the Oracle (Oracle SQL Developer 4.1.1) database using Oracle Apex 5.0.1 instead of using the object browser. As he was more workspace after you have downloaded the data we have on CSV Excel.

    For example: regardless of the tables I've created in the Application Builder is created in the object browser. We have limited the workspace of 500 MB. This is the reason why we cannot use this method to load the data and retrieve it. (Note: can I ask 2 GB of space to work on the approval of the Director, who is still not sufficient)

    Is it possible that I will create an apex.oracle.com application by using the application builder and I will create in the database tables. When I load the file in application, data will be stored in the database Oracle instead of the object browser.

    Well let me know is possible, if yes, how can I proceed.

    If this isn't the case, please let me know how I can get more workspace.

    According to my understanding, other possibilities are: 1) taking backup of old files and free up space, 2) create another workspace and get extra work space.

    Thanks for your help!

    Kind regards

    Vinod

    Hello

    When you load data using APEX SQL Workshop utilities for example, the data is stored in your database tables.

    Object browser is just seen tool your schema as the table objects and the data in the tables, just as SQL Developer.

    If you have no good reason to keep these files that you downloaded in the workspace, delete those. Data is stored in database tables.

    Kind regards

    Jari

Maybe you are looking for

  • Is - this Apple still sell protected AAC files from the iTunes Store?

    I'm just curious, if he has always protected songs sold. The last batch of songs I accidentally bought as protected songs is 2012. I was able to convert most of the songs protected with iTunes more in 2009, but sometimes new purchases will still be p

  • View errors view Option

    with most of the video files on my Mac, I count a lot on the info point. For a long time, he gave me very specific information. Not so much lately! Like, there are videos in a folder, it says "No. Items" that is happening now on many issues. (Before

  • v. 5.7.0.1037: no smiley more

    I installed the latest Mac update last night. Since then, the smiley face do not appear in the chat message sent and received message window. You have noticed the same problem? m

  • headphones plugged, but the sounds come from headphone and speaker both

    laptop is hp pavilian elegant book with numberC6K57EA product I plugged my head taken correct phone, but when I play sound my game headphphone sound and my speakers also play sounds, in windows sounds that I have in the reading device I have two opti

  • How to read / write to a HID device with call a library function?

    I had tons of problems to read from a device USB HID in VISA. I had no problem make a driver for him and write it in LabVIEW. However, whenever I try to read using Read Visa, Visa USB Control In or interrupt USB event get different types of error mes