Javascript Error with UIX Page

Hi all,
I am using JHeadstart 10.1.2.2.32 with JDeveloper 10.1.2.1.0 to develop UIX pages. I have run into the following problem with one of my UIX pages. We have a page with a table view which uses sortable headers. In certain situations when using the sortable headers in IE 6.0.2900.2180, a javascript error appears. This does not occur using Firefox.
It says:
Line: 2894
Char: 1
Error: 'type' is null or not an object
Code: 0
URL: (the URL of the page)
I have figured out that the error is occuring in the Common2_2_20.js file on the following line, which is part of the function _multivalidate:
var a7 = a6.type; The error only occurs in the following situation. If the user has just logged into the system and certain rows in the table are read-only and others are editable. If you click on any of the sortable headers, it will sort fine the first time. However, if you click on the sortable header again, the javascript error appears. It only happens if you click on the sortable headers twice in a row.
I have tried taking out the line of code, but then I can not sort the headers at all.
I read in the forum that the error can occur because of the way IE handles the compression of javascript files. We changed the setting on the app server to not compress javascript files. I then undeployed and redeployed the application. However the same error is still occuring.
If you need any more information, please let me know. Thanks in advance.
Susan

We found out that we had a custom script on the page that was interfering with script in the Common2_2_20.js. By moving the script to the end of our page, it solved our problem.
Susan

Similar Messages

  • 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

  • Problem with UIX Pages in sub folders

    I want to group my UIX pages into sub folders to maked definition of security constraints more convenient.
    The New UIX Page wizard doesn't allow creation into a sub folder so I have created a blank page and then renamed it into a subfolder using File>>Rename menu option. However, now when I drag Data Control bindings onto the page they fail to bind properly. (No data appears when I run the page.)
    Is there a fundamental problem with placing UIX pages into sub folders? Is it something I shouldn't do? Requiring a flat file structure seems an onerous restriction!
    Thanks
    Matthew

    yes. this is a known problem when you are running UIX pages and not struts dataactions.
    For the model bindings to work, you currently have to keep
    all your uix pages in the top level directory.
    However, if you use the struts-pageflow with UIX pages, then you can keep you UIX pages where ever you want.

  • UIX Javascript Error with Date Picker

    Hi all,
    I am using JDeveloper 10.1.2.1.0 with JHeadstart 10.1.2.2.32 to create UIX pages. I have a page with a filter by search field. If I select the date picker on this page in IE version 6 or 7, I get the following javascript error:
    Error: 'length' is null or not an object
    I have found this in the Common2_2_20.js, which is part of the jslibs
    function _accumulateNumber(
    a0,
    a1
    var a2=a0.currIndex;
    var a3=a2;
    var a4=a0.parseString;
    ***var a5=a4.length;***
    if(a5>a3+a1)
    a5=a3+a1;
    var a6=0;
    while(a3<a5)
    var a7=parseDigit(a4.charAt(a3));
    if(!isNaN(a7))
    a6*=10;
    a6+=a7;
    a3++;
    else
    break;
    if(a2!=a3)
    a0.currIndex=a3;
    return a6;
    else
    return(void 0);
    }With Firefox 1.5.0.4, I can get the date selector window to open, but when I select a date value, I get this javascript error:
    a0.select() is not a function
    I have found this in the Common2_2_20.js also. Here is the code where the error is occuring.
    function _dfsv(
    a0,
    a1
    if((a0==(void 0))||(a1==(void 0)))
    return;
    a1+=_getTimePortion(a0);
    var a2=new Date(a1);
    var a3=_getDateFieldFormat(a0);
    var a4=a0.value;
    var a1=a3.format(a2);
    if(a0.value!=a1)
    if(a0.onchange!=(void 0))
    if(_agent.isIE)
    a0.onpropertychange=function()
    var a5=window.event;
    if(a5.propertyName=='value')
    a0.onpropertychange=function(){};
    a0.onchange(a5);
    a0.value=a1;
    else
    a0.value=a1;
    var a5=new Object();
    a5.type='change';
    a5.target=a0;
    a0.onchange(a5);
    else
    a0.value=a1;
    ***a0.select();****
    a0.focus();
    }I am able to use the date picker on other pages and even different parts of this page. The date search field is of type dateField.and is part of a switcher. Does anyone have any ideas as to why this is occuring or how I can work around it? Thanks in advance. I really appreciate all of your help.
    Susan

    Thanks for the reply. As a matter of fact, in my case the error happens in a UIX page generated by JHeadstart. I did some JavaScript debugging using the FireBug Firefox entension and I found that it is some JHeadstart JavaScript that causes this problem.
    The JHeadstart JavaScript passes on an array of input elements to the AFD JavaScript function and the problem arises when the select() method is called on the array, rather than an input element in the array.
    I will try to solve my issue by modifying the JHeadstart JavaScript code. Please see the JHeadstart forum somewhere in the near future for my post(s) about this :-)
    Thanks, Wouter

  • Still getting Javascript error with new version of UIX

    I'm facing some problem after changing my UIX framework version (2.2.3030829.1626).
    Currently I'm using UIX version (2.2.3030829.1626) . Paging with table is not working with new frame work .
    It is giving me javacript error "object doesn't support property or method" when clicking 'Next' .
    It's working fine with old version.
    We had used proper cabo directory. These files are in sync with the version of the runtime
    Here is our finding
    I found a error in _updateFormActions() function from MarlinCoreb2.js file.
    In this function it is giving error at
    if(a8!=a6)
    a7.action=a6 line (line # 1841,1842). If I comment out this two lines page is
    working properly without any javascript error.
    This problem is a bit tricky....
    Because it seems to be a problem with the UIX framework that only occurs on some versions of the Internet Explorer. On some version (IE 6.0.2600.0000) it works fine
    and it also works on the Mozilla Firefox browser.
    Can any one advice on the same?
    Thanks in advance
    Anindya

    I answered this question on a different thread.
    Do NOT post the same question multiple times. If you require more complete or prompt assistance than you receive on these forums, contact Oracle Support.
    -brian

  • Javascript error with new UIX framework

    Hi,
    I'm facing some problem after changing my UIX framework version (2.2.3030829.1626).
    Currently I'm using UIX version (2.2.3030829.1626) . Paging with table is not working with new frame work .
    It is giving me javacript error "object doesn't support property or method" when clicking 'Next' .
    It's working fine with old version.
    Any help is much appreciated.
    Thanks and Regards,
    Anindya

    Thanks Brian for your prompt reply
    We had used proper cabo directory. To confirm it we have done it once again.But we're still getting the same error.
    here is our finding
    I found a error in _updateFormActions() function from MarlinCoreb2.js file. 
    In this function it is giving error at
    if(a8!=a6)
    a7.action=a6 line (line # 1841,1842). If I comment out this two lines page is
    working properly without any javascript error.
    This problem is a bit tricky....
    Because it seems to be a problem with the UIX framework that only occurs on some versions of the Internet Explorer. On some version (IE 6.0.2600.0000) it works fine
    and it also works on the Mozilla Firefox browser.
    can you please advice is there any solution
    Thanks in advance
    Anindya

  • Getting application exception while running a web application with UIX page

    Hi All,
    I am a new user to JDeveloper. I am practicing Struts and using UIX pages as interface. I did a simple application which is in oracle website. I am running the application using struts-config.xml file. I mea nrightclicking on one of Icon and choose run option. I am getting these below exception. Can any one tell what is the problem?
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\jdev1012\jdev\system10.1.2.2.0.1929\oc4j-config>
    C:\jdev1012\jdk\bin\javaw.exe -ojvm -classpath C:\jdev1012\j2ee\home\oc4j.jar;C:\jdev1012\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\jdev1012\jdev\system10.1.2.2.0.1929\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    07/11/22 13:12:06 Error instantiating application at file:/D:/Software/jdev1012/jdev/system10.1.2.2.0.1929/oc4j-config/applications/bc4j.ear: Unable to find/read assembly info for D:\Software\jdev1012\jdev\system10.1.2.2.0.1929\oc4j-config\applications\bc4j archive (IO Error: The system cannot find the path specified.
    07/11/22 13:12:09 Auto-deploying file:/C:/jdev1012/jdev/mywork/HelloApplication/ViewController/public_html/ (New server version detected)...
    07/11/22 13:12:32 java.net.ConnectException: Connection timed out: connect
    07/11/22 13:12:32      at java.net.PlainSocketImpl.socketConnect(Native Method)
    07/11/22 13:12:32      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
    07/11/22 13:12:32      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
    07/11/22 13:12:32      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
    07/11/22 13:12:32      at java.net.Socket.connect(Socket.java:452)
    07/11/22 13:12:32      at java.net.Socket.connect(Socket.java:402)
    07/11/22 13:12:32      at java.net.Socket.<init>(Socket.java:309)
    07/11/22 13:12:32      at java.net.Socket.<init>(Socket.java:153)
    07/11/22 13:12:32      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.sendMessage(Oc4jNotifier.java:98)
    07/11/22 13:12:32      at oracle.jdevimpl.runner.oc4j.Oc4jNotifier.postInitApplicationServer(Oc4jNotifier.java:55)
    07/11/22 13:12:32      at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1659)
    07/11/22 13:12:32      at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)
    07/11/22 13:12:32 Oracle Application Server Containers for J2EE 10g (10.1.2.2.0) initialized
    07/11/22 13:12:32      at java.lang.Thread.run(Thread.java:534)
    Message was edited by:
    user606886
    I think i did not given sufficient information. This exception is coming when i try to run the Icon in struts-config.xml file. Which will launch an internal server (which come with JDeveloper i did not configure any Tomcat or Oracle Application Server) that run the page.

    Are you using correct Jdeveloper version ?
    Refer http://oraclearea51.com/blog/setting-up-jdeveloper-download-correct-version-of-jdev-and-diagnosing-problems.html?blogger=contactriteshsharma
    -Anand

  • Fix for Dreamweaver CC 2014.1 JavaScript Error With All ASPX Files

    Entire morning wasted.
    Adobe's upgrade to Dreamweaver 2014 to 2014.1 on Windows 7 Professional has broken the product across the board and it no longer opens any .aspx pages correctly.  A large number of people use .NET and now we can no longer access/use these files/pages without multiple JavaScript errors.  Particularly those that have edited the MMDocumentTypes file to make the product work in the first place since they stopped supporting the users that develop in ASP.NET.
    Every time a .aspx file is now opened, the following JavaScript error is received: "While executing translateCustomControl in ExternalRenderers.html, a JavaScript error occurred.  Click 'close' and it appears again...over and over.  Our sites are all unable to open in DW because of this.  It worked fine in earlier versions of DW, including 2014.  It's only 2014.1 that broke everything.
    The fix for this:
    1. Follow instructions on this out-of-date help file: Change, add recognized file extensions | Dreamweaver
    2. (and the part that's new): The MMDocumentTypes file is located in  C:\Users\*your username*\AppData\Roaming\Adobe\Dreamweaver CC\Configuration\DocumentTypes directory. Open that file and add aspx back to the <documenttype id="HTML"> declaration at the top.
    I am posting this issue here in hopes that some of the users won't waste most of the day trying to figure this out.
    Chris Lee

    Hi Ivan,
    I'm having that exact same problem now...in addition to that JavaScript error message coming back.  I submitted a bug report last week about this and received the following reply:
    Hi Chris,
    We would like to let you know that we able to reproduce this issue at our end. Thanks for reporting this.
    We will try to prioritize it for fixing. This might take some time. We thank you for your patience with us in this regard.
    Please let us know if you need help regarding anything else. We will be more than happy to help you.
    Thanks,
    Arindam Ghosh
    Dreamweaver Team,
    Adobe Systems
    Hopefully they can get this fixed soon, as it's ground my work in the software to a halt.
    Chris

  • JavaScript error with CourseBuilder

    Hi!
    I intend to use CourseBuilder for a simple test.
    I've done the CourseBuilder tutorial and everything went
    fine.
    Two weeks later I tried to implement an interaction in my
    page... and got an error message after I had clicked on the action
    manager tab:
    "Action manager data was invalid. “ The next message
    was about a JavaScript-error in onLoad (coursebuilder
    interaction.htm).
    It was not possible any more to edit the interaction in any
    site (also not in the tutorial test site...).
    I already have de-/re-installed all extension (and only try
    CourseBuilder alone), de-/re-installed dreamweaver, deleted all
    support files, build a new test site...
    I'm confused about it - but I need to deliver the test pretty
    soon.
    Maybe I did a basic mistake?
    Your help would be appreciated very much
    Kind Regards
    STH

    It's still very strange. I really have tried quiet a lot of
    options but I still can't start the action manager in
    CourseBuilder. In the last weeks I googled a lot. There are some
    mistery reports that CourseBuilder stoped to work suddenly. But
    eighter is was solved by a new installation or there was no answer.
    Finally I made it with forms and layers in dreamweaver
    directly.
    Even though you have to do more editing...
    at least you are not sitting in front of a black box without
    knowing what's going on.
    STH

  • Javascript error with insert record. Please help!

    I  contacted Adobe  support today and they said to get on these forums as  they cant help  with coding errors.
    When i try to  insert a Record I  get the following error:
    while executing onLoad in  InsertRecord.htm, the  following JavaScript error(s) occurred:
    At  line 665 of file  "C:\Program Files\Adobe   DreamweaverCS4\Configaration\ServerBehaviours\PHP_MySQL\InsertRecord.js":
    name    has no properties
    Line 655
          if (columnName.toUpperCase() ==   name.toUpperCase())
    Im running Win 7 64bit
    I contacted  Adobe  support today and they said to get on these forums as they cant  help  with coding errors.
    I have formatted my Pc and reinstalled and the  same error  comes up. If I try to edit and existing insert record it  works fine,  when I create a new page and then try to add a new insert  recordset i  get this erro again.
    i have since reinstalled Windows & 32Bit  to see if  that helped, nope. I have installed no extensions its a  clean install.
    Any  help  after spending a small fortune on this software.

    I think you are trying to run the program but you don't have the required class POP3Session.class or it's .java file which you can compile.
    Another example for pop3 and smtp is on the following link..check if it helps you..
    http://www.cs.umu.se/~hed/java/ch11.htm

  • Javascript error with HTML Editor

    HI,
    I was wondering if anyone could help me with a javascript error which appears upon page load. It only appears in internet explorer,
    This person appears to have solved the problem but does not explain where abouts they made the change required.
    FCK Rich Text Editor aka HTML Editor Standard IE Error/Bug
    This problem also appears on the apex demo of new features.
    If anyone can respond with help, it would be greatly appreciated
    Regards
    Kev

    Hello Kevin,
    This is a difficult issue as the init code for the editor item is being generated internally by the APEX engine, and we don’t have any control over it. As I see it, a complete solution can only be provided by the APEX team.
    Until then I’m using a workaround, based on the original init code. The FCK Editor takes a standard textarea and convert it into the editor item, based on its init parameters.
    First I’m uploading the FCK JavaScript code, using the page HTML Header Text (If you are using the editor a lot, you can define a page template to do that for you). The code is:
    <script type="text/javascript" src="/i/fck/fckeditor.js"></script>Now I’m using a regular textarea item as the base item for the editor. I’m using a regular onload event to init this item:
    onload="initFCK('P80_MY_EDITOR');"The JavaScript function I’m using is similar to the following:
    function initFCK(pItem) {
                var oFCKeditor        = new FCKeditor(pItem) ;
                oFCKeditor.BasePath   = "/i/fck/" ;
                oFCKeditor.Width      = '760';
                oFCKeditor.Height     = '105';
                oFCKeditor.ToolbarSet = 'Basic' ;
                oFCKeditor.Config[ "AutoDetectLanguage" ] = false;
                oFCKeditor.Config[ "DefaultLanguage" ]    = "en";
                oFCKeditor.ReplaceTextarea() ;
    }Of course, the init parameters can be changed according to your specific needs.
    This code works fine on IE and FF (didn’t check other clients).
    Regards,
    Arie.

  • JavaScript errors with IE7

    I use Dreamweaver MX; OS is XP Home. I installed IE7
    yesterday, and today, upon opening Dreamweaver MX, discover a mess
    of JavaScript errors when I attempt to move between different, open
    pages which is
    most annoying! I've looked for updates/patches for both DW
    MX and IE7 but no success. Any suggestions?!

    Thanks, ChrisBloom7. The problem persists -- I suspect it's
    to do with the IE7 install as that's the only thing different.
    Previously, MX ran beautifully.
    The error windows upon a reboot are as follows -- I click
    through each of the error messages with either an OK or cancel:
    1) "While executing Browse_Back enabled in toolbars.xml a
    JavaScript error occurred." This, with a yellow triangle and "!"
    sign on the icon.
    2) "While executing Browse_Back enabled in toolbars.xml a
    JavaScript error occurred." This with a white "X" on red circle
    icon.
    3) "While executing Browse_Forward enabled in toolbars.xml a
    JavaScript error occurred." Same icons as above.
    4) "While executing Browse_Forward enabled in toolbars.xml a
    JavaScript error occurred."
    5) "While executing Browse_Stop enabled in toolbars.xml a
    JavaScript error occurred." Same icons as above.
    6) "While executing Browse_Stop enabled in toolbars.xml a
    JavaScript error occurred."
    7) "While executing getCurrentValue in AddressURL.htm a
    JavaScript error occurred." Same icons as above.
    8) "While executing getCurrentValue in AddressURL.htm a
    JavaScript error occurred."
    While navigating between open pages, the following error
    messages pop up consistently:
    1) "While executing getCurrentValue in AddressURL.htm a
    JavaScript error occurred." Same icons as above.
    2) "While executing getCurrentValue in AddressURL.htm a
    JavaScript error occurred." These occur every time I navigate/click
    on a different open page.

  • Javascript error with f:subview and jsp:include

    Hi,
    I have tried to include one jsp page with jsf components into another jsp page with jsf components. But somehow I get a Javascript error.
    I have of course included the jsp:include into an f:subview like this:
    <f:subview id="tree" rendered="#{tabsBacker.treeRendered}">
    <jsp:include page="mission.jsp" />
    </f:subview>In mission.jsp, all non-jsf tags are surrounded by f:verbatim tags (otherwise, JBoss would complain anyway).
    The Javascript error says: "elements.form1:_link_hidden_ is null".
    "form1" is the name of the form in my jsp page which includes the other one.
    As soon as I remove the jsp:include thing, everything works fine. The include happens in a t:panelTabbedPane, and (probably as a result of the javascript error), the tab where the included page should be shown, can't be displayed. I can click on the tab, the page is reloaded, but nothing else happens.
    The error occurs in IE and in Firefox.
    Can anyone help me to solve this problem??
    Kind regards,
    Wiebke

    It's just a jsp fragment file. Here's the start of the jspf included above:
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx" %>
    <f:subview id="browseForm">
    <table class="box" width="100%">
         <tr>
              <td><h:outputText value="#{labels.someValue}" styleClass="smalltitle"/></td>
         </tr>And so on. This was just done to stop the jsp files becoming too long, I think. So the subview tag is included in the jspf file rather than around the jsp file as you have it.
    Illu

  • Cs6 dreamweaver - javascript error with Clean up Word HTML . . .

    Very recently upgraded to CS6 from CS5.5. Every now and then, I have to run the Clean up Word HTML Commands function for a client. Never had a problem before. This time, I got this message:
    While executing onClick in Clean Up Word HTML.htm, the following JavaScript error(s) occurred:
    At line 2012 of the "Macintosh HD:Applications:Adobe Dreamweaver CS6:Configuration:commans:Clean Up Word HTML.js"
    The object is not currently contained in a document.
    I searched through the Discussions and found refernce to deleting MacFileCache-###.dat file in the Library Configuration folder for Dreamweaver CS 6. Did that, same thing. It also mentioned deleted the entire Configuration folder. Same result.
    I called tech support and was directed to go through the (count 'em) 14 steps on the Troubleshoot JavaScript page -- http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html. Still no luck.
    Anyone else out there having this problem? What am I missing? Help!
    Thanks, Tim

    Hi SnakEyes02,
    That could be. Let me know when you have grabbed these. They were Word docs that I saved the same way I always have done (Save As, Format: Web Page (.htm)), creating .htm files that work in CS5.5 Dreamweaver and earlier versions.
    http://test.babysneaks.com/WordHTML1.htm
    http://test.babysneaks.com/WordHTML2.htm
    Thanks for your help. Tim

  • Javascript errors with Crytical Report XI

    I am using EP6 SP2 and CR XI. And deployed the compatible iview provided by BusinessObjects. 
    If I chose to display one BW report or one Folder in the iview, such as :
    http://gdtelnotes.gd.ctc.com/businessobjects/enterprise11/sap/desktoplaunch/InfoView/CrystalEnterprise_Report/view.do?objId=2274
    Everything is OK.
    However, if I chose to display logon page of CR, such as:
    http://gdtelnotes.gd.ctc.com/businessobjects/enterprise11/sap/desktoplaunch/InfoView/logon/logon.do
    Javascript errors will occur. 
    Any instructions will be appreciated.
    Many thanks,
    Summer

    Hi,
    i have exactly the same error when upgrading tot 4.1.1.
    In APEX 4.1.0 everything is working fine, but now in 4.1.1 in every IR report i got "gReport is empty or undefined" error message.
    <script language="JavaScript" type="text/javascript">
    ;(function($){
    gReport = new apex.worksheet.ws('');
    $.htmldbIrBusyGrap=$.fn.htmldbIrBusyGrap=function(){
    /* for bind IR ajax */
    /* check do we have IR on page */
    if($('#apexir_WORKSHEET_REGION').length>0){
      /* replace apex internal function _BusyGraphic */
      gReport._BusyGraphic=function(pState){
       if(pState==1){
        /* ir ajax start trigger htmldbIrAjaxStart event and show loading icon */
        $.event.trigger('htmldbIrAjaxStart');
        /*goModal('apexir_LOADER', {position:['30%',]});*/
         html_ShowElement('waitRegion');
        //$('#waitRegion').modal({persist:true,overlayCss:{backgroundColor:'#606060'},position:['30%',]});
        }else{
        /* check is there data stored to #apexir_WORKSHEET */
        if(!$('#apexir_WORKSHEET').data('htmldb')){
          /* store data to #apexir_WORKSHEET */
          $('#apexir_WORKSHEET').data('htmldb',{irReady:true});
          /* trigger htmldbIrReady event */
          $.event.trigger('htmldbIrReady');
         /* hide loading icon and trigger htmldbIrAjaxEnd*/
             html_HideElement('waitRegion');
         //$.modal.close();
        $.event.trigger('htmldbIrAjaxEnd');
       return;
      $.event.trigger('htmldbIrReady');
    $.htmldbIrReady=$.fn.htmldbIrReady=function(fn){
    $(function(){if($.isFunction(fn)&&$('#apexir_WORKSHEET_REGION').length>0){$('#apexir_WORKSHEET_REGION').bind('htmldbIrReady',fn)}});
    })(jQuery);
    addLoadEvent(function(){$.htmldbIrBusyGrap();});
    </script>When i add the following line in the javascript just above the call of the gReport
    gReport = new apex.worksheet.ws('');then the pages are loaded without any error, but my custom icon is not displayed.

Maybe you are looking for