473,326 Members | 2,732 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Invalid escape sequence( valid ones \b t\ n\ f\ r\ "\ '\ \\)

I´ve been working over the EPCM.subscribeEvent I´ve included all the raised events collected from the javascripts. The completed code looks like this:

//Subscribe the events from portal

//Events raised by browser

script+="//EPCM.subscribeEvent('urn:com.sapportals.portal:bro wser', '*',onGetEvent);\n";

//events raised by load or reload the page

script+="EPCM.subscribeEvent( 'urn:com.sapportals.portal:pageBuilder', '*', onGetEvent );\n";

// events raised by actions inside Desktop navigate between tabs

script+="EPCM.subscribeEvent( 'urn:com.sapportals:navigation', '*', onGetEvent );\n";

// events raised by the user actions

script+="EPCM.subscribeEvent( 'urn:com.sapportals.portal:user', ''*'', onGetEvent );\n";

script+="</script>\n";

//Events for CRM

script+="<SCRIPT src='\irj\servlet_jsp\irj\root\portalapps\com.sap. portal.epcf.loader\support\epcfproxy.js'></SCRIPT>";

//In Documentation it looks like:: script+="<SCRIPT src='epcfproxy.js'></SCRIPT>";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', Navigate);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', RefreshWorkArea);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', PersonalizeWorkArea);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', ExpandWorkArea);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', HelpWorkArea);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', RelativeNavigate);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', ObjBasedNavigate);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals:navigation', '*', RefreshPage);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals.portal:workprotect', '*', inquiryProtection);\n";

script+="EPCMPROXY.subscribeEvent( 'urn:com.sapportals.portal.dsm:Notification', '*', ReceiveSessInfoKey);\n";

The added lines are the ones included in after "//Events for CRM".

There´s an error returned when including epcfproxy.js. The error is only returned when includding all the path. Error says Invalid escape sequence( valid ones \b t\ n\ f\ r\ "\ '\ \\)



Regards,
James
Aug 8 '07 #1
0 5514

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Lyn | last post by:
We use response.redirect to connect to an external web site which does not work when the "=" sign is translated to "%3B" and the ";" to "%3D". Is there a way to turn this default translation off?...
6
by: TS | last post by:
Hi, i have a problem validating xml against schema. I used http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx validator and it says it is fine. Can you tell me why this doesn't work? ...
5
by: Prince Kumar | last post by:
I am trying to escape the special characters while executing the following sql, but couldn't figure out a way. db2_all "db2 connect to mydb; db2 select * from table (SNAPSHOT_CONTAINER ( '' , -1...
1
by: G Fernandes | last post by:
Hi, can someone tell me what the following words mean as per C/clc: 1) token 2) token sequence 3) scalar variable 4) vector
5
by: Steven C | last post by:
Hello! I am trying to connect to a SQL Server (MSDE) database in mixed mode authentication, via C#, but when I use the MSDE instance name, I keep getting an "Unrecognized Escape Sequence"...
0
by: YiFai | last post by:
Hello, I'm currently writing a directx program with C++, but it takes a while to load the files necessary for the directx. When the directx window loads, it can quit the program with the...
0
by: Jeff Groves | last post by:
I'm using FreezePython on a Python program that uses wxPython and subprocess. The result almost works, but it always hits this bug: File "velauncher.py", line 847, in Launch File...
6
by: sloan | last post by:
I have a fairly simple RegEx code below. I am given a file name, (which I don't control) , and need to change a folder name in it. The code below is choking on the filename not being...
1
by: dhanu sahu | last post by:
I am store my database and Tables in App_Data.I want to retrive data from that and want to see in Label Control . But I m getting Error As "Unrecognised Escape Sequence" string conn = new...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.