Prompts throwing javascript Error

Hi All,
My prompts are throwing error while selecting the values from the dropdown.
1)saw.isElementAttachToDocumentBody is not a function in Firefox and in other Browsers also.
Any help in this regard

Hi,
I suggest you create a simple demo first, once it works, then add other customization into your project gradually. It will be easier to composite the correct code.
Please apply the code below in your project for a try:
<script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
<script type="text/javascript">
_spBodyOnLoadFunctionNames.push("callCSOM");
var clientContext;
var website;
var str="";
// Make sure the SharePoint script file 'sp.js' is loaded before your
// code runs.
function callCSOM()
//alert("call");
$("#Button1").click(function()
ExecuteOrDelayUntilScriptLoaded(sharePointReady, "sp.js");
// Create an instance of the current context.
function sharePointReady() {
clientContext = SP.ClientContext.get_current();
website = clientContext.get_web();
clientContext.load(website);
clientContext.executeQueryAsync(onRequestSucceeded, onRequestFailed);
function onRequestSucceeded() {
str="website.get_title(): "+website.get_title();
alert(str);
function onRequestFailed(sender, args) {
alert('Error: ' + args.get_message());
</script>
<input id="Button1" type="button" value="Run Code"/>
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support

Similar Messages

  • Google searches throw Javascript error "Debug Error: Exception...."

    I went away for a week. Everything fine. Since I got back (May 6 2010) when I click on any Google search result a pop-up box appears (sometimes when the search results page first appears before clicking anything) with this message:
    "Debug Error:Exception... "Node was not found" code: "8" nsresult: "0x80530008 (NS_ERROR_DOM_NOT_FOUND_ERR)" location: "chrome://ffamazonhot/content/lib/Extension.debug.js Line: 366""
    Continual clicking (100+ clicks!) of the OK button eventually clears the dialogue but any subsequent search starts the whole process again. I also not that the style of the Google results p[age has changed.
    I have to use a different browser for Google searches. IE7-OK Opera 9.64 - OK Chrome - OK (naturally)
    I have cleared Cache, History, Cookies etc. I have tried reinstalling FF. I have disabled JavaScript in he browser. All no good.
    I notice in the forums that others are having this problem in the same time range - i.e it has just started happening. I have tired contacting Google with the usual lack of success!
    Help Please!
    == URL of affected sites ==
    http://www.google.com/search?q=google+javascript+error+in+FF+3.6.3&hl=en&start=10&sa=N

    Additional information about my previous post " Google searches throw Javascript error "Debug Error: Exception...."
    I have disabled the Amazon Add-on since the name Amazon appears in the debug message No change.
    I attach a screen shot of the offending dialogue box
    Hope someone can help.

  • Hyperlink to SSRS Report throws JavaScript Error

    Hoping this is the right place to get help here. I'm not sure if this is an error in ASP.NET, SQL Server 2005 Reporting Services or some compatibility issue between VS 2010 and VS 2013 Express for Web.
    I have an ASP.NET web form written in VS 2010 / VB.NET. The form has three hyperlink controls that have NavigateURL properties that are set at runtime. Those URLs point to reports on a SQL Server 2005 Reporting Server. The app runs in our Intranet and we use
    Windows authentication throughout. I am using the ASP.NET Development Server (Version 4.0.30319.18408) locally.
    This app used to work just fine, but recently it broke. Now when I run my code and click the hyperlink control (IE is the default browser) I get a JavaScript error of monumental complexity/density.
    The URLs work in IE. They work in FireFox. If I set FireFox to be my default browser it's opens fine from VS. But when I run it in IE I get the error. 
    When I click the Hyperlink, I get a messagebox saying "Javascript runtime error. Access is Denied." [Break] [Continue] [ Ignore] 
    Behind that, in Visual Studio, there's a 'Script Block [dynamic] tab open. It has a lock symbol on it and the window is FILLED with hugely dense and incomprehensible Javascript.  If I break, I'm dropped into the code. The offending line is:
    this.FieldFocus=function(a){var b="undefined"!=typeof LP?LP.getBrowser().selectedTab.linkedBrowser:null;if("undefined"==typeof LP||b){var c=b?b.contentDocument:document;if(c&&!("undefined"!=typeof c.FieldFocusDone&&!0==c.FieldFocusDone))if("undefined"!=typeof
    c.LPlpUseLastPassLogin&&!0==c.LPlpUseLastPassLogin)lploggedin?(c.LPlpUseLastPassLogin=!1,LP.FieldFocus(a)):(lp_showNotification("UseLastPassLogin",b,0,"login",null),c.LPlpUseLastPassLogin=!1,c.LPlpm_setupFocusHandler=!1,c.FieldFocusDone=!1);
    else{if(lpNotificationsAfterClick)lpCheckGenPwAndFF(b,c,!1);else if("undefined"==typeof c.LPlpgenerateandfill&&"undefined"!=typeof c.LPlpfillforms)lp_showNotification("FillableFormDetected",b,0,"formfill");else
    if("undefined"!=typeof c.LPlpgenerateandfill)lp_showNotification("GeneratePassword",b,c.LPlpgenerateAids,"generate",c.LPlpgenerateForm,null,c.LPlpgenerateandfill,c.LPlpfillcurrent);else return;c.FieldFocusDone=!0}}};
    Needless to say, I have no frickin' clue what this is. I'm new to web programming, so this is totally beyond my abilities. 
    Possible Factors:
    Compatibility view is on for all Intranet sites, but turning that off makes no difference.
    I recently upgraded from WinXP to Win7 64-bit. 
    I also recently tried loading the Web Project into VS 2013 Express. 
    I'm not sure which of these may be a factor, just thought I'd mention them.
    Fix Attempts:
    I tried removing my fancy code and just setting the correct URL in code. Error.
    I created another hyperlink control, and in code I copied NavigateURL from the existing control to this one. Clicking that one WORKS. WTH?
    Any help would be deeply appreciated, thanks.
    Barry

    Well you can post a question in the ASP .Net forum and see if you can get an answer.
    "The URLs work in IE. They work in FireFox. If I set FireFox to be my default browser it's opens fine from VS. But when I run it in IE I get the error. "
    The above makes no sense to me. The URLs work in IE but when I run it in IE I get the error?
    This makes no sense either "This app used to work just fine, but recently it broke" as apps don't just break. Something changes to cause an issue with them. Which systems did the app "break" on? What upgrades were recently done on those
    systems?
    When you opened the project in Visual Studio Express 2013 for web is that when the app broke? Maybe the app requires more than Visual Studio 2013 Express for web has available.
    Was Visual Studio 2010 an Express edition for web? Or did it have more capability than that?
    Did you load a newer version of IE on that system? As the WebBrowser control, from what I understand, uses the current rev of IE on the system as "The
    WebBrowser control is a managed wrapper around a component installed with Internet Explorer. Use this property to determine which version of Internet
    Explorer is installed. This is useful when your application uses a feature of Internet Explorer that is present only in certain versions. If the required version is not present on the local machine, you can provide alternative functionality or prompt the user
    to upgrade". Maybe something there occured. Or do you use the WebBrowser control?
    Is Visual Studio 2010 on the Win 7 64 bit machine? If so does that app not work in that too?
    Did you compile the app to AnyCPU rather than X86 or X64 or try to compile it to one of the other two to see if that corrected the issue?
    There's obviously something going on which you've not taken into account from a to b.
    Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
    will somehow become "unstable" or something to that effect. :) I can only surmise that is due to Global Warming of the threads.

  • Actions menu in Forums throws Javascript error, remains blank

    The forum is very confusing for new users, and throws a JavaScript exception if you aren't logged into adobe.com AND the forum content well below the header.
    I've been trying to post something for a while now, but had to investigate the poor design of the site to gain access to the forum. One must first login to adobe.com, then locate the obscure link under the header to login to the forum section specifically.
    Once logged in the menu works and JavaScript error goes away.
    Why not just use the global auth token, or if you're going to use third party software for the forums, extend their code to work with the global auth token?

    The forum is very confusing for new users, and throws a JavaScript exception if you aren't logged into adobe.com AND the forum content well below the header.
    Let's get one thing clear;  To view these forums, you do not need to be logged on;  Anybody can view the questions and answers without logging in.
    If you want to take part in these forums e.g you want to post a question or you want to post an answer based on your experience or you just want to comment on something, then you need to be logged on.  This is a security issue and all forums that I know of require you to register before you can post anything.
    As to JS error, it is dependent on your systems security configuration.  For example when I am using IE8, I always get an alert message to say that a page contains a script.  Do you want to load the blocked content?  I would answer yes if I know which website I am visiting otherwise it is a NO NO.  In firefox, I have set it to allow all scripts JAVA/JS and so I don't get any such alerts.  I also have Mcaffee Site Advisor installed so it warns me about any sites that are potentially dangerous.
    Hope this clarifies the position based on my experience.
    Hope this helps.

  • Adding custom webpart throwing Javascript error -The collection has not been initialized.

    Hi,
    I created a Javascript CSOM visual webpart and added to page. In the IE developer tools console, I am getting an error as below:
    "SCRIPT5022: The collection has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested.
    SP.Runtime.js, line 2 character 35853".
    My code is as below:
    <script type="text/javascript" src="../../_layouts/15/MicrosoftAjax.js"></script>
    <script type="text/javascript" src="../../_layouts/15/SP.Runtime.js"></script>
    <script type="text/javascript" src="../_layouts/15/sp.js"></script>
    <script type="text/javascript" src="../_layouts/15/sp.ui.controls.js"></script>
    <script type="text/javascript" src="/_layouts/15/test/Scripts/jquery-1.8.2.js"></script>
    <script type="text/javascript" src="/_layouts/15/test/Scripts/Rotator.js"></script>
    <script type="text/javascript" src="/_layouts/15/test/Scripts/bjqs-1.3.js"></script>
    <link rel="stylesheet" type="text/css" href="/_layouts/15/test/CSS/bjqs.css" />
    <SharePoint:FormDigest ID="FormDigestRotator" runat="server">
    </SharePoint:FormDigest>
    <div id="banner-fade">
    <ul id="carousel" class="bjqs">
    </ul>
    </div>
    // In Rotator.js
    $(document).ready(function () {
    SP.SOD.executeFunc('sp.js', 'SP.ClientContext', loadConfigData);
    function loadConfigData() {
    var clientcontext = new SP.ClientContext.get_current();
    var oweb = clientcontext.get_site().get_rootWeb();
    var olist = oweb.get_lists().getByTitle("LibName");
    var configquery = SP.CamlQuery.createAllItemsQuery();
    Allpictures = olist.getItems(configquery);
    clientcontext.load(Allpictures, 'Include(Title,ImgSubURL)');
    clientcontext.executeQueryAsync(Function.createDelegate(this, this.Configsuccess), Function.createDelegate(this, this.Configfailed));
    How to fix this javascript error? Due to this, the "Check-in" option is not working.
    Update: i believe the error is with "executeQueryAsync". How to fix this?
    Thanks

    Hi,
    I suggest you create a simple demo first, once it works, then add other customization into your project gradually. It will be easier to composite the correct code.
    Please apply the code below in your project for a try:
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("callCSOM");
    var clientContext;
    var website;
    var str="";
    // Make sure the SharePoint script file 'sp.js' is loaded before your
    // code runs.
    function callCSOM()
    //alert("call");
    $("#Button1").click(function()
    ExecuteOrDelayUntilScriptLoaded(sharePointReady, "sp.js");
    // Create an instance of the current context.
    function sharePointReady() {
    clientContext = SP.ClientContext.get_current();
    website = clientContext.get_web();
    clientContext.load(website);
    clientContext.executeQueryAsync(onRequestSucceeded, onRequestFailed);
    function onRequestSucceeded() {
    str="website.get_title(): "+website.get_title();
    alert(str);
    function onRequestFailed(sender, args) {
    alert('Error: ' + args.get_message());
    </script>
    <input id="Button1" type="button" value="Run Code"/>
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • Sharepoint throw a javascript error while adding items to sharepoint list

    sharepoint throw javascript error when adding item to list
    error called:  this._registeredValidators[validatorIdx].Validate is not a function
    any help please

    Hi,
    If you want to validatelist column, there is out of the box way to accomplish this with SharePoint
    There's a great blog that covers how to validate Strict Text Formats:
    http://sharepointsolutions.com/sharepoint-help/blog/2011/12/how-to-validate-strict-text-formats-in-sharepoint-2010/
    In addition, we can use JavaScript to validate column. Please make sure you use the code correctly.
    More information:
    http://chrisstahl.wordpress.com/2011/02/06/validate-a-sharepoint-list-column-with-regular-expression/
    http://blog.tallan.com/2013/09/16/how-to-add-custom-validation-logic-to-validate-a-phone-field-in-sharepoint/
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Javascript error in Standard MDM IViews on portal

    Hello Xperts,
    I have deployed standard MDM IViews on my  portal.
    In standard Resultset IView, there is a provision of saving results by using My Bags option. When I click on My Bags option and then New Bag, it throws javascript error.
    Details of systems are as below.
    MDM API version 5.5
    Portal Version EP 7 SP07.
    Appreaciate any inputs for this.
    Ashutosh

    Hi Anu,
    Thanks for the reply.
    we are able to login to Data Manager with Mapped ID's and I even tried creating new IViews. Nothing worked.
    As you suggested, will try restarting the portal server.
    Thanks
    Satish

  • Interative report Charts Javascript error

    Hi All,
    I have a interactive report, when I generate a chart from the drop down action menu, it throws javascript error "null is null or not an object".
    Also I was wondering if I could include onclick event to this chart like the other normal apex charts.
    Thanks,
    Manish

    Hi Joel,
    I have noticed this in IE 7 also, I did little bit of investigation and found that chart id is not getting initialized in case of interactive report. I have created another page with the same code and passed a value to the chart id. Hopefully Apex team will take care of it in their next release. Thanks.
    without javascript error --> http://apex.oracle.com/pls/otn/f?p=50942:16
    with javascript error--> http://apex.oracle.com/pls/otn/f?p=50942:15
    <div id="apexir_CHART">
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="n1" width="700" height="400">
                      <param name="movie" value="/i/flashchart/swf/AnyChart.swf" />
                      <param name="flashvars" value="XMLFile=http://apex.oracle.com/pls/otn/apex_util.flash2?p=50942:15:&SESSION.:FLOW_FLASH_CHART2_RPT2262921504176107062_en-us" />
                      <param name="wmode" value="transparent" />
        <embed type="application/x-shockwave-flash" src="/i/flashchart/swf/AnyChart.swf" flashvars="XMLFile=http://apex.oracle.com/pls/otn/apex_util.flash2?p=50942:15:&SESSION.:FLOW_FLASH_CHART2_RPT2262921504176107062_en-us" wmode="transparent" id="n1" width="700" height="400">
       </embed>
    </object>
    </div>Thanks,
    Manish.

  • Javascript error on SharePoint page

    Hi Team,
    I'm updating a list column value by comparing a value of field from the same list using JS. It is working fine. But throwing javascript error on the page. 
    Below is the snippet.
    var web = null;
    var clientContext = null;
    var list = null;
    var item = null;
    var reviewStatus = null;
    $(document).ready(function () {
    setInterval(function () {
    $Text = $("td.ms-cellstyle.ms-vb2:contains('No')");
    $Text.parent().css("background-color", "#FFb3BD");
    $("input[name='teamCheckbox']").change(function () {
    var controlid = $(this).attr("id");
    var parts = controlid.split('_');
    var itemID = parts[1];
    clientContext = new SP.ClientContext(_spPageContextInfo.webAbsoluteUrl);
    var list = clientContext.get_web().get_lists().getById(_spPageContextInfo.pageListId);
    item = list.getItemById(itemID);
    clientContext.load(item);
    clientContext.load(item, 'Status');
    clientContext.executeQueryAsync(Function.createDelegate(this, LoadStatus), Function.createDelegate(this, onQueryFailed));
    }, 900);
    function LoadStatus() {
    reviewStatus = item.get_item('Status');
    if(reviewStatus)
    item.set_item('Status', 0);
    item.update();
    clientContext.load(item);
    clientContext.executeQueryAsync(Function.createDelegate(this, UpdateNo), Function.createDelegate(this, onQueryFailed1));
    }else
    item.set_item('Status', 1);
    item.update();
    clientContext.load(item);
    clientContext.executeQueryAsync(Function.createDelegate(this, UpdateYes), Function.createDelegate(this, onQueryFailed1));
    function onQueryFailed() {
    alert("Request Failed at 1st asych");
    function onQueryFailed1(){
    alert("Request Failed at 2nd asynch");
    function UpdateYes() {
    //reviewStatus = null;
    function UpdateNo()
    //reviewStatus = null;
    I'm getting the below JS error :
    Message: The property or field has not been initialized. It has not been requested or the request has not been executed. It may need to be explicitly requested. URI: _layouts/15/sp.debug.js?rev=vK8qdKxCg9qccxdMK5Ebzg%3D%3D
    $Q_2: function SP_ListItem$$Q_2($p0) {
    var $v_0 = (this.get_fieldValues())[$p0];
    if (SP.ScriptUtility.isUndefined($v_0)) {
    throw Error.create(SP.ResResources.getString(SP.ResourceStrings.propertyHasNotBeenInitialized));
    return $v_0;
    I have tried by calling the 2nd async query by changing to item.get_Context(); doesn't helped me.
    Please suggest how to kill this error...
    Thanks,
    Bharath P N
    P N Bharath

    Hi Dennis,
    I had tried by updating the script. But it is failing in update the list item. Please let me know if i'm doing wrong?
    $(document).ready(function () {
    setInterval(function () {
    $Text = $("td.ms-cellstyle.ms-vb2:contains('No')");
    $Text.parent().css("background-color", "#FFb3BD");
    $("input[name='teamCheckbox']").change(function () {
    var controlid = $(this).attr("id");
    var parts = controlid.split('_');
    var itemID = parts[1];
    var ctx = GetCurrentCtx();
    var listName = ctx.ListTitle;
    var url = _spPageContextInfo.webAbsoluteUrl;
    var currentStatus = null;
    var Status = null;
    getListItemWithId(itemID, listName, url, function (data) {
    if (data.d.results.length == 1) {
    currentStatus = data.d.results[0].Status;
    }, function (data) {
    alert("Error in GetListItemwithID method");
    if (currentStatus) {
    Status = 0;
    updateListItem(url, listName, itemID, Status, function () {
    alert("Item updated, refreshing avilable items");
    }, function () {
    alert("Ooops, an error occured. Please try again");
    } else {
    Status = 1;
    updateListItem(itemID, listName, url, Status, function () {
    alert("Item updated, refreshing avilable items");
    }, function () {
    alert("Ooops, an error occured else loop. Please try again");
    }, 900);
    function getListItemWithId(itemId, listName, siteurl, success, failure) {
    var url = siteurl + "/_api/web/lists/getbytitle('" + listName + "')/items?$filter=Id eq " + itemId;
    $.ajax({
    url: url,
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    success(data);
    error: function (data) {
    failure(data);
    function GetItemTypeForListName(name) {
    return "SP.Data." + name.charAt(0).toUpperCase() + name.split(" ").join("").slice(1) + "ListItem";
    function updateListItem(itemId, listName, siteUrl, title, success, failure) {
    var itemType = GetItemTypeForListName(listName);
    var item = {
    "__metadata": { "type": itemType },
    "Status": title
    getListItemWithId(itemId, listName, siteUrl, function (data) {
    $.ajax({
    url: data.d.results[0].__metadata.uri,
    type: "POST",
    contentType: "application/json;odata=verbose",
    data: JSON.stringify(item),
    headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
    "X-HTTP-Method": "MERGE",
    "If-Match": data.d.results[0].__metadata.etag
    success: function (data) {
    success(data);
    error: function (data) {
    failure(data);
    }, function (data) {
    failure(data);
    P N Bharath

  • Javascript error on ADF Popup

    Hi,
    I have a very strange problem.I am using ADF Popup ,action on one of the button in the Popup opens another Popup on top of it(Using popup.show(hints) JS to open this popup).
    When i try to close the second Popup (Using popup.hide()) it throws Javascript error Error:Object Required in IE7,Same code works fine in FireFox.Any suggestions ,please?

    We are using JDEV 11.1.1.0.0.
    Code to Open/Close popup.
    public void ShowPopup(String clientId,String Id){
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = clientId;
    String alignId =Id; //inputText290.getClientId(FacesContext.getCurrentInstance());
    StringBuilder script = new StringBuilder();
    script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ").
    append("if (!popup.isPopupVisible()) { ").
    append("var hints = {}; ").
    append("hints[AdfRichPopup.HINT_ALIGN_ID] = '").append(alignId).append("'; ").
    append("hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_END; ").
    append("popup.show(hints);}");
    ExtendedRenderKitService erks =
    Service.getService(context.getRenderKit(),
    ExtendedRenderKitService.class);
    erks.addScript(context, script.toString());
    public void closePopup(String popupId){
    StringBuilder script = new StringBuilder();
    FacesContext context = FacesContext.getCurrentInstance();
    script.append("var popup = AdfPage.PAGE.findComponent('").append(popupId).append("'); ")
    .append("if (popup.isPopupVisible()) { ")
    .append("popup.hide();}");
    ExtendedRenderKitService erks =
    Service.getService(context.getRenderKit(), ExtendedRenderKitService.class);
    erks.addScript(context, script.toString());
    Command Button action for the Button on the popup
    public String commandButton50_action() {
    // Add event code here...
    closePopup(popup13.getClientId(FacesContext.getCurrentInstance()));
    return null;
    JSPX Code:
    <af:popup binding="#{backingBeanScope.backing_MbrMemberReview.popup8}"
    id="popup8" contentDelivery="lazyUncached"
    popupFetchListener="#{backingBeanScope.backing_MbrMemberReview.popup8_popupFetchListener}">
    <af:panelWindow binding="#{backingBeanScope.backing_MbrMemberReview.panelWindow8}"
    id="panelWindow8"
    title="Search for Member to Combine"
    inlineStyle="width:600px; height:400px;"
    modal="true">
    <af:commandButton text="OK"
    binding="#{backingBeanScope.backing_MbrMemberReview.commandButton50}"
    id="commandButton50"
    inlineStyle="width:80px; height:15px; text-align:center;"
    action="#{backingBeanScope.backing_MbrMemberReview.commandButton50_action}"
    partialSubmit="true"/>
    </af:panelWindow>
    </af:popup>

  • Javascript error throws the portal theme configuration page

    General Description: Javascript error and jump to the portal theme
    configuration page
    EP: NW04s SP12 including KMC
    We have a problem when we entry to the portal, a javascript
    error happens and immediately jumps to the portal theme configuration
    page. We entry at the portal with a user that have assigned the next groups.
    LR_Administrador LR_Administrador Base de datos UME
    Everyone Built-in Group Everyone Adaptador de grupo integrado
    Authenticated Users Built-in Group Authenticated Users Adaptador de
    grupo integrado
    The group LR_Administrador have assigned this role
    Nombre unívoco:
    pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles/kof.com.mx.LR_MX_ROL_Administrador
    Nombre de visualización: kof.com.mx.LR_MX_ROL_Administrador
    Ubicación:
    pcd:portal_content/kof.com.mx.EP6_FLD_KOF/kof.com.mx.FLD_MX_LR/kof.com.mx.FLD_MX_LR_Roles
    Descripción: Libro Rojo
    ID unívoco: ROLE.PCD_ROLE_PERSISTENCE.38yt+Psq/fFQuE3Uxdt52Azfdpg=
    The role LR_MX_ROL_Administrador, have assigned only one page called:
    LR_MX_PAG_Edicion
    This page contains a KM Navigation iview.
    When we entry with this user, the browser show us this javascript error:
    Linea: 107
    Car: 116
    Error: 'children' es nulo o no es un objeto
    Codigo: 0
    URL: http://fedbdvep:50000/irj/portal
    And immediately show the portal theme configuration page.
    We need that the user see the page assigned, but this error shows him
    always the portal theme configuration page. This kind of error happens with
    other roles too. We've found a workaround
    for this situation, doing click on the first level navigation, the
    LR_MX_PAG_Edicion page shows normally.
    Thank for any help.
    Regards
    Jose

    Thanks for your update, we have resolved the issue with this help. Very thankfull.
    regards,
    kishore

  • Javascript error on entering maxLength to textInput

    We have a UIX page with around 1 text input:
    <messageTextInput model="${bindings.Notes}"
    columns="80"
    maximumLength="250"
    rows="6" required="yes"
    prompt="Notes" id="Notes"/>
    We have set maximum length for the text input. When we try to key in maximum characters for this text input except the Notes field,
    its working fine. But when we key in maximum characters for the Notes field(with new line character(\n) inbetween) we get the following javascript error,
    Line: 2004
    Char:1
    Error: "Invalid Syntax"
    Code:0

    We found the problem with the Message Text Input field.
    We have removed the maximumLength for the Message Text Input field. We manually take the length of the field (Length of the field included characters, spaces, carriage returns) and check the same against the maximum length specified in the DB. If the length is more than maximum length , an alert is prompted to the user. This is working fine. If the length is less than maximum length, it doesn't shown an alert, but at times an JBO exception was thrown as you said. When we analyzed we found that the JDeveloper calculates the length of the field as,
         Length entered by the user (Our case it is 1197)+
         No of carriage returns (Our case it is 14) = Length which is checked against maximum length specified in the DB (Our case it is 1211)
    Since it is greater than 1200, it throws an JBO Exception. If we remove 11 characters, it works fine.
    We add the number of carriage returns and total length of the field. If it is more than maximum length, we alert an message.
    The above mentioned solution worked fine. But at times if I give a set of lines without carriage returns it throws the java script error.
    Can any one please help out. This has become a critical issue in our project

  • JavaScript error message

    In the middle of using Dreamweaver 8 today, I received
    several error messages when trying to open and/or save a file:
    Message #1
    The following javascript error(s) occurred:
    At line 56 of File "C:\Program Files\Macromedia\Dreamweaver
    8\Configuration\Shared\Common\Scripts\dwscriptsExtData.js"
    ReferenceError: dwscripts is not defined.
    Message #2
    While executing onLoad in_onOpen.htm the following JavaScript
    error(s) occurred:
    In file ""_onOpen"":
    Reference Error: onOpen is not defined.
    Message #3
    The following translators were not loaded due to errors:
    ASP.htm: has configuration information that is invalid
    ColdFusion.htm: has configuration information that is invalid
    JSP.htm: has configuration information that is invalid
    PHP_MySQL.htm: has configuration information that is invalid
    XSLT.htm: has configuration information that is invalid
    XSLTransform.htm: has configuration information that is
    invalid
    Message #1 and #2 show up two times when trying to open a
    file. Message #3 and then Messages #1 and 2 show when trying to
    close a file after changes (it asks first "Save changes..." . . .
    if I click on yes, then the error messages occur, but when they are
    dismissed by clicking on OK, the file seems to be saved, because
    the corrected file is uploaded when using FTP. If I try to save the
    changed file by using File>Save As... nothing will happen.
    I used the Remove Program function in Control Panel, and then
    re-installed Dreamweaver 8 using my Studio 8 CD#1 and following the
    Wizard prompts. The files still show in the "local sites: list and
    I can open the files (albeit with the error messages above) and the
    changed/edited files are still saved and FTP'd to my server. So
    from the end-user view, all is OK. But... this is different this
    afternoon from how it was working this morning.
    Can anyone suggest how I should proceed to make it work
    without the error messages?
    TIA --
    Joyce

    Have a read of this article:
    http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19105
    and if that doesn't help you can try this:
    Quit DW.
    Find this folder -
    C:\Documents and Settings\<username>\Application
    Data\Macromedia\Dreamweaver
    8\Configuration\WinFileCache-*.dat
    (these folders are normally hidden - you may have to use
    Explorer > Tools >
    Folder Options to unhide them)
    Delete it. Restart DW and hopefully you're fixed.
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html

  • Validation error for non-null throws false error condition

    I am trying to perform a DML (INSERT) with a form element (textbox) that has been disabled on the form.
    The objective is to allow the user to:
    1) disable a form element using javascript when a radio element is selected - works OK using an onclick event
    2) user clicks a button to ENTER (perform a INSERT DML) - here the validation throws an error but I have enabled the previously disabled form element and I have used $x_Value() to input a value into the form element by onsubmit event on button.
    If I remove the validation error trap the DML saves the appropriate value.
    I can create two buttons and it works:
    1 button to enable fields that were previously disabled
    2 button to perform DML. (works if after button 1 I set focus on any form field with my mouse.)
    Any help would be appreciated.
    marshall

    Knight,
    Thanks for your interest in helping.
    I am trying not to create a situation w/bugs and such. I think I can devise a work around but I would like a more "correct" solution. ;-)
    To explain what I am doing I have a form that a person can use to enter a complaint. The person can give their last - middle - first name but they can also decide to be anonymous. If anonymous they click checkbox. Onclick of checkbox I fire javascript to disable name fields and place "Anonymous" in the last_name disabled field. The user can enter other data and when the user clicks ENTER I want to insert into the DB but the validation error trap of APEX sees a disabled field as a null. I want to place "Anonymous" in the last name field and then save the record with other data besides name.
    To add to it - I can create two buttons 1-button enables and 2-button inserts and the same code works if I touch( give focus) to a field in between enabling and inserting into the DB
    Does that help explain better.
    Thanks again - hope you or someone can help - best regards.

  • BPM Inbox not displayed, gives Javascript error

    Hi,
    I am trying to open the BPM Inbox via https://<host>:<port>/bpminbox, but it throws a Javascript error:
    Uncaught TypeError: Cannot read property 'dataServices' of undefined in ODataMetadata.js:13
    If I remove the roles UnifiedInboxUserRole and com.sap.bpem.Enduser, the BPM Inbox is shown fine, but it states correctly I don't have the appropriate roles.
    Have I missed some configuration? The standard UWL works just fine

    Hi Christian,
    In the defaultTrace the only hint is :
    WARNING: Interceptor for {http://odata4j.sap.com/}BPMEntitiesRequestResourceImpl has thrown exception, unwinding now
    com.sap.engine.services.servlets_jsp.server.exceptions.WebIllegalStateException: The stream has already been taken by method [getWriter()].
    at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.getOutputStream(HttpServletResponseFacade.java:244)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.flushHeaders(AbstractHTTPDestination.java:535)
    at org.apache.cxf.transport.http.AbstractHTTPDestination.flushHeaders(AbstractHTTPDestination.java:502)
    ...but not sure if this is a root cause

Maybe you are looking for

  • How do you select multiple emails from the contacts book.

    Using 10.8.4. I would like to use mail and select multiple email address' from the contacts book to send the same message to multiple persons. I thought I used to be able to select more than one at a time from my contacts book. Am I crazy or did they

  • IPhone 3GS has stopped recording video - please help

    Hi - I have recently updated my iPhone to iOS 5...... I don't know if my problem is related to that fact - but yesterday the iPhone stopped recording video..... It has been recording video fine recently (after the up-date) - but now when I click onto

  • GL Account Clearing

    Hi Friends, While trying to clear GL account 0000012345, It is giving error message " Ex. rate diff. accts or incomplete for account 0000012345 currency USD. Can any one tell me the reason? Thanks in advance.

  • Faulted while invoking operation "execute" on provider "OrderFulfillment".

    faulted while invoking operation "execute" on provider "OrderFulfillment". exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission fai

  • Blocking Specific Material Type in Work Order

    Dear Gurus, Is there any way to block specific material type in work order. Could not find any suitable link in SPRO. Advance thanks for the update / response. Sahu.