HTP.p does not like usual after upgrade to the apex 4.2.6

Hello everyone,

We have recently upgraded the Apex 4.0.2 on Oracle 11 g using Embedded PLS door of entry to the Apex 4.2.6 on Oracle 11 g using ADR.

The initial series of unit tests seemed well until a few questions supported around "htp.p".

The scenario is like this:

1. the user fills some fields on the page-10 and click the Save"" button.

2. This button then performs a redirection to a pop up page where some inputs more are invited to enter.

3. when the user clicks "OK" on the popup:

i. an anonymous PLSQL block is executed in the backend (as after presenting processes).

II. another PLSQL block is executed, which closes the popup windows and returns the control to the parent page.

This is achieved using htp.p...

For example:

HTP.p ("< body > '");

HTP.p ("< script type =" text/javascript "> '");

HTP.p ("var alertMsg =" &. P38_PO_AMOUNT has been paid";");)

HTP.p ('javascript:Alert (alertMsg)');

HTP.p ("window.opener.location.href =" f? p = & APP_ID.:7: & SESSION.) " ;") ;

HTP.p('window.) Close (this);') ;

HTP.p ("< /script >" ");

HTP.p ("< /body >" ");

The anonymous block under step 3.i. is well executed and done what it takes in the backend.

Its the next step which is driving me crazy, I tried to add debugging but to no avail.

The weird part is that the message "& P38_PO_AMOUNT. has been paid' getting appears on the pop-up itself instead of parent.

Any ideas or pointers to this problem would be a great help. I have come to the forums and metalink for any position and had no luck so far.

Kind regards

Madhu.

Hi Sunil,

Thanks for the reply and apologize for the delay in responding.

But 2 doubts which do not appear in your code:

1. why you placetag through PTH again? Body will be already present on the page 7

2. What is "this" in your window close event? 'this' will be indefinite in my opinion

Thetag and the reference to 'this' was used because the application was developed first on Apex 3.x

This piece worked through the upgrade to 4.0.2 and it starts to play up only after this upgrade (to 4.2.6).

I had followed the suggestions from the link you posted, made some changes and the flow is as follows:

1, as well as the original

2 as well as the original

3. when the user clicks "OK" on the popup:

i. an anonymous PLSQL block is executed in the backend, under process, like submit it: after calculations & Validations.

II. the 2nd block PLSQL for close & redirect the page is now part of 'Branch of PL/SQL procedure' with branch point ' on Submit: after the treatment (after calculation, Validation and treatment). The PLSQL code is as follows:

BEGIN
  htp.p('');
END;

The behavior is always the same and seems not to have changed. I'm a little lost, try different options.

I'll try to reproduce the scenario on apex.oracle.com and in the meantime of inputs/suggestions would be helpful.

Kind regards

Madhu.

Tags: Database

Similar Questions

  • Portege R30 does not SSD start after upgrade SSD and HDD

    Hello

    I have improved my Portege R30 - A to add a second SSD (Crucial M550) replace the optical with the new SSD drive with caddy.

    But now the system does not start automatically from the original SSD.

    I could press F12 while turning on my laptop and make it appear the start guide. Here I can see my original SSD and I can boot from it properly.

    In order to boot in the BIOS, I see only the HDD/SSD, USB, ODD memory... It doesn't gives me the possibility to choose between SSDS.

    In any case when I boot in this way than getting blue screens after awhile in win7.

    I tried to install a HARD drive as the second drive instead os SSD and her resut is the same.

    Is that what I can do to solve this, now I have to use the second drive as an external USB drive.

    Thank you

    Hello

    This ODD of SSD/HDD replacement is not always possible and in many cases, the BIOS will not handle and will not recognize the new HARD disk correctly.

    That I can remember some old laptops Toshiba Tecra and Portege that supported the functionality of Slim Select Bay were able to manage the 2nd HARD drive instead of driving WEIRD, but this was not possible due to the available selection slim Bay.

    In your case it looks like the laptop so that the BIOS does not support this function and, therefore, the additional SSD/HDD isn't recognised correctly.

  • Safari does not load pages after sleep in the active window

    Please note: I'm French, so what you read is not perfect. Thank you.

    Hi everyone, it has been so long that I tried to solve my problem on Safari.

    Let me explain what happens: when I wake my Mac, some site not loading, including Youtube, Facebook and Google until I

    -Close the Safari window and open a new

    -Wait at least a minute or two

    -Spam the shortcut for refresh up to what a "page not found" error.

    I tried all explained in this or other forums and do these things:

    -Reinstall the operating system (but keeping my data)

    -Restore with a Time Capsule

    -Open the terminal and type these commands:

    -Fixed permissions and owner

    sudo find ~ $TMPDIR... - exec chflags h nouchg, nouappnd, noschg, nosappnd {} - exec chown () $UID h - exec chmod + rw {} + - exec chmod () n h ++ - type d - exec chmod h + x {} + 2 > & -.

    -Reset Safari

    MV ~/Library/Safari ~/Desktop/Safari-'date + %Y %hour %m %d ' %s; RM - Rf ~/Library/Caches/Apple\-\ Safari\---------Safari\ Extensions\ Gallery; RM - Rf ~/Library/Caches/Metadata/Safari; RM - Rf ~ / Library/Caches/com.apple.Safari; RM - Rf ~ / Library/Caches/com.apple.WebKit.PluginProcess; RM - Rf ~ / Library/Cookies/Cookies.binarycookies; RM - Rf ~/Library/Preferences/Apple\-\ Safari\---------Safari\ Extensions\ Gallery; RM - Rf ~ / Library/Preferences/com.apple.Safari.LSSharedFileList.plist; RM - Rf ~ / Library/Preferences/com.apple.Safari.RSS.plist; RM - Rf ~ / Library/Preferences/com.apple.Safari.plist; RM - Rf ~ / Library/Preferences/com.apple.WebFoundation.plist; RM - Rf ~ / Library/Preferences/com.apple.WebKit.PluginHost.plist; RM - Rf ~ / Library/Preferences/com.apple.WebKit.PluginProcess.plist; RM - Rf ~/Library/PubSub/Database; RM - Rf ~/Library/Saved\ Application\ State/com.apple.Safari.savedState

    -Fix permissions with the inbuilt system tool

    sudo/usr/libexec/repair_packages - repair - standard-pkgs - volume.

    -Log in as a guest

    -Start in safe mode

    -Switch to recovery mode and put something else in the window "resetpassword.

    -Remove all apple leaves me with the GUI (cookies, cache, etc.)

    -Mess with network settings, but it's obviously very well because other programs have no problem for example. Chrome, Firefox, Mail, Push notifications...

    -Uninstall all extensions safari

    -Unplug my micro sd card and reboot (which is constantly plugged into my mac)

    I am so angry with my computer because I paid 1.5 k for a computer that is not able to make the task easier for a modern computer. Even a €50 computer has embedded software that can handle a resume from sleep without having to restart the entire software... Imagine if you had to do it on your iPhone, you will eventually get a refund within a week or less because it is not normal in 2015 to have this kind of problem. I hope that I have no problem with safari on my 6s and I don't plan to spend my browser because Safari is part of the Apple ecosystem and have the perfect sync and battery management.

    So I need to get this fixed a problem and I really need your help because a lot of people had this problem on the internet, but NEVER seen someone who explained how it happened is the correction of a problem. My Mac running the latest version of the software which is 11.2 starting today.

    Here is a video of the problem:

    https://www.YouTube.com/watch?v=AjfAlkKEVsc

    And some examples of the threads on the internet, I found the same problem:

    Safari does not work after the mode 'sleep'. Apple support communities

    Safari doesn´t supported pages after waking up

    Safari does not load page after waking up

    Facebook doesn't "work" after the awakening from the sleep - MacNN Forums

    Corruption Safari       See post by Linc Davis

  • Equium M40X does not work properly after upgrading the BIOS

    OK, well... I'm not a computer scientist, but I have a bit of trouble on my hands and I don't know where to go for the right help, so I came here.

    Today I started my lappy to confront an illuminous Green Office... not all it is green just of great spots here and there. Happened to me before, but it disappears after about 15 minutes, but today his guarded it usually hours and is still as he.

    I looked everywhere on the net for a possible fix but nothing helped, even though I've heard somewhere that an update of the BIOS might do the trick, so natually, I did... I came here and searched for my Equium M40X, found, downloaded and installed the latest version...

    but now I have a screen with a resolution of half of what it should be, it went from 1200 x 800 or something like that... to 1024 x 786 and I always get the green screen problem... the program toshiba provided for the update of the BIOS does a backup file (BIOS. (BAK)...

    I can't restore the old BIOS would set the screen resolution, but I'm just helpless as to how I go about it. I find the file, but I have no way to open/run it

    I've had this laptop for about 2 years now, I know probably just getting old and a bit tempermental, but if theres no way you people out there can help, I would much apreciate it :)

    Thanks a bunch - Ash

    Hello

    I Don t think the biosupdate is the reason for the reduced screen. It does not sound like a software thing, but rather a hardware malfunction.

    Is your normal screen during startup? If so, I'd say just remove your existing display drivers and install the new. But if it s like you described then it must be a hardware problem and the machine should be checked by a technician or at least a service partner.

    Would be better if your bring your machine to an ASP for a checkup of material.
    If you need assistance to find the ASP closest, try this link (the ASP index):

    http://EU.computers.Toshiba-Europe.com/cgi-bin/ToshibaCSG/generic_content.jsp?service=EU&ID=ASP_SUPPORT

    Welcome and good luck

  • Satellite L30-134 does not access BIOS after upgrade with SSD

    Hello

    I have a problem with my old Toshiba L30-134.

    When I try to replace the old with new SSD HARD drive, I can't start BIOS.
    But when I remove the DVD-ROM laptop and leave there only SSD, then BIOS can start and I see the drive detected. DVD - ROM has PATA/IDE interface.

    I also tried IDE adapter SATA (like this: [adapter | http://goo.gl/W3TpXt]) for replacement of the DVD-ROM with second SATA HDD and I had the same problem when the disk was present in the adapter.

    When the second HARD drive was not present in the adapter, BIOS began. And it's not just about BIOS.

    Computer is blocking on startup TOSHIBA logo screen during the hardware detection and there is also no error message.

    I can't change the settings on the device SATA IDE/AHCI mode. Is there a workaround with riders or a software solution?

    Thanks for help

    Hello

    > When the second HARD drive was not present in the adapter, BIOS has begun. And it's not just about BIOS.

    You replaced the STRANGE with a HARD drive?
    It won't work buddy. The s laptop computer's optical disc drive supports IDE controller. The HARD drive seems to support the SATA controller.

    The laptop does not power upward because the POST (power on self-test) cannot be passed correctly. During POST the laptop s material will be checked for a possible malfunction or compatibility issues. In your case, the hardware is NOT compatible and that you can't change that.

  • Phone of blackBerry Smartphones does not work properly after upgrading Poynt

    Hello.

    Yesterday, I upgraded my poynt app, which seems to have causes all types of problems with my phone.

    (1) my email account icons have all disappeared, although it recognizes new messages, I can't access it.

    (2) the device does not allow me to access my texts all the time as well, and I get errors such as:

    Eception exception: application_net_rim_bb_message_app (231) does not.  I had the same message with several different numbers.

    I also have java.null messages, even if it is rare and I don't remember the exact error.

    (3) desktop manager cannot access the device, it does not allow me to backup my data.

    (4) I tried to reload the os, and applications but it fails because it cannot back up data...

    I'm lost and can't seem to find help on the net for this, and at this point, I want to just wipe the slate and start over from scratch.  Maybe completely reload the software or something.  I have most of my contact information on my sim card from my previous phone, data loss would be minimal...

    can someone help me please understand what to do.

    Info on the device

    Your carrier: att

    Model information and the version of the OS (go to settings, then Options, then):

    8900 v4.6.1.231 platform 4.2.0.108

    Apps and free space

    hard battery pull did not.

    Installed apps and their version if possible.  I have several apps installed:

    Poynt, bloomberg, score, xenozu, facebook, bablphone, CBS Spanish football, dictionary.com, anchor.  all are the latest versions, except for some reason any phone does not recognize that I have the latest version of home.

    but the last poynt update caused this, and I have already deleted poynt.

    Thanks in advance for your help.

    Thanks for your help.  So a question I had was that my camera was unable to save all the data, and therefore loader did not work properly.  I read somewhere that you can stop the car to the top, did this and reloaded the new os.  I think that things are finally working

    Thanks again for your help.

  • HAdobe Illustrator CC 2015 does not work properly after upgrading from 2014 CC

    Adobe Illustrator CC 2015 does not work after update from 2014 CC. I have a black screen and I am unable to work. Tools work, but I don't see any results. Could you help me solve this problem? Thank you!

    Try the toggling of the GPU preview

    Display > GPU preview
    Windows: CTRL + E
    MAC: CMD + E

    You can also try switch to wireframe mode.

  • Email does not work after upgrade to the APEX

    Operating systems: Windows 2003
    DB: 11 GR 1 material

    E-mail no longer works for users after upgrade from 4.0 to 4.1. New APEX_040100 'main' added to the ACL as well as the main APEX_040000 of the previous version. In fact, the two still exist in the ACL.

    Error code in the APEX Admin Mail queue: ORA-24247: access denied by access control (ACL) of network list

    What could be the cause of the installation of electronic mail within the APEX to not work?
    See you soon!

    See what {message identifier: = 10355015}

  • Satellite L70 - A - 11 c does not power on after upgrade RAM 4 GB

    Hello

    I wanted to add 4 GB of RAM and I took a DDR3 1600 MHz SoDimm of Corsair.

    When the RAM is connected alone or together with the original of the RAM, the laptop does not boot at all!
    I tested this with another laptop RAM and the RAM works perfectly.

    I assume that only the type of DDR3L (1.35v) is accepted and not DDR3 (1.5 V). Can you confirm?

    Do you recommend a specific brand or type of DDR3L which is of course compatible with the Satellite L70 - A - 11 c?

    THX in advance
    CortX

    Hello

    AFAIK the module of RAM 4 G compatible Toshiba was number piece + PA5104U-1M4G +.

    The Toshiba PA5104U-1M4G module is exactly the same as the module of Kingston + KTT-S3CL / 4 +.

    Supports the Kingston KTT-S3CL / 4G * 1.35V* and, therefore, I assume that you have to use the modules supporting the 1.35v and the 1.5V modules would cause the problems mentioned.

    Hope this would help you to get the right RAM module.

  • HP940c does not web print after upgrading to Windows 7

    recently unclassified HP Pavilion 9500 from Vista Home Premium to Windows 7 Home Premium. After upgrade, can no longer print to Web sites - using IE 11.0. Before the upgrade was using IE 9.0. Tried to print from multiple sites by using the function "Print" in the "Tools" button Was able to copy information Word doc Web site and print it from there. All ideasas to problem?

    Hi twf42,

    Thank you for being an active member of the HP support forums.  I understand that you have an impression of Internet Explorer 11 problem on your Windows 7 computer.

    I have included a link in Microsoft Internet Explorer required 11.  Microsoft says IE 11 runs only on computers running Windows 8.1 or Windows RT 8.1.

    Microsoft Internet Explore 11 system requirements

  • Satellite L755 does not detect DVD after upgrade Windows 10

    I'm probably being stupid, but my dvd internal or usb Samsung drives are recognized today. The two spin up, the USB gets pling a little when I connect and disconnect. I found help topics on the removal of media creator Toshiba backup software, did this, and nothing has changed. I am now confused. He is not helped by Windows 10 hide the Panel etc...
    Anyone have any ideas?

    I managed to fix it myself. I found information about incorrect information in the registry. So with care and concern, I used regedit to remove two incorrect lines in the registry. Everything works now.

  • K3 Note Wifi problem after upgrade to the marshmallow

    Guys, after upgradation of Marshmallow in k3 note, there arise a problem of wifi, it just dropeout every minute like connect for 1-2 seconds and disconnect then automatic...
    If someone knows how to fix this please tell me... I have hard reset my phone but the problem is not solved... so please tell me the solution

    Note from the admin; phone added to the subject type


  • waitForUpdates method does not detect updates after reset of the connection

    Hello

    In my case, I use waitForUpdates() method to detect the VMotions (. i.e. whenever a VMotion arrived I have trying the GET the update using this method). It works perfectly in case of normal use.

    But all of a sudden after a reset of VC connection. This waitForUpdates() method makes me not updated.

    When the session id gets modified waitForUpdates (propertyCollector, version) would also have a new propertyCollector object (to give you the new collector of property obtained with the new connection object), so even now why it does not return me the updates after the reset of the connection.

    Please let me know if I'm doing something wrong in the treatment of this.

    Please let me know how to handle the connection reset and collect updates later.  Which can affect the waitForupdates in updates outside the collector property object to return.

    I even tried with the checkForUpdates method was the same behavior.

    Thanks in advance.

    Please check if you create the PropertyFilter after reset connection. Good initialization of the filter property should solve your problem.

    Thank you

    Aditya

  • Satellite L670D - 15 d does not start successfully after upgrading RAM

    Hello

    I have a Satellite L670D - 15 d and now I've passed on SSD.
    In this context, I wanted to increase the RAM (2 GB DDR3-1066 original installed).

    I bought the Mushkin 8 GB kit DDR3-1066.
    In the BIOS are displayed both modules of 8 GB RAM.

    After the logo screen, the white course remains the top left corner and the boot process stops.

    Does someone has an idea and can help me?

    The questions is related to the new RAM inserted.
    But I m confused what RAM is installed exactly now; Modules of RAM of 2 GB + 8 GB or a single module of RAM to 8 GB?

    I m request because the laptop Satellite L670D - 15 d supports 8 GB of RAM, and from my point of view of some 10 GB of RAM (2 GB + 8 GB) is too much.

    That's why I recommend you to use 2 x 4 GB RAM modules.
    Kingston modules provide good quality value ration. Modules are not the cheapest, but in most cases, these modules don cause compatibility issues t. You know

  • Satellute C660D-14 X does not start successfully after upgrading RAM

    I have a Toshiba Satellite C660D - 14 X and I brought the new machine RAM
    + Komputerbay 8 GB (2 x 4 GB) DDR3 SODIMM (204 PIN) 1333 Mhz PC3-10600 8 GB portable memory +.

    The RAM is recognized in the BIOS, but when I try to start windows I get a white line in the upper left corner of the screen.

    Any ideas how to fix?

    Notepad starts successfully by using the old modules?
    If Yes, then your problem are the new inserted memory modules.
    Eventually, they are not fully compatible or defective.

    I upgraded my laptop with the modules of RAM 8 GB some time ago and I used Kingston modules.
    They are more expensive but Kingston provide good quality modules and they work great.

    Less expensive modules can cause this kind of problem!

Maybe you are looking for