problem with javascript in the page jspx

Hello

using the last jdev from RTO 11 g.

I'll have more javascript which works fine if I try out jdev using a html file but fails when I run the page with the error:
OracleJSP error: oracle.jsp.parse.JspParseException:
Error: oracle.xml.parser.v2.XMLParseException (/ adflib/myapp/setup/ui/page/CloseBrowser.jspx):
[Line no.: column 37 #: 28: name expected instead of].


JavaScript:

< af:resource type = "javascript" >
function getCompId (name) {}
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); "
regexS var = ' [------? &] ' + name + ' = ([^ & #] *)';
var regex = new RegExp (regexS);
results var = regex.exec (window.location.href);
If (results == null) return "";
otherwise return results [1];
}
< / af:resource >

Hello

JSPX is a strict xml page... the problem is that your function has a few characters that are interpreted as part of the xml...
As far as I know using & in xml are not valid... you use & amp; instead...
so, you should try including your script inside cdata like this


Tags: Java

Similar Questions

  • Problem with branch to the Page identified by the element when I delete

    I have a form on page 107.
    When I delete an item with the form I automatically go to page 101.
    But I have a branch (branch of Page identified by element). Normally, after the deletion of the article, it should go to page 104 (the number of a page, it came out a field on my form on page 107).

    Obviously that is possible with a branch to the page?

    It's a little difficult to understand, your post, what is exactly the problem, but here is a proposal: when you create a form page, ApEx creates by default a "reset page" process to clear the cache for all elements on the page when you remove and in this case, it also erases the page identifier at the junction.

  • Having a problem with loading in the combustion chamber

    Hello

    I'm having a small problem I could use help with. I'm not really sure what's going on, but I'm having a problem with one of the pages of my site does not when you try to view the page in Firefox. But if I loaded this page in Safari or Chrome, it loads very well.

    Here is the URL of the page to take a look:
    Specific link removed by moderator display ~ J99 < sitename >.com/top-10/top...services/

    No idea why this might be happening or how to fix it? I don't know if it's just my computer, or if others have the same problem.

    Thanks in advance,

    Mike

    There's two of us have confirmed the page will load so I deleted the link to display as it could be construed as advertising.

    P.S. Note only forum content in the resolved threads is now indexed by search engines.

    (Last updated: February 14, 2015 08:45 CEST)

    Solved the locked thread now ~ J99

  • For two days, unable to get maps of Google with Firefox. The page opens, but the route is not available. With Safari, no problem.

    For two days, unable to Google Maps works with Firefox. The page opens but no answer to my questions. A message says "loading... Lai is too long? Look at troubleshooting guide or simplified HTML version. »
    No problem with Safari.

    URL of affected sites

    http://maps.Google.fr/

    I had the same problem. Reset the browser.startup.homepage_override.mstone in all: config. The problem is corrected.

  • Automatic updates program turned out impossible to turn it on, with error message "site has encountered a problem and cannot display the page you are trying to view.

    Original title: Auto updates

    My automatic updates program is disabled.  When I try to turn it on, I get this message "the site has encountered a problem and cannot display the page you are trying to view.  Automatic updates forever, why was off and why he now won't come back?

    Bill T

    E-mail address is removed from the privacy *.

    Hi Bill,

    This problem can be caused if the automatic updates service may be missing in the Services snap-in.

    1. is the Service Pack 3 installed on your computer?

    2. what anti-virus software you use in your computer?

    Follow the steps below:

    Method 1:

    To resolve this issue, follow these steps:

    1. Click Start, click run, type explore, and then click OK.
    2. Look for the following folder:

    %windir%\System32\inf

    Note The %windir%\System32 placeholder represents the path of the WINDOWS System folder. Typically, C:\WINDOWS is the path of the WINDOWS System folder.

    The inf folder is a hidden folder. To view the inf folder, follow these steps:

    a. on the Tools menu, click on Folder Optionsand then click the view tab.

    b. in the list of Advanced settings , click to display the hidden files and folders under hidden files and folders.

    c. click applyand then click OK.

    3. double-click on the inf folder, right-click in theand then click install.

    4. click on Browse. Look for, and then click the \ServicePackFiles\i386 %windir%\System32folder if the following conditions are met:

    • You install Windows XP SP3 from a CD Windows XP SP3 which included as part of the basic installation of SP3.
    • You have downloaded and installed Windows XP SP3 from the Microsoft Web site.
    • Windows XP SP3 was included with the computer.

    Note If the files from the Service Pack folder is not present on the computer, you can copy the files from a Windows XP SP3 slipstreamed installation CD.

    5. click OK to copy the files.

    6. change the setting on the computer to not display the hidden files and folders. To do this, follow these steps:

    1. On the Tools menu, click Folder Options, and then click the view tab.
    2. In the list of Advanced settings , click show not the hidden files and folders under hidden files and folders.
    3. Click applyand then click OK.

    7 restart the computer and check.

    Method 2:

    Follow the steps in the link below.

    You receive an error message "Windows Update has encountered an error and cannot display the requested page" when you try to install an update:

    http://support.Microsoft.com/kb/883614

    For reference:

    How to configure and use automatic updates in Windows:

    http://support.Microsoft.com/kb/306525

     

    If you need further assistance on this topic, let know us and we will be happy to help you.

  • problem with update of Windows 'site has encountered a problem and cannot display the page you are trying to view.

    Hi all, I recently rebooted my dell xps m140 older and I would get all the updates from microsoft. When I go to this webiste - http://www.update.microsoft.com/windowsupdate/v6/default.aspx?ln=en-us...i click on purpose and he says:-"the website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem. "no work around for this?

    You must be at Service Pack 3 level before you can use Windows updates.

    How to obtain the latest Windows XP service pack
    http://support.Microsoft.com/kb/322389

    You have not provided us with sufficient detail as to what level you are at

    If you haven't already done so, you will need to install the SP2 and SP3 (SP1 note no longer exists).

    To determine which service pack is currently installed on your computer, follow these steps:

    1. Click Startand then click run.
    2. Copy and paste, or type the following command, and then click OK:
      winver

      A dialog box displays the version of Windows and the service pack that is currently installed on your computer.

    Installation of SP2 - http://support.microsoft.com/gp/xpsp2getinstall

    Steps to take before you install Windows XP Service Pack 3
    http://support.Microsoft.com/kb/950717

  • Problems with access to the web pages, email, video, etc. even when I have 4-5 bars.

    I installed a Dell Wireless 1505 low-profile carrier 1.2 antenna dim/insp in desktop. Its a PCIe wireless lan card. But since last Tuesday patches have been installed I had problems with access to the web pages, email, video, etc., even when I have 4-5 bars.  Someone at - it an idea of what's going on.

    Hi William e. Swann

    1. what web browser do you use?

    Method 1:

    You can read the following article and check.

    You may experience connectivity problems or performance issues when you connect a portable computer that is running Windows Vista or Windows 7 to a wireless access point

    Method 2:

    You can also read the following article.

    How to troubleshoot network connectivity problems in Internet Explorer

    Hope this information is useful.

  • Major problems with multiple items of page on the web viewer since the last update

    In the last days, we had problems with all our multiple page items that are newly updated or added on the web viewer.

    Scrolling of pages just to repeat content again and again and true articles page see first pages content overlaid on all subsequent pages. It seems that something important broke in the way that the dps push articles to the webviewer, as is happening through fact sheets and articles. This means that we cannot publish anything until it's resolved.

    Someone knows something similar? Any suggestions?

    Hi Lucie,.

    Please contact support for assistance with this enterprise. They can investigate and open a support issue with if necessary engineering team. Contact information is available by logging into http://digitalpublishing.acrobat.com/ and looking at the Middle bottom of the screen.

    Neil

  • Unique problem with selction on the table (Query Page)

    Unique problem with selction on the table (Query Page)

    I have a VO data Bulletin Board, with a transitional attribute for selction unique column.
    My requirement is that I need to identify the line that was selected in the table.

    I associated with fireAction singleSelection column, such that whenever the user selects the line
    I'm looking for that VO using some rowIterator.
    But when running the loop of the transient VO that is mapped to the singleSelection variable is the show as "n" / NUll
    for all the lines...

    So how do you identify the selected line in singleSelection to a table.

    -Sasi

    In the property inspector of the element for which you've put firePartialAction, you can find a property named "parameters". That mention primary key as your setting.

    You can get the arameter using pageContext.getparameter ();

    -Anand

  • Problem with script on the master page

    So I have my build script of the unique number bit that I have posted here before... it's on the Initialize event of the field.


    If (this.rawValue == null) {}
    var d = new Date();
    this.rawValue = parseInt(d / 1000);
    }
    else {}
    this.rawValue = rawValue;
    }

    Which works very well if on the body of the form, but if I put it on the master page it re - initializes (and changes the number) whenever a subform gets shown/hidden. No idea how to stop it from doing this? I tried it on a few other events without a bit of luck.

    I came across another problem with this script, a field called 'Date' was interfering with the script - throw an error "the Date is not a constructor. Is - this normal (function/field collision)?

    Hi Jono,

    I had problems with script within the Master pages before. What I've done in the past, it is a textfield hidden in the main pages of script with overall binding (which featured many here today); then same name textfield in the master page picks it up.

    Good luck

    N.

    Post edited by: Niall O'Donovan

  • Problem with flash based Web pages and re - install windows

    Hello!
    I bought the Toshiba NB100 and use the netbook for a few weeks. At first, it worked all fine and exceeded my expectation.
    However, since one some time he experiences trouble with performance based on flash Web pages such as youtube and etc, which makes it not not possible to stream any video smoothly. Basically, it's a fast-paced photo slideshow :(
    The problem here is certainly not the performance mode, which is set at the maximum.
    I tried to get through this problem with re - install the operating system, which is windows XP, but after transfer of the content produced the DVD on a flash drive recovery, the system does not have a configuration menu. It gives me an error report instead.
    * I put the following qustions you: *.
    * 1. What can be the reason for slow running applications? *
    * 2. I'm doing something wrong when you reinstall windows? * Ts here a simple manual for the resettlement of the op?
    Comments, suggestions and advice will be much appreciated and I thank you in advance.

    So you have installed a generic version of Windows XP?

    You may have forgotten to install the drivers graphics and other critical drivers such as the Intel Chipset driver.

    You see problems in Device Manager?

  • Want to Phoenix 860-010: problem with fonts and the noisy fan

    I have a new machine, just a day old, and I'm having a problem with fonts.  The file Explorer, Edge and other similar programs seem to go from a very readable font that lights up in half a second or less whenever I move down on the page in these applications.  Police that results is much more difficult for me to read because of the lightness that results. I have not met this problem before.  Frankly, I don't know the source of the problem.  Is it hardware (video card) or (Windows 10) operating system software?

    Hello @PhotoGene47,

    Thanks for the quick response!

    Have you tried to see the document that I mentioned in my previous post?  If you prefer to have the Board repaired, you can consider contacting the HP support by phone for additional options.  Please use the following http://www.hp.com/contacthp and create a folder for your question and contact HP. If you do not live in the United States / Canada, please click on the link below to get contact information for your region.
    http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    I hope this helps.

    Please let me know if this information helps you solve the problem by marking this message as 'accept as Solution' , this will help others easily find the information they seek.  In addition, by clicking on the Thumbs up below is a great way to say thank you!

    Kind regards!

  • Windows Update does not work after you reinstall Windows XP SP3, get error: "the site has encountered a problem and cannot display the page you are trying to view.

    Original title: cannot run Windows Update

    I just reinstall my Windows XP and SP3, but I can't run Windows Update and gives me the following error message:

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    For self-help options:

    To support options:

    Can someone help me please?  Thank you.

    I just reinstall my Windows XP and SP3, but I can't run Windows Update and gives me the following error message:

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    For self-help options:

    To support options:

    Can someone help me please?  Thank you.

    [1] select start > run > wuaucpl.cpl > disable automatic updates > apply (if the setting is changed) > OK

    To disable the horse notification that appears in the status bar on automatic updates is turned off.

    Go to start > Control Panel > Security Center > resources > change the way Security Center alerts me > uncheck automatic updates

    [2] manually download the full install for IE8 exe and install IE8 and refuses to download updates at the time of the installation of IE8

    http://www.Microsoft.com/en-us/download/Internet-Explorer-8-details.aspx

    [3] manually download and install the latest cumulative security for IE8 update and restart the computer before

    visit windows update via the shortened link in your Start menu.

    When you have Win XP SP3 and IE8, it will be the necessary file recommend you download and save the file in the folder, and then double-click on and run the executable file from there.

    http://download.Microsoft.com/download/1/9/A/19A6AC47-9EA0-455F-B918-A44D25B5304C/IE8-WindowsXP-KB2898785-x86-enu.exe

    Restart after installing IE8 cumulative security update.  It should restart when installation is complete.

    [4] now to connect to windows update manually through your browser using the shortcut in the start menu link.  Ignore the warnings, recommendations to turn on automatic updates.

    Report back please on the status and please report problems with error codes. Thank you.

    Recommend you not install MSE but rather install a free antivirus like Avast or AVG.

    Recommend also you do not install Windows Search 4.0 these programs not to live pleasantly on most XP machines and cause CPU excessive loading unpredictable and inconveniently sometimes interfering with the usual ability to XP if not to multitask without problems.  Also recommend you only install Firefox is a browser much better than IE8 that will not work even at many Web sites.

  • Error manually running Windows updates "the website has encountered a problem and cannot display the page you are trying to view. The options provided below might help you solve the problem.

    Original title - manual update of Windows XP via "Windows Update" fails

    07/01/14: click on "Windows Update" on the desktop (XP Home) and XP Tablet

    Result: 'the site has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem. »

    This office has begun on about 3 days ago and just this morning appeared on the Tablet

    I do McAfee and Microsoft updates manually every morning after the startup of computers so that they will not automatically be updated when I'm busy with other things

    I suspect that the McAfee via Verizon security package is the culprit since the 'look' of their package and procedures changed end of December

    Since then, they have had updates almost every day

    And around the same time, my problem appeared on XP Home Edition, I was not able to access Adobe PDF files and had to re-download Adobe Reader XI

    Any body else having the same problem?

    And help get the update of Windows XP to run again?

    It would not be the first step to disable automatic updates in Control Panel and manually download and install the most recent cumulative security update for internet explorer since without first, everything in the way of troubleshooting will be futile?

    Download and install the latest cumulative security for IE8 update and manually restart the computer.

    visit windows update via the shortened link in your Start menu.

    Assuming that you have Win XP SP3 and IE8, it will be the necessary file

    http://download.Microsoft.com/download/1/9/A/19A6AC47-9EA0-455F-B918-A44D25B5304C/IE8-WindowsXP-KB2898785-x86-enu.exe

  • Windows XP update error: 0x8024D001, the site has encountered a problem and cannot display the page you are trying to view.

    Original title: Windows XP ~ Windows Update problem.
     
    During three days of solid, and I slept then work, sleep and then working to solve a problem I have with the functionality of Windows XP Windows Update - this is the error message I get constantly

    [Error number: 0x8024D001]

    The website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem.

    I installed a new copy of Windows XP on a hard disk nine, installed Service Pack 1, Service Pack 2 and Service Pack 3, installed Internet Explorer 8 installed .NET Framework 2.0 as Microsoft requested, modified popup settings to allow Windows Update page to be free to scan my system for updates, etc... and I even enabled all Active X permissions BUT I still can't Windows Update to allow me to download all updates, patches, etc... Windows Update has generally

    I also turned on automatic updates requirement also BUT no dice - I can't just not update Windows to activate and start as normal, no matter how many times I format the drive and do a fresh install.

    I had to get a new drive hard as my old crashed.

    Now, I have to install Windows XP again but I noticed how old, easy to update somehow has been paralyzed.

    It's as IF Microsoft is crippling of Windows Update to start simple as pie, then now we users HAVE to jump through hoops to get our operating system Windows XP set to day and repeatedly queries Microsoft asks us or install 'FIX IT' service does not work and it is impossible to reach by phone about Microsoft , and the live online help runs into errors when it is installed, so I have to hit the Internet Forum here for advice.

    How, in words simple Windows XP allow Windows Update to run the scan, to download and install the process what it is supposed to do?

    What exactly is missing to allow the screen to show the green bar and scan the notificiation there have updates available?

    What I am doing wrong?

    I really hate to say this, BUT I'm literally at the edge of tears.

    Help!

    Is there a maintenance program master as an "all-in-One rollup patch" that will search the lack of programs, applications, and settings of Windows XP and makes a one-way relay to set everything right and ensure that the programs needed to make Windows Update work are knitted in Windows XP, including all programs missing subprogrammes and to settings then check their self errors or incorrect version but it provides goes off to FIND the RIGHT version of What is needed?

    Or better yet a disc Compilation of master i.e. Final Service Pack 4.0 that contains all fixes known on DVD that would be found in the downloaded Windows Update but rather is purchased for $10.00 that contains each hotfix and update known for Windows XP so that we can manually update Windows XP on the side of the user of the Internet without having to go on the internet?

    You need 3 things to WU work.

    WindowsXP-KB892130-ENU - x 86 .exe   KB892130 Windows Genuine Advantage Validation v1.9.42.0
    WindowsXP-KB898461x86 - ENU.exe   KB898461 Installs a permanent copy of the Package for Windows Installer

    And and unofficial WUA.

    He's right on obsolete dll of WUA that MS is not updated once sometimes for some unknown reason... even the WU Fix there don't solve it. I ran a few tests in the fall and virtual machine on the same issue yesterday. You must install the unofficial Windows UPDATE agent.
    Windows Update Agent below... MS last isn't the last. Boo Ms.
    Download WindowsUpdateAgent7.6.7600.256 - 257.zip to your desktop (MS does not have the latest version of Windows Update Agent. Only 7.4.7600.243 so make us with this).

    Unzip it, go to the folder and double-click RunMe - MakeInstallWindowsUpdateAgent.bat.

    It will download, MS, the files needed to create the Windows Update Agent 7.6.7600.256/257 and then install it. The files that it contains are 100% Microsoft. He uses just a few third-party tools to make it.

    You will be left with the installer, WindowsUpdateAgent7.6.7600.256 - 257.exe. Keep or delete. Your choice.

    Analysis antivirus for WindowsUpdateAgent7.6.7600.256 - 257.zip

    Information for network administrators about how to obtain the latest Windows Update Agent

    Taken from the newsletter above...
    View
    There is no stand-alone installer for the latest version of the Windows Update Agent (7.6.7600.256)

    EDIT: I forgot to mention. It took 1 hour before the scan finished for me. A guy that I was helping on another forum just let WU scan of the day to the next. When he awoke, the scan had the results. So please be patient.

    "Or better yet a disc Compilation of master i.e. Final Service Pack 4.0 that contains all fixes known on DVD that would be in the downloaded Windows Update, but instead is purchased for $10.00 that contains each hotfix and update known for Windows XP so that we can manually update Windows XP on the side of the user of the Internet without having to go on the internet?

    You can create a CD to date and does not deal with all the hassles during the fresh installation. You need nLite and my script of the UDC. You will only need SP3 when "slipstreaming". No SP1 or SP2.

Maybe you are looking for