APD ' Error in Result Management:DB_ERROR' error
I created an APD and it checked out fine. But when I try to run an intermediate result on one of the filters, I get a "Error in Result Management: DB_ERROR". Has anyone experienced this error before? Its very odd. It is a very simple APD with a couple of filters and joins and probably a volume of about 100,000 records. We have other complex APDs that run fine though.
System specs:
SAP BW Release 701 (SAP EHP 1 for SAP NetWeaver 7.0).
I appreciate if anyone can suggest an idea to fix it.
Thanks.
HI Vivek,
I am also getting the same error, can you please tell me how you have resolved the error.
Thanks in Advance..
Similar Messages
-
ADM Error processing results from query: Error: Index 0 out of range
11.1.2.1
When running quite a large book, we are getting the following error:
ADM Error processing results from query: Error: Index 0 out of range
The individual reports in the books are running fine.
PS. The report books that are giving this error run fine on 9.3.1
Could this be a time-out issue and how do we resolve it?what is background datasource Essbase or HFM
do you have lot of data in pov please try below
>Do you have pov prompt
>increase jvm heap size for report server in reporting server
>Fr log files has some more detail -
Hi,
Can I style Web Forms Confirmation Page Results - Specifically the "ERROR" message in the results?
{module_webformresults} is auto rendedered as a table with CSS IDs attached but nothing specific for the ERROR message - resulting in the error not being seen.
The ERROR is triggered by a dulplicate User Name or Password.
I tried using a JQuery text selector, but it does not work with the results for some reason.
Any ideas?
Attached is are the error results, see Username
Thanks!
PHi Patrick,
It should work. You know the id of the specific area, you know what string to search for in order to condition the appearance of the new message.
Kind Regards,
Alex -
Runtime error in J2IUN - "DYNPRO_FIELD_CONVERSION" / "Conversion Error*"
Hi All,
I am facing run time error problem during Transaction J2IUN "DYNPRO_FIELD_CONVERSION" / "Conversion Error"
Error analysis:
The program has been interrupted and cannot resume.
Program "J_1IRUTZN" attempted to display fields on screen 9000.
An error occurred during the conversion of this data.
There was a conversion error in the output of fields to the screen.
The formats of the ABAP output field and the screen field may not match.
Some field types require more space on the screen than in the ABAP
program. For example, a date output field on the screen requires two
more characters than the corresponding field in the ABAP program. When
the date is displayed on the screen, an error occurs resulting in this
error message.
Screen name.............. "J_1IRUTZN"
Screen number............ 9000
Screen field............. "UTIL1-REM_BAL"
Error text............... "FX015: Sign lost."
Other data:
Kindly guide me to resolve the issue.
Regards,
P.S.ChitraHi,
Here comes the solution...
Please implemet the SAP note 1252418...
Looking very much relavent to your problem...
Regs,
Lokesh. -
Error message is 'The Request Error : 400' with SAP Download Manager
Hello,
The authorization object SWDOWNLOAD (download software) is assigned to the My user ID.
But I could not download below that file.
SAP_ABA 710 (4~8)
SAP_BASIS 710 (4~8)
PI_BASIS 2006_1_710 (4~8)
SAP_BW 710 (4~8)
Error message is 'The Request Error : 400' with SAP Download Manager
I logged on to SAP Service Marketplace, software download area /swdc.
I have created objects in the download basket and have received approvals (->Maintenance-Optimizer) where required.
I start the SAP Download Manager and the objects from the download basket are visible in the object list of the program window.
After I choose "Objects for Download", the system starts the download.
In the info-line (in the lower part of the window), the system displays the message 'Processing object...' and then 'The request failed: 400'.Hello,
In these cases the following things should be checked:
1.- Please be sure that you are using the latest Donwload Manager version
2.- S-User and password should be active
3.- Specify the proxy. Please refer to SAP Note 155954
4.- It might be that you are not licensed for the product you want to download.
If the checkings above are correct and the problem is still alive, I would recommend you to open an SAP customer message under component XX-SER-SAPSMP-SDM providing the following information:
1.- The exactly software product name and package or stack number you try to download.
2.- Attach to the message the results of the trace file generated as per note 574885:
574885 - Download Manager: Generate trace file for analysis
I hope this helps you.
Regards,
Blanca -
ORA-27023: skgfqsbi: media manager protocol error
can some one please tell me what to do regarding this error, and how can i solve it. the result log is stated below...
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 16 15:26:49 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database: MOT (DBID=2759813257)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U';
3> backup as BACKUPSET current controlfile tag '10162007032648';
4> restore controlfile validate from tag '10162007032648';
5> release channel oem_sbt_backup;
6> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on oem_sbt_backup channel at 10/16/2007 15:26:50
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> allocate channel for maintenance type 'sbt_tape' ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 10/16/2007 15:26:51
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> delete noprompt backuppiece tag '10162007032648';
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=125 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 10/16/2007 15:26:51
RMAN-06168: no backup pieces with this tag found: 10162007032648
RMAN> exit;
Recovery Manager complete.can some one please tell me what to do regarding this error, and how can i solve it. the result log is stated below...
Recovery Manager: Release 10.2.0.1.0 - Production on Tue Oct 16 15:26:49 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
RMAN>
connected to target database: MOT (DBID=2759813257)
using target database control file instead of recovery catalog
RMAN>
echo set on
RMAN> run {
2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U';
3> backup as BACKUPSET current controlfile tag '10162007032648';
4> restore controlfile validate from tag '10162007032648';
5> release channel oem_sbt_backup;
6> }
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on oem_sbt_backup channel at 10/16/2007 15:26:50
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> allocate channel for maintenance type 'sbt_tape' ;
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of allocate command on ORA_MAINT_SBT_TAPE_1 channel at 10/16/2007 15:26:51
ORA-19554: error allocating device, device type: SBT_TAPE, device name:
ORA-27023: skgfqsbi: media manager protocol error
ORA-19511: Error received from media manager layer, error text:
sbt__rpc_connect: Internal error - could not connect to obproxyd (Oracle Secure Backup error: 'bad port name specified (OB SBT proxy manager)').
RMAN> delete noprompt backuppiece tag '10162007032648';
allocated channel: ORA_DISK_1
channel ORA_DISK_1: sid=125 devtype=DISK
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of delete command at 10/16/2007 15:26:51
RMAN-06168: no backup pieces with this tag found: 10162007032648
RMAN> exit;
Recovery Manager complete. -
Cannot Connect to HP Connection Manager. Error 8008005
I have an HP Pavilion dv6 Notebook PC and keep getting an error "cannot connect to HP Connection Manager. Error 80080005" I have tried unsuccessfully to resolve through prompts. Any ideas?
This question was solved.
View Solution.Hello Mrmcmorris. I understand you're wondering how to get the latest drivers for your notebook.
The easiest way to get the latest drivers is to ensure that you have both the HP Software Framework and HP Support Assistant installed. Then you can run HP Support Assistant. It will scan your system and check HP's database for any updates to your drivers and HP-software.
If you find this helpful you can click the white star under my name to give me Kudos.
Let me know the result. Have a great day!
Please click the white star under my name to give me Kudos as a way to say "Thanks!"
Click the "Accept as Solution" button if I resolve your issue. -
QM-Calibration Procedure -Error during Result Recording
Dear Sir,
During mapping of Calibration Process in SAP,I am getting error ( status check error ) for Result recording of Inspection lot (QM-Calibration).I have follow all the required steps,I am not getting reason of error,Please Advice.
ThanksDear
Maintain in sampling procedure radio button palnt maintainance. then check if ur using inspection plan with inspection point.
else make sampling management radio button on..
regards
SANIL -
"Tunneling result not OK" error
With Weblogic 6.1SP1 on Windows 2000, I see the following error once in a
while.
At the client, I get the following:
-----------client-side error stack begin-------------
weblogic.rjvm.PeerGoneException: ; nested exception is:
java.net.ProtocolException: Tunneling result not OK, result: 'DEAD',
id:
'18'
java.net.ProtocolException: Tunneling result not OK, result: 'DEAD', id:
'18'
at
weblogic.rjvm.http.HTTPClientJVMConnection.receiveAndDispatch(HTTPCli
entJVMConnection.java:406)
at
weblogic.rjvm.http.HTTPClientJVMConnection.execute(HTTPClientJVMConne
ction.java:296)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
----------client-side error stack end-----------------
Meanwhile, at the server, the wl-domain.log has the following stack trace:
----------server-side error stack begin-----------
####<Nov 11, 2001 7:11:20 PM CST> <Error> <ConnectionManager> <[Hostname]>
<[Managed Server Name]>
<ExecuteThread: '14' for queue: 'default'> <> <> <000000> <>
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing failed ; nested exception is:
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
Start server side stack trace:
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing failed ; nested exception is:
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
at
weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.j
ava:182)
at
weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.j
ava:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:582)
at
weblogic.rjvm.http.HTTPServerJVMConnection.dispatch(HTTPServerJVMConnection.
java:359)
at weblogic.rjvm.http.TunnelSendServlet.service(TunnelSendServlet.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2456)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.Kernel.execute(Kernel.java:229)
at
weblogic.servlet.internal.WebAppServletContext.dispatch(WebAppServletContext
.java:2352)
at
weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTTP.java:
521)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:643)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
----------server-side error stack end-----------
This is not easy to reproduce - I've only seen it about once a day during
extended
performance stress tests, which complete most of the time successfully.
Any idea what these errors mean? Is there some tuning I can do to make them
stop?
I've already tried setting the ThreadCount to 10 and the
PercentSocketsReaders to 60
on the client command line, based on advice we got from BEA, but I've seen
this
particular problem whether I set those parameters or not. I had not seen
this problem
before switching to Weblogic 6.1 from 6.0.
--RajivI have the same problem. Any hint? Is it a bug? There is some fix?
Angelo
"Michael Gogins" <[email protected]> wrote:
>
We have had a similar problem with tunneling JMS publish/subscribe through
HTTP
and HTTPS to get through firewalls. The JMS connection drops, and cannot
properly
be recovered.
Can anybody tell me if they have also had this problem with tunneling
other protocols
such as RMI or EJB?
In other words, does anybody know what layer of the protocol stack causes
this
problem?
Also, needless to say, does anyone have a workaround or solution?
"Rajiv Jauhari" <[email protected]> wrote:
With Weblogic 6.1SP1 on Windows 2000, I see the following error once
in a
while.
At the client, I get the following:
-----------client-side error stack begin-------------
weblogic.rjvm.PeerGoneException: ; nested exception is:
java.net.ProtocolException: Tunneling result not OK, result:
'DEAD',
id:
'18'
java.net.ProtocolException: Tunneling result not OK, result: 'DEAD',
id:
'18'
at
weblogic.rjvm.http.HTTPClientJVMConnection.receiveAndDispatch(HTTPCli
entJVMConnection.java:406)
at
weblogic.rjvm.http.HTTPClientJVMConnection.execute(HTTPClientJVMConne
ction.java:296)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
----------client-side error stack end-----------------
Meanwhile, at the server, the wl-domain.log has the following stacktrace:
----------server-side error stack begin-----------
####<Nov 11, 2001 7:11:20 PM CST> <Error> <ConnectionManager> <[Hostname]>
<[Managed Server Name]>
<ExecuteThread: '14' for queue: 'default'> <> <> <000000> <>
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing failed ; nested exception is:
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
Start server side stack trace:
java.rmi.UnmarshalException: Incoming message header or abbreviation
processing failed ; nested exception is:
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
java.lang.ClassCastException: weblogic.rmi.internal.MethodDescriptor
at
weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.j
ava:182)
at
weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.j
ava:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:582)
at
weblogic.rjvm.http.HTTPServerJVMConnection.dispatch(HTTPServerJVMConnection.
java:359)
at weblogic.rjvm.http.TunnelSendServlet.service(TunnelSendServlet.java:25)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
ntext.java:2456)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
:2039)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.Kernel.execute(Kernel.java:229)
at
weblogic.servlet.internal.WebAppServletContext.dispatch(WebAppServletContext
..java:2352)
at
weblogic.servlet.internal.MuxableSocketHTTP.dispatch(MuxableSocketHTTP.java:
521)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:643)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
----------server-side error stack end-----------
This is not easy to reproduce - I've only seen it about once a day during
extended
performance stress tests, which complete most of the time successfully.
Any idea what these errors mean? Is there some tuning I can do to make
them
stop?
I've already tried setting the ThreadCount to 10 and the
PercentSocketsReaders to 60
on the client command line, based on advice we got from BEA, but I've
seen
this
particular problem whether I set those parameters or not. I had notseen
this problem
before switching to Weblogic 6.1 from 6.0.
--Rajiv -
Extension Manager CC error code U44M1P34 will not install product
Received update notice and ran the updater for the Extension Manager CC it turned with an error of U44M1P34 and contact support. Which the automated system fails to offer help for the Extension Manager. Signing out of Creative Cloud and relauching fails to clear the problem. All efforts to install the Extension Manager CC end with same error code. No way of finding a solution or contacting support!
I never withdrew any claim or closed any case, yet Adobe Support Staff did in fact close case. Adobe Support would lose connection and failed to reconnect or follow-up, even through contact information was provided. Support Staff closed or withdrew case to cover up their lacking a working solution and the failure in knowledge about Error Codes and their solutions. It seems a general lack of communication within Adobe to insure Support Staff have the correct answers for all Error Codes. Clearly the Code writers a reason for the Error Codes for any given product and a solution for clearing any Error Code, why Adobe Support Staff doesn't have access to this information, so they can address Customer's Problems is anyone's guess! But, clearing a Case before it is solved. Well, that is just sweeping the problem under the rug, in hope it goes away! Adobe Support is a BIG JOKE! Why support a Company that will not Support it's Customer Base?
7/7/14
Case #0185682058: Updating issue
Closed
7/7/14
Case #0185681800: Error code U44M1P34 Adobe Extension Man
Open - Pending Adobe Response
7/7/14
Case #0185681501: Still no help for Adobe Extension Manage
Open - Pending Adobe Response
7/5/14
Case #0185675782: Adobe Extension Manager CC Error code u4
Withdrawn
7/4/14
Case #0185675711: support for clearing Error u44m1p34 for
The issue of Adobe Extension Manager Version 7.0.0.347Withdrawn
The Problem of Adobe Extension Manager CC Version 7.0.0.347 not updating and returning error Code u44m1p34 still exists and hasn't been solved! Adobe Support would perform a few system checks then lose connection and never follow-up or reconnect. Six attempts using Chat and One Calling Adobe Support, still failed to correct the problem. At Adobe Support direction I have rewritten Msconfig and deleted AAMUpdater folder 1.0. Th e end results is update notice disappeared, but Adobe Extension Manager CC Version 7.0.0.347 never updated and still returns error code u44m1p34. What good is contacting Adobe Support if they do not have staff to handle issue or the correct information to solve problems within the program code? I have wasted 2.5 weeks on this issue and have nothing to show for all the work, just ERROR CODE U44M1P34. What a mess this bad code has caused! How long must people wait for a solution or a patch to be released, that addresses this Error Code? At this stage Contacting Adobe Support is a bad joke, it just doesn't exist! Adobe Extension Manager CC isn't even list in Product Support Menus! My information was not only given to each Adobe Support Staff, it is also listed every time, I log onto Adobe.com. I am tired of the guessing by the Adobe Support in Addressing this problem. I do not want a guess, I want a real and solid solution or a patch file. I played Adobe Support game and I am unwilling to do more damage to my computer by deleting files or rewriting the Operating System on some wild goose chase! I have been a Customer since 1980 and I expected a lot more than this from Adobe Support! -
Battery gauge error running Power Manager for Windows XP version 5.20
Last week on my R61 (8932-CTO), Update Retriever and System Update requested that I download and install ThinkPad Power Manager for Windows XP version 5.20. After rebooting, I immediately received an error box with the following message:
An exception occurred while trying to run"C:\Progra~1\ThinkPad\UTILIT~1\PWRMGRTR.DLL,PwrMgrBkGndMonitor"
As a result of this error, the battery gauge no longer displays correctly. The space where it used to be is blank, but clicking the empty space still gives you the option of starting Power Manager.
What is puzzling about this is that version 5.20 is not available in either in the Driver Matrix, nor on the Downloads and Drivers web page. The version of the software that is presented there is version 5.13.
The driver for ThinkPad Power Manager for Windows XP - version 5.20 can be downloaded from:
http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/ghu704ww.exe
http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/ghu704ww.txt
Another interesting point, is that this version of the driver has, as yet, not been presented to me on my R500 (2714CTO), although both machine types are listed as supported models.
Why are Update Retriever and System Update downloading software that apparently has not been officially released yet? Why is this only happening on my R61 and not on my R500?
And last of all, why has his software been released when it seems to have an obvious problem?
Any explanations would be appreciated.
ThinkPad R61 8932-CTO T8300 2.40 Ghz 3GB RAM Win XP
ThinkPad R500 2714-CTO P8600 2.40 Ghz 3GB RAM Win XP; Two ThinkPad R500's 2714-CTO T9600 2.80 Ghz 4GB RAM Win 7
ThinkPad T500 2241-DB9 T9600 2.80 Ghz 4GB RAM Win 7
ThinkCenter A63 5237-CTO 3GB Ram Win XP; A21m and a pair of 380XD'sI just wanted to confirm that the last working version for Windows XP is version 5.05 revision 04.
It can be downloaded from Lenovo:
http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/g6u702ww.exe
http://download.lenovo.com/ibmdl/pub/pc/pccbbs/mobiles/g6u702ww.txt
Cheers! -
Community Template; Save as Template Results in Several Errors
I customized a Community Site. I saved that site as a template. I used that template to create another site. Resulting errors\things I don't like.
1) When I click on Categories, the Featured Dicussion app and the Discussion app show correlation ID errors.
I deleted the Dicsussion app, re-added it, hoocked it up to the Categories webpart and that seemed to fix the error
I deleted the Featured Discussion app and re-added it. Seamed to work however if there isn't a Featured Discussion the app isn't hidden like in the Community Template. It just says there are no items in the Disucssion
2) When I go to the Discussion List itsleft the Management View is gone. I got around this by recreating it.
3) When I went to a dicussion thread I had to change the view to Flat and make it the default.
All that being said, why can't I create a template from a Community Site without getting all these issues? Has anyone figured out a way to do this?Hi,
According to your post, my understanding is that you saved Community Site as Template results in several errors.
I tried to reproduce the issues, the site which created by the saved Template did has many problems.
This is a known issue in SharePoint Sever 2013. To work around this issue, create sites from a standard SharePoint template when you plan to use community categories. Everything will functions correctly on a site that wasn't created from a site saved as
a template.
Please refer to the official article related, although it is about the SharePoint online, it still works for SharePoint 2013.
http://support.microsoft.com/kb/2880772/en-us
Thank you for your understanding.
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
Deploiement/Configuration error on Forms Manager
Hi,
i have this stack when i access to Forms Manager (http://localhost:8080/lc/fm). Can you help me to resolve this error ??
Thank you
L'uri absolue: http://www.day.com/taglibs/cq/1.0 ne peut être résolu dans le fichier web.xml ou dans les fichiers jar déployés avec cette application (500)
The requested URL /lc/libs/livecycle/core/content/login.html resulted in an error in /libs/livecycle/core/components/login/login.jsp.
Exception:
org.apache.sling.scripting.jsp.jasper.JasperException: L'uri absolue: http://www.day.com/taglibs/cq/1.0 ne peut être résolu dans le fichier web.xml ou dans les fichiers jar déployés avec cette application at org.apache.sling.scripting.jsp.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51) at org.apache.sling.scripting.jsp.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409) at org.apache.sling.scripting.jsp.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116) at org.apache.sling.scripting.jsp.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315) at org.apache.sling.scripting.jsp.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:148) at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parseTaglibDirective(Parser.java:415) at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parseDirective(Parser.java:467) at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parseElements(Parser.java:1417) at org.apache.sling.scripting.jsp.jasper.compiler.Parser.parse(Parser.java:133) at org.apache.sling.scripting.jsp.jasper.compiler.ParserController.doParse(ParserController.java:216) at org.apache.sling.scripting.jsp.jasper.compiler.ParserController.parse(ParserController.java:103) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.generateJava(Compiler.java:167) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:310) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:290) at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:277) at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.compile(JspCompilationContext.java:501) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.prepareServlet(JspServletWrapper.java:427) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:486) at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:241) at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:86) at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:441) at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361) at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171) at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463) at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:259) at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64) at com.adobe.livecycle.crx.security.SpringSecurityBridgeFilter.doFilter(SpringSecurityBridgeFilter.java:65) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.adobe.livecycle.dsc.clientsdk.internal.ResourceResolverHolderFilter.doFilter(ResourceResolverHolderFilter.java:37) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.adobe.livecycle.formsmanagement.servlets.filter.FormsManagerResourceResolverFilter.doFilter(FormsManagerResourceResolverFilter.java:54) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:74) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:127) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135) at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60) at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:151) at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206) at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96) at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79) at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:127) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:55) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:259) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75) at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88) at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76) at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47) at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33) at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48) at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39) at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:278) at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:174) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) at java.lang.Thread.run(Thread.java:662)
Request Progress:
0 (2013-07-08 19:53:43) TIMER_START{Request Processing} 0 (2013-07-08 19:53:43) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message> 0 (2013-07-08 19:53:43) LOG Method=GET, PathInfo=/libs/livecycle/core/content/login.html 0 (2013-07-08 19:53:43) TIMER_START{ResourceResolution} 1 (2013-07-08 19:53:43) TIMER_END{1,ResourceResolution} URI=/lc/libs/livecycle/core/content/login.html resolves to Resource=, type=livecycle/core/components/login, path=/libs/livecycle/core/content/login, resource=[JcrNodeResource, type=livecycle/core/components/login, superType=null, path=/libs/livecycle/core/content/login] 1 (2013-07-08 19:53:43) LOG Resource Path Info: SlingRequestPathInfo: path='/libs/livecycle/core/content/login', selectorString='null', extension='html', suffix='null' 1 (2013-07-08 19:53:43) TIMER_START{ServletResolution} 1 (2013-07-08 19:53:43) TIMER_START{resolveServlet(, type=livecycle/core/components/login, path=/libs/livecycle/core/content/login, resource=[JcrNodeResource, type=livecycle/core/components/login, superType=null, path=/libs/livecycle/core/content/login])} 1 (2013-07-08 19:53:43) TIMER_END{0,resolveServlet(, type=livecycle/core/components/login, path=/libs/livecycle/core/content/login, resource=[JcrNodeResource, type=livecycle/core/components/login, superType=null, path=/libs/livecycle/core/content/login])} Using servlet /libs/livecycle/core/components/login/login.jsp 1 (2013-07-08 19:53:43) TIMER_END{0,ServletResolution} URI=/lc/libs/livecycle/core/content/login.html handled by Servlet=/libs/livecycle/core/components/login/login.jsp 1 (2013-07-08 19:53:43) LOG Applying Requestfilters 1 (2013-07-08 19:53:43) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter 1 (2013-07-08 19:53:43) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 1 (2013-07-08 19:53:43) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter 1 (2013-07-08 19:53:43) LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter 1 (2013-07-08 19:53:43) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter 1 (2013-07-08 19:53:43) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter 1 (2013-07-08 19:53:43) LOG Calling filter: com.adobe.livecycle.formsmanagement.servlets.filter.FormsManagerResourceResolverFilter 1 (2013-07-08 19:53:43) LOG Calling filter: com.adobe.livecycle.dsc.clientsdk.internal.ResourceResolverHolderFilter 1 (2013-07-08 19:53:43) LOG Calling filter: com.adobe.livecycle.crx.security.SpringSecurityBridgeFilter 2 (2013-07-08 19:53:43) TIMER_START{/libs/livecycle/core/components/login/login.jsp#0} 3 (2013-07-08 19:53:43) LOG SCRIPT ERROR: org.apache.sling.scripting.jsp.jasper.JasperException: L'uri absolue: http://www.day.com/taglibs/cq/1.0 ne peut être résolu dans le fichier web.xml ou dans les fichiers jar déployés avec cette application 3 (2013-07-08 19:53:43) TIMER_END{1,/libs/livecycle/core/components/login/login.jsp#0} 4 (2013-07-08 19:53:43) LOG Applying Error filters 4 (2013-07-08 19:53:43) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter 4 (2013-07-08 19:53:43) TIMER_START{handleError:throwable=org.apache.sling.scripting.jsp.jasper.JasperException} 9 (2013-07-08 19:53:43) TIMER_END{5,handleError:throwable=org.apache.sling.scripting.jsp.jasper.JasperException} Using handler org.apache.sling.servlets.resolver.internal.defaults.DefaultErrorHandlerServlet 10 (2013-07-08 19:53:43) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@38468d22), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@1fdbd00b), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@18379284), serializer=Config(type=htmlwriter, config={}))} 22 (2013-07-08 19:53:43) TIMER_END{22,Request Processing} Dumping SlingRequestProgressTracker Entries
ApacheSling/2.2 (JBoss Web/2.1.10, Java HotSpot(TM) 64-Bit Server VM 1.6.0_45, Windows Server 2008 6.0 amd64)Many thanks for the response however I tried to re-instll my grid control after the process of installing the weblogic and it still fails to recognise the ports.
I have greapped for all port ranges for the EM Upload port:
[root@dc1-eng-poem01 ~]# netstat -an | grep 5556
[root@dc1-eng-poem01 ~]# netstat -an | grep 48890
[root@dc1-eng-poem01 ~]# netstat -an | grep 4890
[root@dc1-eng-poem01 ~]# netstat -an | grep 4889
[root@dc1-eng-poem01 ~]# netstat -an | grep 4891
[root@dc1-eng-poem01 ~]# netstat -an | grep 4892
[root@dc1-eng-poem01 ~]# netstat -an | grep 4893
[root@dc1-eng-poem01 ~]# netstat -an | grep 4894
[root@dc1-eng-poem01 ~]# netstat -an | grep 4895
[root@dc1-eng-poem01 ~]# netstat -an | grep 4896
[root@dc1-eng-poem01 ~]# netstat -an | grep 4897
[root@dc1-eng-poem01 ~]# netstat -an | grep 4898
[root@dc1-eng-poem01 ~]# netstat -an | grep 4899
and no results - yet the port is defaulting to -1 (I am not familair with node manager) Can i bounce the box shutting down weblogic and then try install with weblogic down - or does this need to be active during the install?
Many thanks,
Ric -
Validating AUDIO UNIT - FATAL ERROR: OpenAComponent : result : -1,0xFFFFFFFF
Was producing . I stopped, turned off all when I came suddenly this happened : I can not open some plugins within the logic . Just 4 more plugins that use, after trying to reinstall several times , when I update the plugin manager 's logic appears this message :
validating Audio Unit Sylenth1 by LennarDigital : AU Validation Tool Version : 1.6.1a1 Copyright 2003-2013 , Apple Inc. All Rights Reserved. Specify -h ( -help ) for command options -------------------------------------------------- Validating AUDIO UNIT : ' aumu ' - ' syl1 ' - ' LNDG ' -------------------------------------------------- 01/26/2015 22: 50: 56,664 auvaltool [ 415 : d07 ] 22: 50: 56,663 WARNING : [ 0x7fff7a7cd310 ] > compload > AudioComponentPluginLoader.cpp : 662 : RegisterComponentsFromArray : Manufacturer String : LennarDigital AudioUnit Name : Sylenth1 Component Version : 2.2.0 ( 0x20200 ) Component Bundle 's Version : 2.2.0 * * PASS -------------------------------------------------- TESTING TIMES OPEN : COLD : FATAL ERROR: OpenAComponent : result : -1,0xFFFFFFFF validation result: Could Not Be opened updating properties of AU Sylenth1 by LennarDigital ... FAILED ! FAILED !
Can someone help me ?
Thx!I assume you are using 32Lives to run Sylenth.... as Sylenth is a 32bit plugin that normally doesn't work with LPX
You may need to go back into the 32Lives app and 'unwrap' and then 'resurrect' Sylenth again...
If the other plugins you say, are not working.... are also 32lives wrapped 32bit plugins then you will need to do the same with those too.
Note: Make sure you are using the latest version of 32lives for full compatibility with LPX -
ReportServer Manager Script Error
Hi All,
I have been using ssrs for quite some time now.And All of a sudden, I have started getting
scripts errors in reportingservices.js.
Error:"Uncaught TypeError: Cannot set property 'className' of null
Now I am not able to deploy new rdl files
Many Thanks
DeepakHI All,
Actually I have found the answer for that,thought that some one might get useful with this.ReportingServices.js in the path"C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER20122012\Reporting Services\ReportManager\js"
was causing the problem.Kindly replace the script with the following one
var checkBoxCount;
var checkBoxId;
var checkBoxHead;
// Context menu
var _divContextMenu; // The container for the context menu
var _selectedIdHiddenField; // The id of the item that opened th context menu
var _timeOutLimit = 3000; // How long the context menu stays for after the cursor in no longer over it
var _timeOutTimer; // The timout for the context menu
var _itemSelected = false;
var _mouseOverContext = false; // If the mouse is over the context menu
var _contextMenusIds; // The array of the diffrent context menus
var _fadeTimeouts; // The array of timouts used for the fade effect
var _onLink = false; // If the user is over a name link
var _selectedItemId;
var _tabFocusedItem = '';
var _mouseOverItem = '';
var _unselectedItemStyle;
var _currentContextMenuId; // ID of currently displayed context menu
var _currentMenuItemId = null; // ID of currently selected context menu item
// Search bar
var _searchTextBoxID;
var _defaultSearchValue; // The value that the box defaults to.
// start chris edit
// new functions to find firstChild and lastChild but skipping whitespace elements
function firstChildNoWS(element) {
var child = element.firstChild;
while (child != null && child.isElementContentWhitespace) {
child = child.nextSibling;
return child;
function lastChildNoWS(element) {
var child = element.lastChild;
while (child != null && child.isElementContentWhitespace) {
child = child.previousSibling;
return child;
// end chris edit
function ToggleItem(itemId) {
var item = document.getElementById(itemId);
if (item.style.display == 'none')
item.style.display = 'inline';
else
item.style.display = 'none';
function ToggleButtonImage(image1ID, image2ID) {
var image1 = document.getElementById(image1ID);
var image2 = document.getElementById(image2ID);
if (image1.style.display == 'none') {
image1.style.display = 'inline-block';
image2.style.display = 'none';
else {
image1.style.display = 'none';
image2.style.display = 'inline-block';
function SetFocus(id) {
var obj = document.getElementById(id);
if (obj != null && !obj.disabled)
obj.focus();
// Validates that an extension has been selected
function ValidateDropDownSelection(source, args) {
var obj = document.getElementById(source.controltovalidate);
if (obj.options[0].selected && !obj.disabled)
args.IsValid = false;
else
args.IsValid = true;
/// selectAll
/// selects all the checkBoxes with the given id
function selectAll() {
var i;
var id;
var checked = checkBoxHead.checked;
for (i = 0; i < checkBoxCount; i++) {
id = checkBoxId + i;
document.getElementById(id).checked = checked;
/// onSglCheck
/// performs actions when a single checkBox is checked or unchecked
/// cb -> the checkBox generating the event
/// topId -> id of the "select all" checkBox
function onSglCheck() {
// uncheck the top checkBox
checkBoxHead.checked = false;
/// ToggleButton
/// Toggle a buttons enable state
function ToggleButton(id, disabled) {
if (document.getElementById(id) != null)
document.getElementById(id).disabled = disabled;
function ToggleValidator(id, enabled) {
document.getElementById(id).enabled = enabled;
function SetCbVars(cbid, count, cbh) {
checkBoxCount = count;
checkBoxId = cbid;
checkBoxHead = cbh;
/// Check to see if any check boxes should disable
/// a control
/// cbid -> id prefix of the checkBoxes
/// cbCount -> total checkBoxes to check
/// hidden -> input to look for
/// display -> control to disable
function CheckCheckBoxes(cbid, hidden, display) {
var i;
var id;
var disable;
disable = false;
for (i = 0; i < checkBoxCount; i++) {
id = cbid + i;
if (document.getElementById(id).checked) {
id = hidden + id;
if (document.getElementById(id) != null) {
disable = true;
break;
ToggleButton(display, disable);
function HiddenCheckClickHandler(hiddenID, promptID, promptStringID) {
var hiddenChk = document.getElementById(hiddenID);
var promptChk = document.getElementById(promptID);
// prompt should be in opposite state of hidden
promptChk.checked = !hiddenChk.checked;
function validateSaveRole(source, args) {
var i;
var id;
var c = 0;
for (i = 0; i < checkBoxCount; i++) {
id = checkBoxId + i;
if (document.getElementById(id).checked) c++;
if (0 == c)
args.IsValid = false;
else
args.IsValid = true;
/// Pad an integer less then 10 with a leading zero
function PadIntWithZero(val) {
var s = val.toString();
if (val < 10 && val >= 0) {
if (s.length == 1)
s = "0" + s;
else if (s.length > 2)
s = s.substring(s.length - 2, s.length);
return s;
/// Pad the contents of an input with leading zeros if necesarry
function PadInputInteger(id) {
document.getElementById(id).value = PadIntWithZero(document.getElementById(id).value);
/// text of confirmation popup when a single item is selected for deletion
/// e.g. "Are you sure you want to delete this item"
var confirmSingle;
/// text of confirmation popup when multiple items are selected for deletion
/// e.g. "Are you sure you want to delete these items"
var confirmMultiple;
function SetDeleteTxt(single, multiple) {
confirmSingle = single;
confirmMultiple = multiple;
/// doCmDel: DoConfirmDelete
/// Given a number of checked items, confirm their deletion
/// return true if OK was clicked; false otherwise
function doCmDel(checkedCount) {
var confirmTxt = confirmSingle;
if (checkedCount == 0)
return false;
if (checkedCount > 1)
confirmTxt = confirmMultiple;
return confirm(confirmTxt);
/// on non-Netscape browsers, confirm deletion of 0 or more items
function confirmDelete() {
return doCmDel(getChkCount());
/// confirm deletion of policies
function confirmDeletePlcies(alertString) {
var count = getChkCount();
if (count >= checkBoxCount) {
alert(alertString);
return false;
return doCmDel(count);
/// counts whether 0, 1, or more than 1 checkboxes are checked
/// returns 0, 1, or 2
function getChkCount() {
var checkedCount = 0;
for (i = 0; i < checkBoxCount && checkedCount < 2; i++) {
if (document.getElementById(checkBoxId + i).checked) {
checkedCount++;
return checkedCount;
function ToggleButtonBasedOnCheckBox(checkBoxId, toggleId, reverse) {
var chkb = document.getElementById(checkBoxId);
if (chkb != null) {
if (chkb.checked == true)
ToggleButton(toggleId, reverse); // enable if reverse == false
else
ToggleButton(toggleId, !reverse); // disable if reverse == false
function ToggleButtonBasedOnCheckBoxWithOverride(checkBoxId, toggleId, overrideToDisabled, reverse) {
if (overrideToDisabled == true)
ToggleButton(toggleId, true); // disable
else
ToggleButtonBasedOnCheckBox(checkBoxId, toggleId, reverse);
function ToggleButtonBasedOnCheckBoxes(checkBoxId, checkboxId2, toggleId) {
var chkb = document.getElementById(checkBoxId);
if (chkb != null) {
if (chkb.checked == true)
ToggleButtonBasedOnCheckBox(checkboxId2, toggleId, false);
else
ToggleButton(toggleId, true); // disable
function ToggleButtonBasedOnCheckBoxesWithOverride(checkBoxId, checkboxId2, toggleId, overrideToDisabled) {
if (overrideToDisabled == true)
ToggleButton(toggleId, true); // disable
else
ToggleButtonBasedOnCheckBoxes(checkBoxId, checkboxId2, toggleId);
function ToggleValidatorBasedOnCheckBoxWithOverride(checkBoxId, toggleId, overrideToDisabled, reverse) {
if (overrideToDisabled == true)
ToggleValidator(toggleId, false);
else {
var chkb = document.getElementById(checkBoxId);
if (chkb != null) {
ToggleValidator(toggleId, chkb.checked != reverse);
function ToggleValidatorBasedOnCheckBoxesWithOverride(checkBoxId, checkBoxId2, toggleId, overrideToDisabled, reverse) {
if (overrideToDisabled == true)
ToggleValidator(toggleId, false);
else {
var chkb = document.getElementById(checkBoxId);
if (chkb != null) {
if (chkb.checked == reverse)
ToggleValidator(toggleId, false);
else
ToggleValidatorBasedOnCheckBoxWithOverride(checkBoxId2, toggleId, overrideToDisabled, reverse);
function CheckButton(buttonID, shouldCheck) {
document.getElementById(buttonID).checked = shouldCheck;
function EnableMultiButtons(prefix) {
// If there are no multibuttons, there is no reason to iterate the
// list of checkboxes.
if (checkBoxCount == 0 || multiButtonList.length == 0)
return;
var enableMultiButtons = false;
var multipleCheckboxesSelected = false;
// If the top level check box is checked, we know the state of all
// of the checkboxes
var headerCheckBox = document.getElementById(prefix + "ch");
if (headerCheckBox != null && headerCheckBox.checked) {
enableMultiButtons = true;
multipleCheckboxesSelected = checkBoxCount > 1;
else {
// Look at each checkbox. If any one of them is checked,
// enable the multi buttons.
var foundOneChecked = false;
var i;
for (i = 0; i < checkBoxCount; i++) {
var checkBox = document.getElementById(prefix + 'cb' + i);
if (checkBox.checked) {
if (foundOneChecked) {
multipleCheckboxesSelected = true;
break;
else {
enableMultiButtons = true;
foundOneChecked = true;
// Enable/disable each of the multi buttons
var j;
for (j = 0; j < multiButtonList.length; j++) {
var button = document.getElementById(multiButtonList[j]);
if (button.allowMultiSelect)
button.disabled = !enableMultiButtons;
else
button.disabled = !enableMultiButtons || multipleCheckboxesSelected;
//function ShadowCopyPassword(suffix)
function MarkPasswordFieldChanged(suffix) {
if (event.propertyName == "value") {
var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
//var shadowField = document.getElementById("ui_shadowPassword" + suffix);
var shadowChanged = document.getElementById("ui_shadowPasswordChanged" + suffix);
// Don't shadow copy during initialization
if (pwdField.IsInit) {
//shadowField.value = pwdField.value;
//pwdField.UserEnteredPassword = "true";
shadowChanged.value = "true";
// Update validator state (there is no validator on the data driven subscription page)
var validator = document.getElementById("ui_validatorPassword" + suffix)
if (validator != null)
ValidatorValidate(validator);
function InitDataSourcePassword(suffix) {
var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
var shadowChanged = document.getElementById("ui_shadowPasswordChanged" + suffix);
// var shadowField = document.getElementById("ui_shadowPassword" + suffix);
var storedRadioButton = document.getElementById("ui_rdoStored" + suffix);
var pwdValidator = document.getElementById("ui_validatorPassword" + suffix);
pwdField.IsInit = false;
// Initialize the field to the shadow value (for when the user clicks back/forward)
// Or to a junk initial value.
if (pwdValidator != null && storedRadioButton.checked) {
/* if (shadowField.value.length > 0)
pwdField.value = shadowField.value;
else*/
pwdField.value = "********";
else
shadowChanged.value = "true"; // shadowChanged will be ignored if the page is submitted without storedRadioButton.checked
// Now that the initial value is set, track changes to the password field
pwdField.IsInit = true;
// There is no validator on the data driven subscription page (no stored radio button either)
if (pwdValidator != null)
ValidatorValidate(pwdValidator);
function SetNeedPassword(suffix) {
// Set a flag indicating that we need the password
var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
pwdField.NeedPassword = "true";
// Make the validator visible
ValidatorValidate(document.getElementById("ui_validatorPassword" + suffix));
function UpdateValidator(src, validatorID) {
if (src.checked) {
var validator = document.getElementById(validatorID);
ValidatorValidate(validator);
function ReEnterPasswordValidation(source, arguments) // source = validator
var validatorIdPrefix = "ui_validatorPassword"
var suffix = source.id.substr(validatorIdPrefix.length, source.id.length - validatorIdPrefix.length);
var storedRadioButton = document.getElementById("ui_rdoStored" + suffix);
var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
var shadowChanged = document.getElementById("ui_shadowPasswordChanged" + suffix);
var customDataSourceRadioButton = document.getElementById("ui_rdoCustomDataSource" + suffix);
var isCustomSelected = true;
if (customDataSourceRadioButton != null)
isCustomSelected = customDataSourceRadioButton.checked;
if (!isCustomSelected || // If the custom (vs shared) data source radio button exists and is not selected, we don't need the pwd.
storedRadioButton.checked == false || // If the data source is not using stored credentials, we don't need the password
pwdField.UserEnteredPassword == "true" || // If the password has changed, we don't need to get it from the user
pwdField.NeedPassword != "true" || // If no credentials have changed, we don't need the password
shadowChanged.value == "true") // If the user has typed a password
arguments.IsValid = true;
else
arguments.IsValid = false;
function ValidateDataSourceSelected(source, arguments) {
var validatorIdPrefix = "ui_sharedDSSelectedValidator"
var suffix = source.id.substr(validatorIdPrefix.length, source.id.length - validatorIdPrefix.length);
var sharedRadioButton = document.getElementById("ui_rdoSharedDataSource" + suffix);
var hiddenField = document.getElementById("ui_hiddenSharedDS" + suffix);
arguments.IsValid = (sharedRadioButton != null && !sharedRadioButton.checked) || hiddenField.value != "NotSelected";
// MultiValueParamClass
function MultiValueParamClass(thisID, visibleTextBoxID, floatingEditorID, floatingIFrameID, paramObject,
hasValidValues, allowBlank, doPostbackOnHide, postbackScript) {
this.m_thisID = thisID;
this.m_visibleTextBoxID = visibleTextBoxID;
this.m_floatingEditorID = floatingEditorID;
this.m_floatingIFrameID = floatingIFrameID;
this.m_paramObject = paramObject;
this.m_hasValidValues = hasValidValues;
this.m_allowBlank = allowBlank;
this.m_doPostbackOnHide = doPostbackOnHide;
this.m_postbackScript = postbackScript;
this.UpdateSummaryString();
function ToggleVisibility() {
var floatingEditor = GetControl(this.m_floatingEditorID);
if (floatingEditor.style.display != "inline")
this.Show();
else
this.Hide();
MultiValueParamClass.prototype.ToggleVisibility = ToggleVisibility;
function Show() {
var floatingEditor = GetControl(this.m_floatingEditorID);
if (floatingEditor.style.display == "inline")
return;
// Set the correct size of the floating editor - no more than
// 150 pixels high and no less than the width of the text box
var visibleTextBox = GetControl(this.m_visibleTextBoxID);
if (this.m_hasValidValues) {
if (floatingEditor.offsetHeight > 150)
floatingEditor.style.height = 150;
floatingEditor.style.width = visibleTextBox.offsetWidth;
var newEditorPosition = this.GetNewFloatingEditorPosition();
floatingEditor.style.left = newEditorPosition.Left;
floatingEditor.style.top = newEditorPosition.Top;
floatingEditor.style.display = "inline";
var floatingIFrame = GetControl(this.m_floatingIFrameID);
floatingIFrame.style.left = floatingEditor.style.left;
floatingIFrame.style.top = floatingEditor.style.top;
floatingIFrame.style.width = floatingEditor.offsetWidth;
floatingIFrame.style.height = floatingEditor.offsetHeight;
floatingIFrame.style.display = "inline";
// If another multi value is open, close it first
if (this.m_paramObject.ActiveMultValue != this && this.m_paramObject.ActiveMultiValue != null)
ControlClicked(this.m_paramObject.id);
this.m_paramObject.ActiveMultiValue = this;
if (floatingEditor.childNodes[0].focus) floatingEditor.childNodes[0].focus();
this.StartPolling();
MultiValueParamClass.prototype.Show = Show;
function Hide() {
var floatingEditor = GetControl(this.m_floatingEditorID);
var floatingIFrame = GetControl(this.m_floatingIFrameID);
// Hide the editor
floatingEditor.style.display = "none";
floatingIFrame.style.display = "none";
this.UpdateSummaryString();
if (this.m_doPostbackOnHide)
eval(this.m_postbackScript);
// Check that the reference is still us in case event ordering
// caused another multivalue to click open
if (this.m_paramObject.ActiveMultiValue == this)
this.m_paramObject.ActiveMultiValue = null;
MultiValueParamClass.prototype.Hide = Hide;
function GetNewFloatingEditorPosition() {
// Make the editor visible
var visibleTextBox = GetControl(this.m_visibleTextBoxID);
var textBoxPosition = GetObjectPosition(visibleTextBox);
return { Left: textBoxPosition.Left, Top: textBoxPosition.Top + visibleTextBox.offsetHeight };
MultiValueParamClass.prototype.GetNewFloatingEditorPosition = GetNewFloatingEditorPosition;
function UpdateSummaryString() {
var summaryString;
if (this.m_hasValidValues)
summaryString = GetValueStringFromValidValueList(this.m_floatingEditorID);
else
summaryString = GetValueStringFromTextEditor(this.m_floatingEditorID, false, this.m_allowBlank);
var visibleTextBox = GetControl(this.m_visibleTextBoxID);
visibleTextBox.value = summaryString;
MultiValueParamClass.prototype.UpdateSummaryString = UpdateSummaryString;
function StartPolling() {
setTimeout(this.m_thisID + ".PollingCallback();", 100);
MultiValueParamClass.prototype.StartPolling = StartPolling;
function PollingCallback() {
// If the editor isn't visible, no more events.
var floatingEditor = GetControl(this.m_floatingEditorID);
if (floatingEditor.style.display != "inline")
return;
// If the text box moved, something on the page resized, so close the editor
var expectedEditorPos = this.GetNewFloatingEditorPosition();
if (floatingEditor.style.left != expectedEditorPos.Left + "px" ||
floatingEditor.style.top != expectedEditorPos.Top + "px") {
this.Hide();
else {
this.StartPolling();
MultiValueParamClass.prototype.PollingCallback = PollingCallback;
function GetObjectPosition(obj) {
var totalTop = 0;
var totalLeft = 0;
while (obj != document.body) {
// Add up the position
totalTop += obj.offsetTop;
totalLeft += obj.offsetLeft;
// Prepare for next iteration
obj = obj.offsetParent;
totalTop += obj.offsetTop;
totalLeft += obj.offsetLeft;
return { Left: totalLeft, Top: totalTop };
function GetValueStringFromTextEditor(floatingEditorID, asRaw, allowBlank) {
var span = GetControl(floatingEditorID);
var editor = span.childNodes[0];
var valueString = editor.value;
// Remove the blanks
if (!allowBlank) {
// Break down the text box string to the individual lines
var valueArray = valueString.split("\r\n");
var delimiter;
if (asRaw)
delimiter = "\r\n";
else
delimiter = ", ";
var finalValue = "";
for (var i = 0; i < valueArray.length; i++) {
// If the string is non-blank, add it
if (valueArray[i].length > 0) {
if (finalValue.length > 0)
finalValue += delimiter;
finalValue += valueArray[i];
return finalValue;
else {
if (asRaw)
return valueString;
else
return valueString.replace(/\r\n/g, ", ");
function GetValueStringFromValidValueList(editorID) {
var valueString = "";
// Get the table
var div = GetControl(editorID);
var table = div.childNodes[0];
if (table.nodeName != "TABLE") // Skip whitespace if needed
table = div.childNodes[1];
// If there is only one element, it is a real value, not the select all option
var startIndex = 0;
if (table.rows.length > 1)
startIndex = 1;
for (var i = startIndex; i < table.rows.length; i++)
// Get the first cell of the row
var firstCell = table.rows[i].cells[0];
var span = firstCell.childNodes[0];
var checkBox = span.childNodes[0];
var label = span.childNodes[1];
if (checkBox.checked) {
if (valueString.length > 0)
valueString += ", ";
// chris edit - valueString += label.firstChild.nodeValue;
valueString += firstChildNoWS(label).nodeValue;
return valueString;
function MultiValidValuesSelectAll(src, editorID)
// Get the table
var div = GetControl(editorID);
var table = div.childNodes[0];
if (table.nodeName != "TABLE")
table = div.childNodes[1];
for (var i = 1; i < table.rows.length; i++)
// Get the first cell of the row
var firstCell = table.rows[i].cells[0];
var span = firstCell.childNodes[0];
var checkBox = span.childNodes[0];
checkBox.checked = src.checked;
function ValidateMultiValidValue(editorID, errMsg)
var summaryString = GetValueStringFromValidValueList(editorID);
var isValid = summaryString.length > 0;
if (!isValid)
alert(errMsg)
return isValid;
function ValidateMultiEditValue(editorID, errMsg) {
// Need to check for a value specified. This code only runs if not allow blank.
// GetValueStringFromTextEditor filters out blank strings. So if it was all blank,
// the final string will be length 0
var summaryString = GetValueStringFromTextEditor(editorID, true, false)
var isValid = false;
if (summaryString.length > 0)
isValid = true;
if (!isValid)
alert(errMsg);
return isValid;
function GetControl(controlID) {
var control = document.getElementById(controlID);
if (control == null)
alert("Unable to locate control: " + controlID);
return control;
function ControlClicked(formID) {
var form = GetControl(formID);
if (form.ActiveMultiValue != null)
form.ActiveMultiValue.Hide();
// --- Context Menu ---
// This function is called in the onload event of the body.
// It hooks the context menus up to the Javascript code.
// divContextMenuId, is the id of the div that contains the context menus
// selectedIdHiddenFieldId, is the id of the field used to post back the name of the item clicked
// contextMenusIds, is an array of the ids of the context menus
// searchTextBox ID, is the id of the search box
// defaultSearchValue. the value the search box has by default
function InitContextMenu(divContextMenuId, selectedIdHiddenFieldId, contextMenusIds, searchTextBoxID, defaultSearchValue ) {
ResetSearchBar( searchTextBoxID, defaultSearchValue );
_divContextMenu = document.getElementById(divContextMenuId);
_selectedIdHiddenField = document.getElementById(selectedIdHiddenFieldId);
_contextMenusIds = contextMenusIds;
_divContextMenu.onmouseover = function() { _mouseOverContext = true; };
_divContextMenu.onmouseout = function() {
if (_mouseOverContext == true) {
_mouseOverContext = false;
if (_timeOutTimer == null) {
_timeOutTimer = setTimeout(TimeOutAction, _timeOutLimit);
document.body.onmousedown = ContextMouseDown;
AddKeyDownListener();
// This handler stops bubling when arrow keys Up or Down pressed to prevent scrolling window
function KeyDownHandler(e)
// Cancel window scrolling only when menu is opened
if(_currentContextMenuId == null)
return true;
if(!e)
e = window.event;
var key = e.keyCode;
if(key == 38 || key == 40)
return false;
else
return true;
function AddKeyDownListener()
if(document.addEventListener)
document.addEventListener('keydown', KeyDownHandler, false);
else
document.onkeydown = KeyDownHandler;
// This function starts the context menu timeout process
function TimeOutAction() {
if (_mouseOverContext == false) {
UnSelectedMenuItem()
_timeOutTimer = null;
// This function is called when a name tag is clicked, it displays the contextmenu for a given item.
function Clicked(event, contextMenuId) {
if (!_onLink) {
ClearTimeouts();
SelectContextMenuFromColletion(contextMenuId);
_itemSelected = true;
// **Cross browser compatibility code**
// Some browsers will not pass the event so we need to get it from the window instead.
if (event == null)
event = window.event;
var selectedElement = event.target != null ? event.target : event.srcElement;
var outerTableElement = GetOuterElementOfType(selectedElement, 'table');
var elementPosition = GetElementPosition(outerTableElement);
_selectedItemId = outerTableElement.id;
// chris edit - _selectedIdHiddenField.value = outerTableElement.value;
_selectedIdHiddenField.value = outerTableElement.attributes["value"].value;
outerTableElement.className = "msrs-SelectedItem";
ResetContextMenu();
var contextMenuHeight = _divContextMenu.offsetHeight;
var contextMenuWidth = _divContextMenu.offsetWidth;
var boxHeight = outerTableElement.offsetHeight;
var boxWidth = outerTableElement.offsetWidth;
var boxXcoordinate = elementPosition.left;
var boxYcooridnate = elementPosition.top;
var pageWidth = 0, pageHeight = 0;
// **Cross browser compatibility code**
if (typeof (window.innerWidth) == 'number') {
//Non-IE
pageWidth = window.innerWidth;
pageHeight = window.innerHeight;
} else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
//IE 6+ in 'standards compliant mode'
pageWidth = document.documentElement.clientWidth;
pageHeight = document.documentElement.clientHeight;
} else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
//IE 4 compatible
pageWidth = document.body.clientWidth;
pageHeight = document.body.clientHeight;
// **Cross browser compatibility code**
var iebody = (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body
var pageXOffSet = document.all ? iebody.scrollLeft : pageXOffset
var pageYOffSet = document.all ? iebody.scrollTop : pageYOffset
_divContextMenu.style.left = SetContextMenuHorizonatalPosition(pageWidth, pageXOffSet, boxXcoordinate, contextMenuWidth, boxWidth) + 'px';
_divContextMenu.style.top = SetContextMenuVerticalPosition(pageHeight, pageYOffSet, boxYcooridnate, contextMenuHeight, boxHeight) + 'px';
ChangeOpacityForElement(100, _divContextMenu.id);
// chris edit - document.getElementById(_currentContextMenuId).firstChild.focus();
firstChildNoWS(document.getElementById(_currentContextMenuId)).focus();
// Context menu keyboard navigation
// Opens context menu via keyboard. Context menu
// is opened by selecting an item and pressing
// Alt + Down.
function OpenMenuKeyPress(e, contextMenuId)
// Alt key was pressed
if (e.altKey)
var keyCode;
if (window.event)
keyCode = e.keyCode;
else
keyCode = e.which;
// Down key was pressed
if (keyCode == 40)
// Open context menu.
Clicked(event, contextMenuId);
// Highlight the first selectable item
// in the context menu.
HighlightContextMenuItem(true);
// Performs keyboard navigation within
// opened context menu.
function NavigateMenuKeyPress(e)
var keyCode;
if (window.event)
keyCode = e.keyCode;
else
keyCode = e.which;
// Down key moves down to the next context menu item
if (keyCode == 40)
HighlightContextMenuItem(true);
// Up key moves up to the previous context menu item
else if (keyCode == 38)
HighlightContextMenuItem(false);
// Escape key closes context menu
else if (keyCode == 27)
// Close context menu
UnSelectedMenuItem();
// Make sure focus is given to the catalog item
// in the folder view.
document.getElementById(_selectedItemId).focus();
// Highlights context menu item.
// Parameter: highlightNext
// - If true, highlights menu item below current menu item.
// If current menu item is the last item, wraps around and
// highlights first menu item.
// - If false, highlights menu item above current menu item.
// If current menu item is the first item, wraps around and
// highlights last menu item.
function HighlightContextMenuItem(highlightNext)
var contextMenu = document.getElementById(_currentContextMenuId);
// chris edit - var table = contextMenu.lastChild;
var table = lastChildNoWS(contextMenu);
var currentMenuItemIndex = -1;
if (_currentMenuItemId != null)
currentMenuItemIndex = document.getElementById(_currentMenuItemId).parentNode.rowIndex;
var index = currentMenuItemIndex;
while (true)
if (highlightNext)
index++;
// If the index is out of range,
// reset it to the beginning
if (index < 0 || index >= table.cells.length)
index = 0;
else
index--;
// If the index is out of range,
// reset it to the end
if (index < 0 || index >= table.cells.length)
index = table.cells.length - 1;
// Each context menu item has an associated
// group ID. Make sure the table cell has a valid
// group ID, otherwise it is not a menu item (e.g.
// an underline separator).
if (table.cells[index].group >= 0)
FocusContextMenuItem(table.cells[index].id, 'msrs-MenuUIItemTableHover', 'msrs-MenuUIItemTableCell');
break;
// If we reach the orignal index, that means we looped
// through all table cells and did not find a valid context
// menu item. In that case, stop searching.
if (index == currentMenuItemIndex)
break;
// *** End keyboard navigation ***
// This function resets the context menus shape and size.
function ResetContextMenu() {
_divContextMenu.style.height = 'auto';
_divContextMenu.style.width = 'auto';
_divContextMenu.style.overflowY = 'visible';
_divContextMenu.style.overflowX = 'visible';
_divContextMenu.style.overflow = 'visible';
_divContextMenu.style.display = 'block';
// This function sets the horizontal position of the context menu.
// It also sets is the context menu has vertical scroll bars.
function SetContextMenuHorizonatalPosition(pageWidth, pageXOffSet, boxXcoordinate, contextMenuWidth, boxWidth) {
var menuXCoordinate = boxXcoordinate + boxWidth - contextMenuWidth;
var spaceRightBox = (pageWidth + pageXOffSet) - menuXCoordinate;
var spaceLeftBox = menuXCoordinate - pageXOffSet;
var returnValue;
if ((contextMenuWidth < spaceRightBox) && (pageXOffSet < menuXCoordinate)) {
returnValue = menuXCoordinate;
else if ((contextMenuWidth < spaceRightBox)) {
returnValue = pageXOffSet;
else if (contextMenuWidth < spaceLeftBox) {
returnValue = menuXCoordinate - (contextMenuWidth - (pageWidth + pageXOffSet - menuXCoordinate));
else {
_divContextMenu.style.overflowX = "scroll";
if (spaceLeftBox < spaceRightBox) {
_divContextMenu.style.width = spaceRightBox;
returnValue = pageXOffSet;
else {
_divContextMenu.style.width = spaceLeftBox;
returnValue = menuXCoordinate - (spaceLeftBox - (pageWidth + pageXOffSet - menuXCoordinate));
return returnValue;
// This function sets the vertical position of the context menu.
// It also sets is the context menu has horizontal scroll bars.
function SetContextMenuVerticalPosition(pageHeight, pageYOffSet, boxYcooridnate, contextMenuHeight, boxHeight) {
var spaceBelowBox = (pageHeight + pageYOffSet) - (boxYcooridnate + boxHeight);
var spaceAboveBox = boxYcooridnate - pageYOffSet;
var returnValue;
if (contextMenuHeight < spaceBelowBox) {
returnValue = (boxYcooridnate + boxHeight);
else if (contextMenuHeight < spaceAboveBox) {
returnValue = (boxYcooridnate - contextMenuHeight);
else if (spaceBelowBox > spaceAboveBox) {
_divContextMenu.style.height = spaceBelowBox;
_divContextMenu.style.overflowY = "scroll";
returnValue = (boxYcooridnate + boxHeight);
else {
_divContextMenu.style.height = spaceAboveBox;
_divContextMenu.style.overflowY = "scroll";
returnValue = (boxYcooridnate - spaceAboveBox);
return returnValue;
// This function displays a context menu given its id and then hides the others
function SelectContextMenuFromColletion(contextMenuConfigString) {
var contextMenuId = SplitContextMenuConfigString(contextMenuConfigString);
for (i = 0; i < _contextMenusIds.length; i++) {
var cm = document.getElementById(_contextMenusIds[i]);
if (cm.id == contextMenuId) {
cm.style.visibility = 'visible';
cm.style.display = 'block';
_currentContextMenuId = contextMenuId;
else {
cm.style.visibility = 'hidden';
cm.style.display = 'none';
function SplitContextMenuConfigString(contextMenuConfigString) {
var contextMenuEnd = contextMenuConfigString.indexOf(":");
var contextMenuId = contextMenuConfigString;
var contextMenuHiddenItems;
if (contextMenuEnd != -1)
contextMenuId = contextMenuConfigString.substr(0, contextMenuEnd);
var cm = document.getElementById(contextMenuId);
// chris edit - var table = cm.firstChild;
var table = firstChildNoWS(cm);
var groupItemCount = []; // The items in each group
var groupUnderlineId = []; // The Id's of the underlines.
// Enable all menu items counting the number of groups,
// number of items in the groups and underlines for the groups as we go.
// start chris edit
/* for (i = 0; i < table.cells.length; i++)
table.cells[i].style.visibility = 'visible';
table.cells[i].style.display = 'block'
if ((groupItemCount.length - 1) < table.cells[i].group) {
groupItemCount.push(1);
groupUnderlineId.push(table.cells[i].underline);
else {
groupItemCount[table.cells[i].group]++;
AlterVisibilityOfAssociatedUnderline(table.cells[i], true)
if (table != null && table.rows != null)
for (r = 0; r < table.rows.length; r++) {
for (i = 0; i < table.rows[r].cells.length; i++)
table.rows[r].cells[i].style.visibility = 'visible';
table.rows[r].cells[i].style.display = 'block'
if ((groupItemCount.length - 1) < table.rows[r].cells[i].group) {
groupItemCount.push(1);
groupUnderlineId.push(table.rows[r].cells[i].underline);
else {
groupItemCount[table.rows[r].cells[i].group]++;
AlterVisibilityOfAssociatedUnderline(table.rows[r].cells[i], true)
// end chris edit
// If hidden items are listed, remove them from the context menu
if (contextMenuEnd != -1)
contextMenuHiddenItems = contextMenuConfigString.substr((contextMenuEnd + 1), (contextMenuConfigString.length - 1)).split("-");
var groupsToHide = groupItemCount;
// Hide the hidden items
for (i = 0; i < contextMenuHiddenItems.length; i++)
var item = document.getElementById(contextMenuHiddenItems[i]);
item.style.visibility = 'hidden';
item.style.display = 'none'
groupsToHide[item.group]--;
var allHidden = true;
// Work back through the groups hiding the underlines as required.
for (i = (groupsToHide.length - 1); i > -1; i--) {
if (groupsToHide[i] == 0) {
AlterVisibilityOfAssociatedUnderline(groupUnderlineId[i], false);
else if (allHidden && i == (groupsToHide.length - 1)) {
allHidden = false;
// If all the items have been hidden so far hide the last underline too.
else if (allHidden) {
allHidden = false;
AlterVisibilityOfAssociatedUnderline(groupUnderlineId[i], false);
return contextMenuId;
function AlterVisibilityOfAssociatedUnderline(underLineId, visibility) {
if (underLineId != null && underLineId != "") {
var underlineElement = document.getElementById(underLineId);
if (underlineElement != null) {
if (visibility) {
underlineElement.style.visibility = 'visible';
underlineElement.style.display = 'block'
else {
underlineElement.style.visibility = 'hidden';
underlineElement.style.display = 'none'
function ClearTimeouts() {
if (_fadeTimeouts != null) {
for (i = 0; i < _fadeTimeouts.length; i++) {
clearTimeout(_fadeTimeouts[i]);
_fadeTimeouts = [];
// This function chnages an elements opacity given its id.
function FadeOutElement(id, opacStart, opacEnd, millisec) {
ClearTimeouts();
//speed for each frame
var speed = Math.round(millisec / 100);
var timer = 0;
for (i = opacStart; i >= opacEnd; i--) {
_fadeTimeouts.push(setTimeout("ChangeOpacityForElement(" + i + ",'" + id + "')", (timer * speed)));
timer++;
// This function changes the opacity of an elemnent given it's id.
// Works across browsers for different browsers
function ChangeOpacityForElement(opacity, id) {
var object = document.getElementById(id).style;
if (opacity != 0) {
// **Cross browser compatibility code**
object.opacity = (opacity / 100);
object.MozOpacity = (opacity / 100);
object.KhtmlOpacity = (opacity / 100);
object.filter = "alpha(opacity=" + opacity + ")";
else {
object.display = 'none';
// This function is the click for the body of the document
function ContextMouseDown() {
if (_mouseOverContext) {
return;
else {
HideMenu()
// This function fades out the context menu and then unselects the associated name control
function UnSelectedMenuItem() {
if (_itemSelected) {
FadeOutElement(_divContextMenu.id, 100, 0, 300);
UnselectCurrentMenuItem();
// Hides context menu without fading effect
function HideMenu()
if (_itemSelected)
ChangeOpacityForElement(0, _divContextMenu.id);
UnselectCurrentMenuItem();
function UnselectCurrentMenuItem()
_itemSelected = false;
_currentContextMenuId = null;
SwapStyle(_currentMenuItemId, 'msrs-MenuUIItemTableCell');
_currentMenuItemId = null;
ChangeReportItemStyle(_selectedItemId, "msrs-UnSelectedItem");
// This function walks back up the DOM tree until it finds the first occurrence
// of a given element. It then returns this element
function GetOuterElementOfType(element, type) {
while (element.tagName.toLowerCase() != type) {
element = element.parentNode;
return element;
// This function gets the corrdinates of the top left corner of a given element
function GetElementPosition(element) {
element = GetOuterElementOfType(element, 'table');
var left, top;
left = top = 0;
if (element.offsetParent) {
do {
left += element.offsetLeft;
top += element.offsetTop;
} while (element = element.offsetParent);
return { left: left, top: top };
function FocusContextMenuItem(menuItemId, focusStyle, blurStyle)
SwapStyle(_currentMenuItemId, blurStyle);
SwapStyle(menuItemId, focusStyle);
// chrid edit - document.getElementById(menuItemId).firstChild.focus();
firstChildNoWS(document.getElementById(menuItemId)).focus();
_currentMenuItemId = menuItemId;
// This function swaps the style using the id of a given element
function SwapStyle(id, style) {
if (document.getElementById) {
var selectedElement = document.getElementById(id);
if (selectedElement != null)
selectedElement.className = style;
// This function changes the style using the id of a given element
// and should only be called for catalog items in the tile or details view
function ChangeReportItemStyle(id, style)
if (!_itemSelected)
if (document.getElementById)
var selectedElement = document.getElementById(id);
selectedElement.className = style;
// Change the style on the end cell by drilling into the table.
if (selectedElement.tagName.toLowerCase() == "table")
// chris edit - var tbody = selectedElement.lastChild;
var tbody = lastChildNoWS(selectedElement);
if (tbody != null)
// chris edit - var tr = tbody.lastChild;
var tr = lastChildNoWS(tbody);
if (tr != null)
// chris edit - tr.lastChild.className = style + 'End';
trLastChild = lastChildNoWS(tr);
if (trLastChild != null)
trLastChild.className = style + 'End';
function ChangeReportItemStyleOnFocus(id, currentStyle, unselectedStyle)
_unselectedItemStyle = unselectedStyle;
_tabFocusedItem = id;
// We should unselect selected by mouse over item if there is one
if(_mouseOverItem != '')
ChangeReportItemStyle(_mouseOverItem, _unselectedItemStyle);
_mouseOverItem = '';
ChangeReportItemStyle(id, currentStyle);
function ChangeReportItemStyleOnBlur(id, style)
ChangeReportItemStyle(id, style);
_tabFocusedItem = '';
function ChangeReportItemStyleOnMouseOver(id, currentStyle, unselectedStyle)
_unselectedItemStyle = unselectedStyle;
_mouseOverItem = id;
// We should unselect tabbed item if there is one
if(_tabFocusedItem != '')
ChangeReportItemStyle(_tabFocusedItem, _unselectedItemStyle);
_tabFocusedItem = '';
ChangeReportItemStyle(id, currentStyle);
function ChangeReportItemStyleOnMouseOut(id, style)
ChangeReportItemStyle(id, style);
_mouseOverItem = '';
// This function is used to set the style of the search bar on the onclick event.
function SearchBarClicked(id, defaultText, style) {
var selectedElement = document.getElementById(id);
if (selectedElement.value == defaultText) {
selectedElement.value = "";
selectedElement.className = style;
// This function is used to set the style of the search bar on the onblur event.
function SearchBarBlured(id, defaultText, style) {
var selectedElement = document.getElementById(id);
if (selectedElement.value == "") {
selectedElement.value = defaultText;
selectedElement.className = style;
function ResetSearchBar(searchTextBoxID,defaultSearchValue) {
var selectedElement = document.getElementById(searchTextBoxID);
if (selectedElement != null) {
if (selectedElement.value == defaultSearchValue) {
selectedElement.className = 'msrs-searchDefaultFont';
else {
selectedElement.className = 'msrs-searchBarNoBorder';
function OnLink()
_onLink = true;
function OffLink()
_onLink = false;
function ShouldDelete(confirmMessage) {
if (_selectedIdHiddenField.value != null || _selectedIdHiddenField.value != "") {
var message = confirmMessage.replace("{0}", _selectedIdHiddenField.value);
var result = confirm(message);
if (result == true) {
return true;
else {
return false;
else {
return false;
function UpdateValidationButtonState(promptCredsRdoBtnId, typesDropDownId, forbiddenTypesConfigString, validateButtonId)
var dropdown = document.getElementById(typesDropDownId);
if(dropdown == null)
return;
var selectedValue = dropdown.options[dropdown.selectedIndex].value;
var forbiddenTypes = forbiddenTypesConfigString.split(":");
var chosenForbiddenType = false;
for (i = 0; i < forbiddenTypes.length; i++)
if(forbiddenTypes[i] == selectedValue)
chosenForbiddenType = true;
var isDisabled = chosenForbiddenType || IsRadioButtonChecked(promptCredsRdoBtnId);
ChangeDisabledButtonState(validateButtonId, isDisabled);
function ChangeDisabledButtonState(buttonId, isDisabled)
var button = document.getElementById(buttonId);
if(button != null)
button.disabled = isDisabled;
function IsRadioButtonChecked(radioButtonId)
var rbtn = document.getElementById(radioButtonId);
if(rbtn != null && rbtn.checked)
return true;
return false;
For More info refer this
http://stackoverflow.com/questions/7837259/ssrs-report-manager-javascript-fails-in-non-ie-browsers-for-drop-down-menus
Maybe you are looking for
-
F110 : program name of posting cleared document during F110
Dear all, I need to figure out the "PAYMENT DOCUMENT SPLITTING" issue after F110 via debugging. I believe the main program for F110 is SAPF110V and SAPF110S is the program handle the posting. However, after I put the break point in SUBMIT SAPF110S A
-
Unable to restore iTouch, stuck on black screen with white apple
Hello to any and all that can offer me assistance: I have an iPod Touch. I have restored it more than once. It will show the screen with the USB cord and the iTunes logo. After the restoration process the computer screen will say that the restorati
-
Can we maintain sales order priority in PP/DS?
Hi All We are working for Cable manufacturing firm and wish to plan as per sales order priority in PP/DS. Presently we are using customized length based planning heuristics (which is customised form of SAP_PP_002) for creating planned orders. We unde
-
Status bar isn't showing even though it's checked in View
I can't see the bottom, navigation / status bar. Status bar is ticked in View menu. It was showing yesterday. I can see a tiny part of the right hand bottom scroll arrow but the bar and the icons in it aren't visible. In effect, the viewing area has
-
HT4528 Who do i contact to cancel a repair request?
I need to contact somebody at Apple to cancel a repair request since my iPhone 4S is being replaced by Verizon. Email or phone # to do this quickly. Thank you very much!