strange behavior with popup lov

Request Express 3.1.0.00.32

I have a popup LOV key (displays the description, returns the key value) that is used to allow the user to select all active employees. Because the popup box doesn't have a function of point of clear page, I included the following in the text of message element:

! http://i43.Tinypic.com/5bec6e.PNG!

The question I have is that whenever you click on the link, the value is no longer displayed but every time saving the changes, the value appears again and it is still saved in the folder. I also checked with the session information every time that the page running.

The source value is set to replace the value that exists in the session state.

Have you thought of this announcement in the Apex forum?

Oracle Application Express (APEX)

Tags: Database

Similar Questions

  • Strange behavior with popup modal to display BEEP

    Hello

    I have a page that displays an IRP in Application Express 4.0.2.00.07. The IRP is used to display an archived list of forms/reports previously, i.e. each line of the international control Commission represents a published report.
    The user can select a line of the IORP by clicking on the link provided. This link creates a modal window that has a next day parts process that defines in its turn a redirect on the BI Publisher server.

    HTP.init (); owa_util. REDIRECT_URL (' http://bip-6:9704 / xmlpserver /)

    The reason to use the regions after dealing with one is not the front header, is the page of the modal pop-up window contains a hidden element that must be addressed as it is a variable used on the URL requesting the BI Publisher Sever from the settings used by the editor of BI in its data Module.

    The problem I have is that at the time where the BI Publisher login page is rendered, it is not rendered on the page of the modal pop-up window containing the redirection process, but in the main application page. What actually happens to the modal popup, I don't know. This behavior is a problem because once the application users have completed the necessary work with BI Publisher, there is no apex application to return, i.e. web page is left as it was overtaken by the BI Publisher page.

    I don't know how to make the call to the URL of the apex BI Publisher so that it is displayed on a separate browser page as in a new tab. Or better yet in a modal pop-up window.

    Any help, suggestions welcomed.

    Thank you

    No worries, welcome!

  • strange behavior with script times

    Hi all

    I have strange behavior with one of my scripts, and I can't understand where is the problem.

    Before you post the code, here's the principle.

    My form has two fields of time: "Time of Injection" and "Post injection time.

    The script runs when the output of "injection time" event and look if the injection time is before time "post injection.

    Here is my code:

    //get the value of the field "Injection time"
    var injection = this.formattedValue;
    
    //create an new Date object
    var injectionTime = new Date();
    
    //split the string to get the HH MM and SS values of the formattedValue (HH:MM:SS)
    var injectionTimeHoursString = injection.substr(0,2);
    var injectionTimeMinutesString = injection.substr(3,2);
    var injectionTimeSecondsString = injection.substr(6,2);
    
    //parse the strings into integer
    var injectionTimeHoursInt = parseInt(injectionTimeHoursString);
    var injectionTimeMinutesInt = parseInt(injectionTimeMinutesString);
    var injectionTimeSecondsInt = parseInt(injectionTimeSecondsString);
    
    //set the integer values into my Date object
    injectionTime.setHours(injectionTimeHoursInt, injectionTimeMinutesInt, injectionTimeSecondsInt,0);
    
    
    //do the same for the other time field "Post injection time"
    var post = post_injection.post_time.formattedValue;
    var postTime = new Date();
    var postTimeHoursString = post.substr(0,2);
    var postTimeMinutesString = post.substr(3,2);
    var postTimeSecondsString = post.substr(6,2);
    var postTimeHoursInt = parseInt(postTimeHoursString);
    var postTimeMinutesInt = parseInt(postTimeMinutesString);
    var postTimeSecondsInt = parseInt(postTimeSecondsString);
    postTime.setHours(postTimeHoursInt, postTimeMinutesInt, postTimeSecondsInt,0);
    
    
    //calculate the difference between both
    var diff = postTime.getTime() - injectionTime.getTime();
    
    //if the difference gives a negative result, display a message, empty the fields and set focus
    if(diff<0) {
         xfa.host.messageBox("The time of injection should be sooner than the time of post-injection activity measure.\n\nPlease re-enter correct times.","Incompatibility of times");
         this.rawValue = "";
         post_injection.post_time.rawValue = "";
         xfa.host.setFocus(post_injection.post_time);
    }
    

    The code seems to run pretty well... except with certain values.

    If postTime is 12:00

    and injetion is 12:04

    I get the error message and everything, so it's OK

    BUT

    When postTime is 12:00

    and injectionTime is 12:08

    No message! as if the difference was not negative! (the difference is zero...)

    When I display the time in a messagebox, 12:04 12:04:00 GMT blah blah... gives but 12:08 gives 12:00:00 GMT etc...

    same problem with 12:09, but not 12:10 for example...

    Any thoughts?

    Thank you.

    Thank you, but since I'm used to javascript, I'll stick to it.

    I understand the problem. It's a javascript with the ParseInt method bug!

    Check here: http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256C85006A6604

    parseInt("08") = 0.

    How to lose 2 hours for a stupid bug...

  • Strange behavior Skillbuilders great lov in 5 APEX

    I've updated our 5 APEX test system.

    Installed the new APEX skillbuilders lov 5 great plugin.

    When I access a searchstring in the super-lov domain and press the searchicon, modal page with the result set is in place as it should.

    When I access a searchstring in the super-lov domain and press ENTER, the modal page displays for a short time, then disappears?

    Why does this happen?

    When I try the DEMO page at https://apex.oracle.com/pls/apex/f?p=102231:110, this strange behavior does not occur.

    Someone at - it an idea how I can fix it.

    Kind regards

    Marinus Verseput

    I found a work around for this behavior.

    Change the field hidden for a text field and a $(«__ITEM_ID").hide (); in the section "Run when the page loads" of the manufacturer.

  • Strange behavior with the function «Help in command line»

    So I do a little playing with the opening of the files compiled help (.chm) with the command-line help feature, and I saw a strange behavior when trying to index multi-level access keywords. According to the documentation, if you set the 'Key' operation, you can enter a value for ' string to search for "to access this section. The more precise help that:

    If this string contains a keyword index, the string must match the key of the index as it appears in the help index file. To access a topic with a multilevel index keyword, enter the keyword of the top-level index, a colon and the keyword of the second level index. Do not separate the elements with spaces. For example, a chain of error codes: GPIB jumps about a subject with a keyword of top-level index of error codes and a second level keyword index of GPIB.

    All right, seems simple enough. Except that when I tried, I couldn't work, even with the example provided. I tried the following simple test:

    Opens the help file, but it opens to this page, not to the page ' error codes: GPIB "non-descript. I saw this in 8.2 and 8.6. Anyone have any success with access to a multi-level keyword?

    Note - side

    Curiously, the Index for the help lvconcepts.chm file looks like this:

    In other words, the input index text is just "GPIB", but the text that appears in the keyword field is "codes error, GPIB. I'm curious to know how this was accomplished. I decompiled the lvconcepts.chm file and watched the .hhk file, and it is not immediately obvious to me. (By the way, if you try to use "error codes, GPIB" it does not either).

    Hello

    Please contact National Instruments!
    It is a very strange behavior.  I tested out and seen the exact
    same results you are experiencing.  This was reported to R & D (AUTO ID # 130246) for further investigations.
    From what I can tell the a possible workaround solution that we have documented
    in the post of root Canal.  I can't continue to look into this in order
    to see if there is no other workaround solution or a reason why it is
    run in this way.  Thanks much for the feedback!  If
    you have any other questions on this subject please post them here.
    Have a great day!

  • Strange behavior with postGlobalEvent and eventOccurred()...

    Hello world

    I have a browser plugin for my application that will do two things:

    Firstly, when the BlackBerry browser is forwarded to a Web page with a particular MIME type, the browser plugin will say my application to go to the foreground. It works without any problem.

    Secondly, the browser plugin will display a global event at my request. My request, making use of eventOccurred(), will look for this event and the EC type-approval, it will execute an authorize() method that I have. This also works. However, I notice some strange behavior:

    The first time my application launches the BlackBerry browser and goes to the page specified (with a custom MIME type), everything works fine. If I had while my application to launch the browser and do it AGAIN, my authorize() method is running TWICE. If I open the browser of my application for the third time, so my authorize() method is started THREE times. See the model?

    .. .This is all this without leaving my application. If I had to leave and then start my application again, the 'sequence' prior would begin again. Thus, it seems that whenever x times that I repeat this process, the eventOccurred() method will receive x events.

    Here are a few snippets:

    public class Events {
        final public static int EVENT_AUTHORIZE = 1;
        final public static int EVENT_OTHER = 2;
    }
    
    manager.postGlobalEvent(pid, 0xCAFEBABE, 1, 0, null, null);
    
    public void eventOccurred(long guid, int event_type, int arg2, Object arg3,
                Object arg4) {
            if (guid == 0xCAFEBABE) {
                switch (event_type) {
                case Events.EVENT_AUTHORIZE:
                    authorize();
                    System.out.println("EVENT EXECUTION");
                    break;
                case Events.EVENT_OTHER:
                    break;
                }
            }
    
        }
    

    Can we see what is happening here? I've been "racking my brain" on this one for a while now...

    Thank you!

    "Thus, this can work any time the class is instantiated." The class is instantiated just before I open my browser".

    Application.getApplication().addGlobalEventListener(this);
    

    If you call the above (by instantiating your class) every time that you open the browser, applications to register this event listener again and again.

    If you're going to do it this way, make sure removeGlobalListener you when your application is done processing.

    "Can I make addGlobalListener when my application starts even if this class does not implement GlobalEventListener?"

    You can always have your UiApplication implement GlobalEventListener or just instantiate a new object that implements it in the constructor of your UiApplication.

  • Strange behavior with mkdir ASMCMD

    First there is option no. - p with the mkdir command, as in Linux. To create multiple directories/subdirectories so I tried the following.

    asmcmd > mkdir arch/racdb1 + arch/racdb2 + racdb1/arch/archivelog + arch/racdb2/archivelog

    1. This creates the first three folders. But gives error on the last.

    Inline image 1

    Someone said do not use + sign. So tried this,

    2. tried still nothing does not.

    Inline image 1

    Once again creates first 3 folder but not the fourth. On the other hand, if I just try to create 3 directories/subdirectories in any order it works. Of course I have it in two separate commands, but I wondered why this strange behavior.

    But it worked for me in 11.2.0.3:

    ASMCMD > mkdir + DATA / has DATA + DATA/C / A / B + DATA/C/D

    ASMCMD > cd DATA

    ASMCMD > ls

    A /

    C /.

    ORCL.

    ORCL_P /.

    PEPSI.

    SERVICETEST.

    TEST /.

    vmrac-cluster.

    ASMCMD > cd A

    ASMCMD > ls

    B /

    ASMCMD > cd...

    ASMCMD > cd C

    ASMCMD > ls

    D /.

  • Strange behavior with V$ PDB and CDB_SEGMENTS views of Oracle 12 c

    Hello

    I am trying to run a query between the CDB_SEGMENTS and the views V$ PDB on the container ROOT, but I have a strange behavior:

    SQL*Plus: Release 12.1.0.1.0 Production on Fri Sep 6 12:33:25 2013
    
    Copyright (c) 1982, 2013, Oracle. All rights reserved.
    
    
    Connected to:
    Oracle Database 12c Enterprise Edition Release 12.1.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options
    
    SYS@orcl12c 06.09.2013> show con_id
    
    CON_ID
    ------------------------------
    1
    SYS@orcl12c 06.09.2013> show con_name
    
    CON_NAME
    ------------------------------
    CDB$ROOT
    SYS@orcl12c 06.09.2013> SELECT B.NAME
     2 , A.CON_ID
     3 , A.TABLESPACE_NAME
     4 FROM CDB_SEGMENTS A
     5 INNER JOIN V$PDBS B
     6 ON B.CON_ID=A.CON_ID;
    
    no rows selected
    
    SYS@orcl12c 06.09.2013 12:34:17> SELECT B.NAME
     2 , A.CON_ID
     3 , A.TABLESPACE_NAME
     4 FROM CDB_TABLESPACES A
     5 INNER JOIN V$PDBS B
     6 ON B.CON_ID=A.CON_ID;
    
    NAME CON_ID TABLESPACE_NAME
    ------------------------------ ---------- ------------------------------
    PDB$SEED 2 SYSTEM
    PDB$SEED 2 SYSAUX
    PDB$SEED 2 TEMP
    PDBORCL 3 SYSTEM
    PDBORCL 3 SYSAUX
    PDBORCL 3 TEMP
    PDBORCL 3 USERS
    PDBORCL 3 EXAMPLE
    ...
    
    23 rows selected.
    
    SYS@orcl12c 06.09.2013> SELECT *
     2 FROM TABLE(DBMS_XPLAN.DISPLAY_CURSOR('asa03y45g99zb'));
    
    PLAN_TABLE_OUTPUT
    -----------------------------------------------------------------------------------------------------------------------------------------------------------
    
    SQL_ID asa03y45g99zb, child number 0
    -------------------------------------
    SELECT B.NAME , A.CON_ID , A.TABLESPACE_NAME FROM
    CDB_SEGMENTS A INNER JOIN V$PDBS B ON B.CON_ID=A.CON_ID
    
    Plan hash value: 3590150304
    
    -------------------------------------------------------------------------------------------------------------------------------------------
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Pstart| Pstop | TQ |IN-OUT| PQ Distrib |
    -------------------------------------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | | | | 1 (100)| | | | | |
    | 1 | NESTED LOOPS | | 333 | 14985 | 0 (0)| | | | | |
    |* 2 | FIXED TABLE FULL | X$CON | 2 | 30 | 0 (0)| | | | | |
    | 3 | PX COORDINATOR | | | | | | | | | |
    | 4 | PX SEND QC (RANDOM) | :TQ10000 | 167 | 5010 | 0 (0)| | | Q1,00 | P->S | QC (RAND) |
    | 5 | PX PARTITION LIST AND | | 167 | 5010 | 0 (0)|KEY(AP)|KEY(AP)| Q1,00 | PCWC | |
    |* 6 | FIXED TABLE FIXED INDEX| X$CDBVW$e7cdf8a6 (ind:11) | 167 | 5010 | 0 (0)| | | Q1,00 | PCWP | |
    -------------------------------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
     2 - filter(("CON_ID">1 AND "INST_ID"=USERENV('INSTANCE')))
     6 - filter("CON_ID"="CON_ID")
    
    
    25 rows selected.
    
    SYS@orcl12c 06.09.2013> select con_id,count(*) from cdb_segments group by con_id;
    
     CON_ID COUNT(*)
    ---------- ----------
     1 5795
     4 4397
     3 3923
     2 3401
    
    4 rows selected.
    

    Basically, I would like to display the container_name of segments within all PDB files, but the join between CDB_SEGMENTS and views of V$ PDB does not work (lines 20-25) pending the join between CDB_TABLESPACES and V$ PDB works very well (lines 29-34). I've posted the execution plan (lines 50-82).

    You have ideas about this behavior?

    Thank you in advance,

    Arnaud.

    Hello

    Not 100% sure that this is a bug or just something about the way containers works now - however this select seems to work OK:

    SELECT B.NAME, A.CON_ID, A.TABLESPACE_NAME

    OF CDB_SEGMENTS, V$ PDB B

    where to_char (B.CON_ID) = to_char (A.CON_ID)

    See if it works for you too?

    See you soon,.

    Harry

  • Problem with popup LOV

    Hello

    I'm having a problem with a popup lov. When I click on the icon 'popup' I can choose a provider and it is stored in the field. But when I leave the form and come back later, it shows the value of return instead of the display value. For example: you select "vendor" in the pop-up list with ID 12. "Provider has" if displayed in the text field, when you save the form, it stores the ID 12 inside. But when you go back to the form, it retrieves the ID 12 and has '12' in the field of text rather than "Provider A".

    I tried to set the 'source' from the field popup lov as a SQL query, but that has not worked for me.

    No idea why this is happening?

    Thank you!

    Dennis

    (XE 11 g R2, apex 4.1.1.00.23)

    Hi Dennis,

    I guess that the value is not in the list because where condition, but it appears because of the "Additional display values" setting is set to Yes. See the help for this setting:
    "An element can have a value of session state that does not occur in its list of values. Specify if this list of values should display this extra session state value. If you choose not to display this additional session state value and there is no matching values in the list of values, the first value will be the value selected. »

    BR,
    Marko Goricki
    ----------------
    http://apexbyg.blogspot.com/

  • Strange behavior with the PSD in Photoshop

    I am currently working with a two-page ID CS5.5 document. This is a CMYK document with CMYK images and grayscale.

    Strange behavior is the following: I have a gray levels (tiff) image that is repeated on the page 1 and page 2. This image looks completely different from page 1 to page 2. I have triple checked everything (opactiy, effects, etc.) and then I started to remove items from page 2 one by one.

    As I deleted a psd file all of a sudden all the images in grayscale on page 2 changed his appearance to match page 1. The PSD in question is also in CMYK with a transparent background. What the frack happens?

    I'm more concerned to know if it makes a difference when it goes to print, or if it's just weird screen in InDesign.

    Anyone who has heard of this or know why this happens - would like to hear from you.

    Thank you!

    I think it's simply because of full transparency on the page. Should not affect the production of gray images... but check in Acrobat.

    Mike

  • Strange behavior with the paths of the image

    All, morning

    I have a strange behavior going on with my image paths and I was wondering if someone might be able to identify what they think happens?

    On the relative paths of my model (.. / Images/example.jpg) work very well.

    However, on the pages of the child the same relative paths do not display images and so I had to remove the '... /' to get to work (ending up with Images/example.jpg).

    This is obviously not desirable that I'm going to manually tweak the child pages where the content of the combo box was copied directly from the model that works very well.

    Any ideas what might be up?

    Thanks in advance

    You have not yet entered the main directive of models, which is that only changes to the unchangeable in the model regions will be applied to the child pages.  If this were not true, then we could never put unique content on a child page!

    So - the diagram is as follows:

    1 create a template and save it.

    2. the model of a page child spawn.  The child page will be a 'identical' model copy.

    3. Add a unique content to the page of the child.  The child page is now more a copy of 'identical' of the model.

    4 change something in the part NOT MODIFIABLE from the model and save it - all child pages receive the change.

    5 change something in the EDITABLE model part and save it - no child pages do not receive the change.

    6 spawn a NEW page of the model, and it's still a copy of 'identical' AGAIN CHANGED model.

    See how it works?

  • Possible bug with popup LOVs

    Hello

    "I've created a Popup LOV (retrieves the first set of lines and filters), at the point where I open the popup and try to pick up anything by pressing the 'enter' key I m getting error" the requested URL /pls/otn/wwv_flow_utilities.gen_popup_list was not found on this server. »

    Also, if I have a certain value in the popup box and click on the little popup icon, I get the same error.

    I created an example page http://apex.oracle.com/pls/otn/f?p=50942:21

    Thank you
    Manish

    Manish,

    The page that you saw, http://apex.oracle.com/pls/otn/f?p=50195:1 is a kind of master/detail/detail report.

    There are two hidden items on the page to follow the customer "perceive" and order. The links in the customer report and order simply redirect to the same page, defining the hidden field on the pk for the selected customer or order.

    Customers and Orders queries are

    select decode(customer_id,
                 :P1_CUST_ID, 'CURRENT',
                 'Select') sel_label,
           customer_id,  cust_last_name||', '||cust_first_name cust_name,
           cust_street_address1||'
    '||Cust_city||', '|| cust_state||' '||cust_postal_code address from demo_customers select decode(order_id, :P1_ORDER_ID, 'CURRENT', 'Select') sel_label, order_timestamp, order_total, order_id from demo_orders where customer_id = :P1_CUST_ID

    You can see in each of them there is a decoding that compares the value hidden in the current KP, if it matches it returns CURRENT, otherwise select, this column is given an alias of SEL_LABEL. It is used as the link text, and it is also used in the model.

    When a new customer is selected I have a process that will solve the first as current order for this customer, it's

     declare
        cursor data_cur is
           select order_id, order_timestamp
             from demo_orders
            where customer_id = :P1_CUST_ID;
     begin
        open  data_cur;
        fetch data_cur
         into :P1_ORDER_ID, :P1_ORDER_DATE;
        close data_cur;
    

    It is subordinate to the

    :P1_CUST_ID is not null and
    :P1_ORDER_ID is null
    

    The model is a copy of the current topics in model alternation of colors. Most of the themes have a similar model. The report model can have up to 4 column templates, with or without conditions. The APEX motor will assess conditions and use the first one that is true (or no condition).

    The difference in most alternative models of color is the class applied to the td, alt of a data tag data, IE. t12data and t12dataalt.

    In my example, the first model of the column is defined as

    #COLUMN_VALUE#
    

    with a PL/SQL according to the expression of

    '#SEL_LABEL#' = 'CURRENT'
    

    You can see that it refers to the SEL_LABEL column and looks for the value of the CURRENT

    The second column model does suffer from any disease and is defined as

    #COLUMN_VALUE#
    

    Hope that helps
    Larry
    Don't forget to mark the answers useful or correct ;)

  • strange behavior with access Internet and e-mail through D6300 AC1600

    NOTE: When creating this post 'Model' box doesn't let me choose my modem model, it was not an option so I picked one at random! My current modem is the AC1600.

    I hope someone can help with this problem.

    Modem works fine, Internet access is very good.

    My my email on new servers migrated hosting service yesterday now I have strange problems with access to electronic mail.

    I can access e-mail very well on my phone via 4G.

    Unable to access from any device on my network, e-mail, webmail or outlook or messaging.

    If my phone is on the network, it cannot access email either.

    I can ping the e-mail servers and my domain OK from any device

    DNS resolves the addresses OK

    As several devices on the network have difficulty then it is network and/or router associated

    I think a factory reset on the modem as a last resort.

    It's only a problem for e-mail server migration.

    Outlook is saying: the connection to the server has been lost

    Outlook cannot configure the IMAP account automatically.

    When I try manually it says that the server does not support the encryption type (the one provided by the service of the host).

    My companion said that it works OK on hisnetwork.

    Ahhhh, would you believe? After a factory reset of the router and troublehshooting hours I managed to contact my hosting service (I usually go through the dealer) and they said that my IP address has been blocked due to many failed attempts to connect to my CPanel! I had encountered a problem with the password CPanel and who had put on the side so I fixed the problem of e-mail! Heck, who would have guessed that they were related?

    Thanks for your help!

  • Strange behavior with Scan function

    Hi, I see some weird behaviors with the scan function.  Here's a code (for Interactive execution) window which illustrates what I'm struggling with:

    #include 
    static double value;//    1234567890123456static char buffer[20] = "-  24.612 g    ?";
    static int scanneditems;
    static unsigned char sign, stable;
    static char unit[6];
    
    scanneditems = Scan(buffer, "%s>%c[u]%f%c[d]%s[w5y]%c[u]", &sign, &value, unit, &stable);
    

    The buffer I'm scanning has five parts.  The first character is a sign, the next 8 characters is a floating point number, then there is a space that just throw, then five characters is a string that describes the unit, and the last character is a question mark if the reading is unstable or a space otherwise.  The problem is with the last character.  When I run the above code, the value of the variable 'stable' is 32 (space), when I expect a 63 (question mark).  The other points seem to parse correctly, including the double value and the 'unit' char array that contains [g] [space] [space] [space] [space], which is exactly what I expect that it contains.

    It seems I'm missing something obvious, probably something to do with the way that the scan function manages the spaces, but I just can't understand what it is.  Thank you.

    I'm not sure about how Scan treats spaces, but if you check NumFmtdBytes () after the scan you see 12, which means that it has scanned only the 'g' (fill the rest of 'unit' with spaces according to the modifier there) and read the character immediately following the stability.

    This line correctly reads the entire string and returns bytes 16 analyses by the function, which is what is expected.

    scanneditems = Scan (buffer, "%s > %c [u] %f %c [d] %s [-w5t] [u] %c", & sign, & value, unit, & stable);

  • Strange behavior with videos...

    I have put 4 different videos in one page.

    Video01, Video02, etc.

    Each video has a personalized poster.

    But when a click Video04 the viewer of the iPad and Desktop Viewer plays Video03 or Video02

    Any advice?

    Fixed a problem.

    The film inside the frame was great as the frame causing this strange behavior.

    After use, "Fill the frame proportionally" everyting works perfectly.

    Thank you

Maybe you are looking for