With the help of APEX_UTIL. SET_SESSION_STATE to set an element value in Session State?

Goal: Refresh a region but not the entire page, where the region has a query based on the value of a page element, that the user has selected. I (think) I () would be the updating of the region works well but the page element that uses the query is not in State of Session!

The current issue: I have a procedure (APEX_UTIL. SET_SESSION_STATE) to assign a value to the user enters the Session State, but how do I get this value in the first place?

What I have in the region:
: P23_SELECT_RUN_DT (date picker)
Lines extracted according to the date picker. Initially, the query retrieves all rows because: P23_SELECT_RUN_DT (date picker) is null.

I'm trying to follow {message identifier: = 9781139},
I added a DA (event: change) with the following PL/SQL:
BEGIN
    APEX_UTIL.SET_SESSION_STATE('P23_SELECT_RUN_DT','???');
END;
But how do I specify the value to use is the date picker? I can't use: P23_SELECT_RUN_DT; It has the value null.

I added this: point P23_SELECT_RUN_DT for an example, I'm already working:
WS: APEX_EXAMPLES_01
USER: demo
PW: demo
Application: 991203 - BPR_991203 Page 23 (tab: Master 3)
Click the edit Pencil after 'ProgramName 1' to fill the three regions. The date picker is the third region.

What is the approach to use? Can someone suggest an easier way to achieve this?

Thanks in advance,
Howard

Howard (in training) wrote:
Re my goal:

The current Question:... to assign a value that the user enters into the State of Session...?

I thought that maybe this works. I added P23_SELECT_RUN_DT 'Page to present '. I removed the former DAs. Then I added a refresh of the region for the date picker, thinking that the: P23_SELECT_RUN_DT value would be submitted whenever the changed date picker. No joy. The newly selected value is not in Session State.

???

You're going to hate this :D (although I admit it's obscure uber - I was quickly running out of ideas when I noticed it...)

The problem is the static region ID BPR_RUN details. It is not valid HTML ID attributes cannot contain white spaces. I do not know exactly why the presence of the verboten discombobulates APEX or jQuery so space overall, and I'm not venturing in the debugger to determine. I'll just point to it as another reason to respect some HTML and use the markup compliant to standards.

Tags: Database

Similar Questions

  • With the help of operators ternary to set the source of the image

    Hello

    I use JDeveloper llg and have a table of the ADF, in one of the columns im trying to have just a displayed image.

    With the help of:
              <af:column width="16">
                         <img src="icons/bullet_green.png" 
                                 height="16"
                                 width="16"/>
                </af:column>
    It works very well and the correct image is displayed. Is it possible to use an EL expression to determine which image should be displayed using a ternary operator? I tried the following:
              <af:column width="16">
                            <img src="#{row.ServiceState == '100' ? 'icons/bullet_green.png' : 'icons/bullet_red.png'}" 
                                 height="16"
                                 width="16"/>
              </af:column>
    However no image is at all now displayed when the application is run. There someone now how to fix this?

    Thanks in advance...

    One solution is to use an af:image instead of the normal img tag. Then put the two af tags: image inside of you af:column and set the visible to your EL as attribute:

    
    
    
    
    

    Timo

  • My AirPort Extreme end not implemented with the help of AirPort Utility

    Bought a used AirPort Extreme (Genesis 4) of a person who showed me that he worked at home. When I try to set up as a Wireless extender to my last existing AirPort Extreme, he will not carry out synchronization upward with AirPort Utility. It appears as a new extreme, but get a message 'unexpected error' before or after the name. Have you tried to reset the two while it is powered and turning the as explained in the help.

    When I try to set up as a Wireless extender...

    Gen 4 airport will connect to your existing AirPort Extreme wireless... or... it will connect using wired Ethernet wired, Permanent?

    .. .it will not accomplish the synchronization upward with AirPort Utility.

    Which version of AirPort Utility?  If it's on your Mac... and you don't know what version you have...

    Open AirPort Utility

    Click the AirPort Utility menu in the upper left corner of the screen

    Click on about AirPort Utility

    Report on the version number you see here

    You have an iPhone or a handy iPad that could be used to implement the 4th Gen airport if the problems continue with the help of your Mac?

  • With the help of old gear series noon on El Capitan

    I have a Vox Tonelab SE effects audio Board (around 2004), there the old serial midi on the back ports. I hung with the help of a USB MIDI interface cable. While the USB Midi interface to the show in Audio / Midi set upward and also in the profile system for USB port it does not detect the Vox Tonelab so no communication lunch.

    There is a POWERPC application called ToneLabSE SoundEditor which I downloaded and installed in the hope he would install a driver but I guess that this obviously doesn't work on INTEL in any case. Using Wine I can run the PC version, but still no communication via midi.

    Someone at - it ideas, would like to get this Panel communicating effects via MIDI.

    Thank you

    Solved! Using the WINE app I've run the version of the PC of ToneLab SE editor application. So pretty unintuitively by changing the serial midi to USB, SERIAL interface cables that went to the and out on the Tonelab SE. Now of the Se ToneLab editor I can write banks of programs to hardware Tonelab, but unable to empty the banks since the material Tonelab to software. My main desire was to use Expression pedals on the Tonelab as Midi Ableton controllers and some of the switches to the control of the Looper stomp. Now I can do it all. Hooray!

  • With the help of VISA Write in parallel loops (multithreading)

    Hello

    I got the idea to set up four parallel loops on a quad core with four EHR via serial port independently. I use the PXI-8430/8 and I was told that an independent operation of ports is possible.

    What I did was simply to put in place four parallel for loops consisting only of a single entry VISA. With the help of the Tools > profile > find parallelizable loops, they gave me the following warning

    This loop For may or may not be safe to parallelize. Warning (s):
    -A node in the loop For can have side effects.

    This means, that the pilot VISA screws are not suitable for multithreading? With the help of LV2010

    Thanks for your comments!

    See you soon

    Oli

    Here's some good reading on paralleled for loops.

    Regarding the caveat, it's just that - a warning. If you write commands on a device and orders must be received in the order then you cannot parallelize the loop. If the order does not matter then go ahead. But in the case of VISA wrote that a parallelized loop going not buy you anything. They are intended for operations of calculation intnesive.

    Just stick to four loops.

  • With the help of 1.7.0_07 - b11 version JRE Java hotspot Client VM

    I can't use by net cooking system indicates error java and java download does not work with my system with windows 7 giant premium 64 bit computer laptop.

    REPRT ERROR:

    Java plug-in 10.7.2.11
    With the help of 1.7.0_07 - b11 version JRE Java hotspot Client VM
    Home Directory user = C:\Users/
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on the finalization queue
    g: garbage collection
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: Hide console
    r: reload the policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: delete the cache of class loaders
    0-5: set the trace level

    Hello

    1 are you facing this problem with a specific Web site?
    2 are you having the same problem on other browsers as well?
    Please follow the links below to solve the problem.
    Method 1
    How to troubleshoot script errors in Internet Explorer
    Note: follow the steps as troubleshooting applies to JAVA issues.
    Step 2
    How to enable Java in my web browser?
    Method 2
    If you still face problems, please uninstall and reinstall JAVA
    Remove all traces of the failure of the Java installation by uninstalling Java:
    Install Java
    I hope this helps.
  • With the help of JavaScript condition in the dynamic action of JQuery selector

    Hi guys,.

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Any advice would be appreciated.

    Chris

    Cashy wrote:

    I have a Setup master detail on a page.

    The detail section, I have a tabular presentation.  One of the fields is a selection list.  The first record in the select contains the value * not * that has a value of primary key for the 1.  I have a distinct region with a simple text field where the user can insert a value into the table if the value does not exist.

    I want than the region of text element to only appear if the value * not listed * is selected.

    I managed to make it work when the value is selected with the help of dynamic action with a bit of JQuery and JavaScript by setting the ID on the selection list to 'create' and have the following in JavaScript $(this.triggeringElement) .val ()! = 1 in the JavaScript for dynamic action condition shows it or hides the region of 'create' and that works well.

    However, if the secondary table is empty before the detail records were created (nothing selected in triggering jQuery Selector) the region of create is displayed when I don't want it.

    I guess I need some sort of NVL in JavaScript condition?

    I use APEX v4.2.

    Simple solution is to hide the region containing the element of text by default, using the style = "" view: no ' in the property of the attributes of the area in the region. " It will be always hidden when the page initially, but its visibility will be controlled by the DA subsequently.

  • With the help of Acrobat with MS Access VBA

    With the help of Acrobat 9.5. I'm trying to analyze a problem, so I have this test code:

    CODE

    Void testObjects()
    Dim i As Boolean
    Dim objapp As acrobat. AcroApp
    Set objapp = New acrobat. AcroApp
    objApp. Show
    I have = objapp. CloseAllDocs
    Debug.Print I have
    I have = objapp. Output
    Debug.Print I have
    Set objapp = Nothing
    End Sub

    After Objapp.closealldocs I I = true (successful) but after I get i = objapp.exit I = false (no), and of course Acrobat is still active. How can I get Acrobat to close? It is a bit of test code. In the real application Task Manager indicates acrobat using memory more and more as the application moves through the records.

    I suspect I'm missing something obvious here, but what? My experience with Acrobat automation and access is limited, so be gentle with me! smile.gif

    If this is the wrong forum, please tell me where I should go.

    I thought people might be interested to know that I found a work around for the problem of memory leak. I inserted a break every so many documents and that seems to be enough to let the Acrobat to free the memory.

    On the development of PC a break of 10 seconds every 50 records (or probably more) are sufficient enough. but I'll have to do some settings on the computer target to find the optimal number. This means that the process is extended, but it is once a year of operation, so I don't think that will be a problem. I'm estimating that the final time will be approximately 15 minutes.

    Of course, I thought of the solution until after that I had worked to generate Word documents instead, but it now means that we can offer the form in PDF or Word format.

    Thank you all for all the help and suggestions.

  • With the help of AMPA on non - WS Data Controls

    Hello community MAF .

    I'm developing an Application of MAF that consumes the REST API of WebCenter portal (which is based on the model of HATEOAS).

    I want to make powerful from scratch, including the following:

    -Offline mode (using the SQLite).

    -Persistence, of setting cache and synchronization using AMPA.

    Looks like it's not easier to apply directly on the REST API of WCP AMPA.

    The REST API of WCP is the result of a call of two steps:

    1) authenticate using BASIC authentication against http://Host/repos/api/resourceIndex for the utoken

    (2) use utoken as the URL parameter for the next call of REST for the specific service.

    I know that the Bus Service could be a possibility on the creation of a more simple REST on the WCP REST API, but is not an option right now because that is not easy to map.

    My questions are:

    (1) can we use AMPA on data controls in Java that will call internally to (DB in case of offline mode, REST by program in the case of online mode).

    (2) can define us manually in the persistenceMapping.xml?

    (3) is there anything else more easy to use wizards with HATEOAS base based Services?

    Thanks in advance

    Kind regards.

    Daniel,

    Why is it not service bus an option? You say 'not easy to map', but do the mapping in the MAF makes it not easier, it? the REST API of pressurization is not very easy to mobile, so this transformation to a more usable by using bus service API cost as a good idea for me. See also this article from the A-team.

    Answers to your questions:

    (1) Yes, this is the added value of nucleus of AMPA. You get a service generated the DTC Assistant classes, then you turn this class in a bean data control and use this data control bean for the construction of your user interface. The service class will access local DB and the service REMAINS remote. By default, AMPA will directly show the current data of the local DB, and then in the background call the REST service (online) and refresh the UI, once the REST call has been processed. But this behavior is very configurable and can be changed as you wish.

    (2) Yes, of course, you can manually create data objects, classes of service and persistence mappings, but the wizard is generally much faster.

    (3) HATEOAS logical not for the dynamics of UI where the next action is determined by a link returned in the payload. It is a different model from the static of the UI we build in general with MAF. What is your problem with the help of the wizard of the AMPA?

    Steven Davelaar,

    Oracle Mobile & Cloud A-team.

  • With the help of Windown 10, not all pdf documents launch Adobe Reader DC.  As a result, I have not all normally available printing options.  How can I get Reader to open the default player.  I need to clear, step by step direcitons, please.  Thank you

    With the help of Windows 10, not all pdf documents launch Adobe Reader DC.  As a result, I have not all normally available printing options.  How can I get Reader to open the default player.  I need to clear, step-by-step instructions, please.  Thank you

    Hello

    Please visit the following link to set the reader as default PDF reader.

    Restoration of Adobe Acrobat Reader in the default PDF Viewer

    Concerning

    Sukrit diallo

  • With the help of coupon in batches with different expiration dates

    I try to use coupon lot to offer free delivery to users. My requirement is to expire promo, 7 days after it has been generated.

    I am using batch of coupon for this requirement as promo codes will be generated on the fly.

    The challenge with the help of batch coupon is that it has a fixed start and end date so that all the generated code coupons will have the same maturity.

    Is there a way to set the expiration in individual coupons?

    Thanks in advance.

    I expanded ClaimableManager.createBatchPromotionClaimable () method to achieve this.

  • Problem with the help of oraext: query-database in the transformation (XSLT 2.0)

    Hello!
    I m facing a problem with the help of oraext: query-database.

    In my transformation im try the following (Simplified):
    <xsl:template match="*">
      <xsl:variable sqlQuery="select ....."/>
      <xsl:variable name="storeSec" select="oraext:query-database($sqlQuery,true(),true(),'jdbc/xref')/>               
        <xsl:choose>
         <xsl:when test="string-length($storeSec/ROWSET/ROW[1]/STORE_PART_SECTION) > 0">
              <xsl:value-of select="$storeSec/ROWSET/ROW[1]/STORE_PART_SECTION"/>
         </xsl:when>
           <xsl:otherwise>
                <xsl:value-of select"some other val"/>
           </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    {code}
    
    This always results in +some+ +other+ +val+ !!
    I´v checked the output from oraext:query-database by using getcontentAsString and if I instead test putting the expected output from oraext:queryDatabase in my variable it gives me A100 which is what i expected.
    
    {code}
    <xsl:template match="*">
      <xsl:variable sqlQuery=select ....."/>
      <xsl:variable name="storeSec">
        <ROWSET>
         <ROW num="1">
           <STORE_PART_SECTION>A100</STORE_PART_SECTION>
         </ROW>
         <ROW num="2">
           <STORE_PART_SECTION>XXm</STORE_PART_SECTION>
         </ROW>
        </ROWSET>
      </xsl:variable>               
        <xsl:choose>
         <xsl:when test="string-length($storeSec/ROWSET/ROW[1]/STORE_PART_SECTION) > 0">
              <xsl:value-of select="$storeSec/ROWSET/ROW[1]/STORE_PART_SECTION"/>
         </xsl:when>
           <xsl:otherwise>
                <xsl:value-of select"some other val"/>
           </xsl:otherwise>
        </xsl:choose>
    </xsl:template>
    How to get the correct value when you use oraext:query - database?

    How should you exit? Several item ID with each having a value of the result set?
    If Yes, then you can try following:

     
                        
                            
                        
                             
                                  
                             
                        
                            
    
  • dml execution 2 statements at a time with the help of execute immediate

    I would like to run 2 DML statements at a time with the help of execute immediate usefulness,.

    ex:

    update employee set ename = 'Chantal' where eno = 123;
    Update dept set dname = 'IT' where dno = 345;

    I want the two statement to execute at a time, but I don't want to use any loop as well.

    Thanks in advance

    You can use:

    execute immediate 'begin update employee set ename='jagadeesh' where eno=123; update dept set dname='IT' where dno=345; end;';
    

    Although updates will always run one after the other.

    If you want the simultaneous treatment, then you need to use DBMS_JOB and DBMS_SCHEDULER to plan both work to run to run each of the statements independently.

  • With the help of iPhone 6 s. try to copy the text message with a tap double and get a bubble with icons. How can I copy the message to paste in another?

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    maryml wrote:

    Try to copy a text to paste in another. When I double tap, as I always have, all I get is a bubble with icons on it. With the help of OS 10.0.2.

    Press and hold on the text and wait for the copy/more pop up.

  • With the help of Club running on the Nike watch +.

    Hello

    This is something I have tried to work for a while and have not yet been able to find an answer. At the moment I use Nike + management club on my iPhone to follow the tracks that I find that gps is better than just using the application of the workout on my watch. However, something that really bothers me is that I start the race on my phone, but I can't then view my stats while running without having to press on and tap the watch and wait for the application to load, very irritating to race. I want to be able to lift my wrist and live stats are there to watch me, not listening and not get my phone out of my pocket. Surely this is something that can make the original watch?

    As a separate issue with the new app, Nike +, it does not recognize the songs I downloaded on my phone of Apple music in my playlists, then I have to play the separatelay of music through the application of music as opposed to go with Nike +? The ides on how to fix or is this a known problem with the latest Nike + app?

    Hello

    You may find it useful to consult the support resources of Nike and/or contact Nike for assistance with the help of their application:

    More information:

    https://iTunes.Apple.com/us/app/Nike+-run-Club/id387771637?Mt=8

Maybe you are looking for

  • 6 s reset Apps iPhone

    Hi, I have written here as a last resort because honestly I have no more ideas on what to do to solve this problem, and it is difficult to explain to an Apple store. I use a brand new 6s with iOS 9.3.2,and iPhone is the first time I have this problem

  • Symbolic notation on the chart MS2009 axis labels?

    I use Measurement Studio 2009 (c#) to display graphs of waveform. Question: How can I format the labels to the major division of a XAxis (or YAxis) such as: -A value of 1000 will display "1 k". -A value of 0.001 will display "1 m". -etc. I'm looking

  • How to install the driver supports solution menu ex

    When signing on the computer I got a yellow triangle with an exclamation point in him saying: "a driver that support Solution Menu Ex is not installed." How do I install it and where can I find?  I am not connected to a printer.

  • How to restore a deleted file

    original title: restore a deleted file I deleted a file from a flash drive. It does not appear in the Recycle Bin. How can I restore it?

  • Missing MS Fax print driver

    I was using Microsoft Print/Scan to fax. I chose the printer called 'Fax' to print the doc and open MS fax. Recently, when I select 'Fax', without print options are displayed, and I can't print. It seems that the print driver for MS FAX is missing. H