10.1.3 Faces: Javascript error on PPR

Hi all,
I'm getting a Javascript error during PPR in IE 6.0. This error does not appear in FF 2.0. The error is "Invalid Argument" on line 2984 of adf/jsLibs/Common10_1_3_2_0.js:
form.removeChild(tempParams[paramName]);
Research suggests that this error should occur when "tempParams[paramName]" was created in a different document from "form", and sure enough, with a DOM inspector, I was able to determine that the documents have different unique IDs.
Does anyone know why this might be happening? It doesn't happen in all my pages, but I can't figure out what might be special about this one.
Thanks much,
Avrom

Hi Frank,
The development environment is JDev 10.1.3.2; I can see if upgrading makes a difference--but the error is actually appearing in the deployed environment, which is Oracle AS 10.1.2.
The error is getting reported by Microsoft's script debugger--without it, there's a brief flash of a warning symbol in the IE status bar, but it disappears quickly.
The reason I care about this error (although it's transient and doesn't really seem to affect the outcome of that PPR) is that I suspect it as the culprit in more worrisome behavior--after this error appears once, the <af:messages> component on the page will no longer refresh until the page is left and returned to (although no error is reported at that time). I'm so suspicious because they always go together--I've never been able to get the component to refresh after getting this error, or to keep it from refreshing without getting it. This includes the fact that neither problem surfaces in FireFox.

Similar Messages

  • ADF Javascript error in MS IE v 8.0.6001.18702

    Hi,
    I'm using jdeveloper v11.1.2.0.0. I have a login page with language, username, password fields. Language is af:selectonechoice and is using ppr to re-render the page on language change. It's working fine with FireFox 4 and chrome. But when I open the page in IE (8.0.6001.18702), it's showing the following javascript error, and I cannot even submit the login details(eventhough I'm not changing language). The error is,
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; the Windows NT 5.1; Trident/4.0; NET CLR 2.0.50727)
    Timestamp: Thu, 23 Feb 2012 01:57:28 UTC
    Message: Element not found.
    Line: 6219
    Characters: 2
    Code: 0
    URI: http://192.168.5.140:7101/eMotor/afr/partition/ie/default/opt/boot-SHERMAN-1147.js
    Please find my web.xml code below,
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
             version="2.5">
        <display-name>eMotor</display-name>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <context-param>
            <description>No obfuscation of CSS.</description>
            <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
            <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
            <param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
            <param-value>false</param-value>
        </context-param>
        <context-param>
            <description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
            <param-name>oracle.adf.view.rich.security.FRAME_BUSTING</param-name>
            <param-value>differentDomain</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
            <param-value>*.jsf;*.xhtml</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_SKIP_XML_INSTRUCTIONS</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_DECORATORS</param-name>
            <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
            <param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
        </context-param>
        <filter>
            <filter-name>JpsFilter</filter-name>
            <filter-class>oracle.security.jps.ee.http.JpsFilter</filter-class>
            <init-param>
                <param-name>enable.anonymous</param-name>
                <param-value>true</param-value>
            </init-param>
        </filter>
        <filter>
            <filter-name>SecurityFilter</filter-name>
            <filter-class>com.allianz.common.web.filter.SecurityFilter</filter-class>
        </filter>
        <filter>
            <filter-name>trinidad</filter-name>
            <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
        </filter>
        <filter>
            <filter-name>adfBindings</filter-name>
            <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
        </filter>
        <filter>
            <filter-name>ADFLibraryFilter</filter-name>
            <filter-class>oracle.adf.library.webapp.LibraryFilter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>JpsFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>SecurityFilter</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>trinidad</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>ERROR</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>adfBindings</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <filter-mapping>
            <filter-name>ADFLibraryFilter</filter-name>
            <url-pattern>/*</url-pattern>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>REQUEST</dispatcher>
        </filter-mapping>
        <listener>
            <listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.adf.mbean.share.connection.ADFConnectionLifeCycleCallBack</listener-class>
        </listener>
        <listener>
            <listener-class>oracle.bc4j.mbean.BC4JConfigLifeCycleCallBack</listener-class>
        </listener>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet>
            <servlet-name>resources</servlet-name>
            <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>MapProxyServlet</servlet-name>
            <servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
        </servlet>
        <servlet>
            <servlet-name>adflibResources</servlet-name>
            <servlet-class>oracle.adf.library.webapp.ResourceServlet</servlet-class>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/adf/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/afr/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGRAPHSERVLET</servlet-name>
            <url-pattern>/servlet/GraphServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>BIGAUGESERVLET</servlet-name>
            <url-pattern>/servlet/GaugeServlet/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>MapProxyServlet</servlet-name>
            <url-pattern>/mapproxy/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>resources</servlet-name>
            <url-pattern>/bi/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>adflibResources</servlet-name>
            <url-pattern>/adflib/*</url-pattern>
        </servlet-mapping>
        <context-param>
            <param-name>oracle.adf.view.rich.sessionHandling.WARNING_BEFORE_ TIMEOUT</param-name>
            <param-value>1800</param-value>
        </context-param>
        <session-config>
            <session-timeout>30</session-timeout>
        </session-config>
        <mime-mapping>
            <extension>swf</extension>
            <mime-type>application/x-shockwave-flash</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>amf</extension>
            <mime-type>application/x-amf</mime-type>
        </mime-mapping>
        <welcome-file-list>
            <welcome-file>/faces/Login.jspx</welcome-file>
        </welcome-file-list>
        <mime-mapping>
            <extension>rrpa</extension>
            <mime-type>application/x-orarrp-pdf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rar</extension>
            <mime-type>application/octet-stream</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>zip</extension>
            <mime-type>application/x-zip-compressed</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>doc</extension>
            <mime-type>application/msword</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>docx</extension>
            <mime-type>application/vnd.openxmlformats-officedocument.wordprocessingml.document</mime-type>
        </mime-mapping>
        <servlet>
        <servlet-name>imageServlet</servlet-name>
        <servlet-class>com.allianz.web.servlet.ImageServlet</servlet-class>
    </servlet>
    <servlet-mapping>
        <servlet-name>imageServlet</servlet-name>
        <url-pattern>/image/*</url-pattern>
    </servlet-mapping>
    </web-app>
                And in faces-config, I have the following details,
    <application>
            <default-render-kit-id>oracle.adf.rich</default-render-kit-id>
            <locale-config>
                <default-locale>zh</default-locale>
                <supported-locale>en</supported-locale>
            </locale-config>
            <resource-bundle>
                <base-name>resources.UIResources</base-name>
                <var>msg</var>
            </resource-bundle>
        </application>My Login.jspx code,
    <af:pageTemplate viewId="/template/LoginTemplate.jspx" id="pt1">
                    <f:facet name="loginArea">
                        <af:panelFormLayout id="pgl1"
                                            inlineStyle="width: 398px; height: 278px; margin-top: 150px; margin-left: 300px; 
                                           background: url(#{facesContext.externalContext.requestContextPath}/img/login.PNG);">
                            <af:spacer height="15px"/>
                            <af:outputLabel value="#{msg['login.loginheader']}"
                                            inlineStyle="font-weight: bold; font-size: 15px; align: left; margin-left: 5px"/>
                            <af:panelFormLayout labelAlignment="start" inlineStyle="margin-top: 30px">
                                <af:selectOneChoice label="#{msg['login.country']}" value="#{authorizationBean.country}"
                                                    autoSubmit="true" styleClass="select_normal" id="country"
                                                    valueChangeListener="#{authorizationBean.changeLanguage}">
                                    <af:selectItem value="zh" label="#{msg['label.china']}"/>
                                    <af:selectItem value="en" label="#{msg['label.english']}"/>
                                </af:selectOneChoice>
                                <af:spacer height="5px"/>
                                <af:inputText label="#{msg['login.username']}" value="#{authorizationBean.auth.userName}" required="true"
                                            requiredMessageDetail="#{msg['message.mandatoryselect']}"/>
                                <af:spacer height="5px"/>
                                <af:inputText label="#{msg['login.password']}" secret="true" value="#{authorizationBean.auth.password}" required="true"
                                            requiredMessageDetail="#{msg['message.mandatoryselect']}">
                                   </af:inputText>
                                <af:spacer height="5px"/>
                                <af:commandButton text="#{msg['label.login']}" accessKey="L" styleClass="button_normal"
                                                  action="#{authorizationBean.doLogin}" id="loginButton"/>
                                 <af:commandLink text="#{msg['title.forgotPassword']}" id="cl1" immediate="true" partialSubmit="true"  >
                                    <af:clientListener method="openForgetPasswordPage" type="action"/>
                                </af:commandLink>                
                              <af:outputLabel value="#{authorizationBean.loginErrorMsg}" inlineStyle="color:Red;"/>
                            </af:panelFormLayout>
                        </af:panelFormLayout>
                    </f:facet>
                </af:pageTemplate>Any help would be much appreciated...

    chk this
    http://vtkrishn.com/2011/08/23/ie8-element-not-found-error/

  • CommandLink Javascript Error

    Hi,
    In my JSF form, I'm trying to pass param value using <f:param> tag. However, when I click on the link after the form is rendered, it gives me following javascript error. I'm using Struts-Faces library so my form tag is <s:form styleClass="form" id="form1" action="/CertificationCreate">
    Javascript Error: 'document.forms.form1._LINK_TARGET__' is null or not an object
    Here is my JSF tag:
    <h:commandLink value="Approve" type="submit" id="cmdLink_Approve">
    <f:param id="param1" name="action" value="approve"></f:param>
    <h:outputText value="Approve"></h:outputText>
    </h:commandLink>
    Converted HTML:
    <a id="form1:cmdLink_Approve" href="#" onclick="document.forms['form1']['__LINK_TARGET__'].value='form1:cmdLink_Approve';document.forms['form1']['action'].value='approve'; document.forms['form1'].submit(); return false;">Approve</a>
    Any Ideas?
    Thanks,
    S Shah

    i have the same problem
    what is the difference between <s:commandlink> and <h:commandlink>
    Do you using MyFaces RI or Sun's RI?

  • Getting javascript error in jsf portlet

    Hi,
    I wrote a jsf page with command links calling an action in ManagedBean. Its works fine if run as jsf page. But when I associate the jsf page with a portlet and run the page, I am getting javascript error when clicked on the command links.
    Please help me to resolve this problem.
    The jsf page
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
    <%@ taglib uri="http://www.bea.com/servers/portal/groupspace/tags/activemenus" prefix="activemenus" %>
    <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://bea.com/faces/adapter/tags-naming" prefix="netuix" %>
    <html>
    <head></head>
         <body>
    <f:view>
         <netuix:namingContainer id="facesContent">
              <h:form>
    <f:verbatim>
         <table border="0" width="100%">
              <tr>
                   <td>
                        <h:outputLabel value="Notifications" for="heading"/>
                   </td>
                   <td>
                        (<h:outputText value="#{notificationsBean.notificationsSize}" escape="true"/>)
                   </td>
                   <td>
                             <h:commandLink action="#{notificationsBean.showInWorkList}" immediate="true">
                                  <h:outputText value="Show in Worklist"/>
                             </h:commandLink>
                   </td>
                   <td>
                        <h:outputText value="hai"/>
                   </td>
              </tr>
         </table>
    </f:verbatim>     
              <div style="overflow: auto; width: 100%; height: 200px">
              <h:dataTable value="#{notificationsBean.userNotifs.notificationsList}" var="notification">
                   <h:column>
                        <f:facet name="header">
                             <h:commandLink action="#{notificationsBean.sort}">
                                  <f:param name="column" value="caseNB"/>
                                  <f:param name="sortDirection" value="#{notificationsBean.sortDirection}"/>
                                  <f:param name="pattern" value="####"/>
                                  <h:outputText value="Case ID"/>
                             </h:commandLink>
                        </f:facet>
                        <h:outputText value="#{notification.caseNB}"/>
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:commandLink action="#{notificationsBean.sort}" immediate="true">
                                  <h:outputText value="From"/>
                                  <f:param name="column" value="senderNM"/>
                                  <f:param name="pattern" value=""/>
                                  <f:param name="sortDirection" value="#{notificationsBean.sortDirection}"/>
                             </h:commandLink>
                        </f:facet>
                        <h:outputText value="#{notification.senderNM}"/>
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:commandLink action="#{notificationsBean.sort}">
                                  <f:param name="column" value="priorityCD"/>
                                  <f:param name="sortDirection" value="#{notificationsBean.sortDirection}"/>
                                  <f:param name="pattern" value=""/>
                                  <h:outputText value="Priority"/>
                             </h:commandLink>
                        </f:facet>
                        <h:outputText value="#{notification.priorityCD}"/>
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:commandLink action="#{notificationsBean.sort}">
                                  <f:param name="column" value="subjectTX"/>
                                  <f:param name="sortDirection" value="#{notificationsBean.sortDirection}"/>
                                  <f:param name="pattern" value=""/>
                                  <h:outputText value="Subject"/>
                             </h:commandLink>
                        </f:facet>
                        <h:outputText value="#{notification.subjectTX}"/>
                   </h:column>
                   <h:column>
                        <f:facet name="header">
                             <h:commandLink action="#{notificationsBean.sort}">
                                  <f:param name="column" value="createDT"/>
                                  <f:param name="sortDirection" value="#{notificationsBean.sortDirection}"/>
                                  <f:param name="pattern" value="dd-MM-yyyy"/>
                                  <h:outputText value="Created(ET)"/>
                             </h:commandLink>
                        </f:facet>
                        <h:outputText value="#{notification.createDT}"/>
                   </h:column>
              </h:dataTable>
              </div>
                   </h:form>
    </netuix:namingContainer>
    </f:view>
    </body>
    </html>
    The Managed Bean:
    public class NotificationsManagedBean {
         private UserNotifications userNotifs=new UserNotifications();
         private int notificationsSize;
         private String column;
         private String sortDirection = "asc";
         private String pattern;
         public UserNotifications getUserNotifs() {
              getUserNotificationsList();
              return userNotifs;
         public void setUserNotifs(UserNotifications userNotifs) {
              this.userNotifs = userNotifs;
         public int getNotificationsSize() {
              getUserNotificationsList();
              return notificationsSize;
         public void setNotificationsSize(int notificationsSize) {
              this.notificationsSize = notificationsSize;
         public String getColumn() {
              return column;
         public void setColumn(String column) {
              this.column = column;
         public String getSortDirection() {
              return sortDirection;
         public void setSortDirection(String sortDirection) {
              if(sortDirection != null && sortDirection.trim().length()!=0)
                   this.sortDirection = sortDirection;
         public String getPattern() {
              return pattern;
         public void setPattern(String pattern) {
              this.pattern = pattern;
         public String showInWorkList() {
              System.err.println("test");
              return "success1";
              //TODO Auto-generated method stub
         public String sort(){
              sort(column, sortDirection);
              return "success";
         @SuppressWarnings("unchecked")
         private void getUserNotificationsList()
              ArrayList<Notification> notificationsList = new ArrayList<Notification>();
              for(int i=0;i<20;i++)
                   Notification notif = new Notification();
                   notif.setCaseNB("122"+i);
                   notif.setCreateDT("12-12-2002");
                   notif.setSenderNM("testing1"+(i%3));
                   System.out.println(notif.getSenderNM());
                   notif.setSubjectTX("testing2"+(i%4));
                   System.out.println(notif.getSubjectTX());
                   notif.setPriorityCD("High");
                   notificationsList.add(notif);
    userNotifs.setNotificationsList(notificationsList);
              if(userNotifs.getNotificationsList()!=null)
                   this.setNotificationsSize(userNotifs.getNotificationsList().size());
    * <p>Return the <code>FacesContext</code> instance for the
    * current request.
    protected FacesContext context() {
    return (FacesContext.getCurrentInstance());
    protected void sort(final String column, final String direction) {
              java.util.Comparator comparator = new SortComparator(userNotifs.getNotificationsList(),column,direction,pattern);
              java.util.Collections.sort(userNotifs.getNotificationsList(), comparator);     
              if(direction.equalsIgnoreCase("asc"))
                   setSortDirection("desc");
              else
                   setSortDirection("asc");
    }

    Too less relevant information and too much irrelevant code.
    First of all, which JS error exactly are you getting? You as developer should know better that you shouldn't ignore errors. They contain helpful information about the cause of the problem and thus also how to solve it. Where exactly does the error come from? (view the generated HTML source). Which JSF implementation and version exactly are you using? Which webbrowser exactly are you using? Does it work in/with other/newer versions?

  • ADF Faces: !-- ERROR: could not create stylesheet for oracle-desktop.xss

    Hi,
    I'm using ADF Faces EA6. Sometimes when I create the EAR, it doesn't include the file "oracle-desktop-ea6-ie-6-windows.css" which muest be present in the "adf/styles/cache" directory. If I check the source code from the browser, it starts like this:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html dir="ltr" lang="es-ES">
    <head><title>Sistema de Seguridad</title><meta name="generator" content="Oracle ADF Faces"><!-- ERROR: could not create stylesheet for oracle-desktop.xss --><script type="text/javascript" src="/fmv/adf/jsLibs/Commonea6.js"></script><script type="text/javascript">_defaultTZ()</script></head>
    Please note the comment: <!-- ERROR: could not create stylesheet for oracle-desktop.xss -->
    Does somebody know the reason?
    TIA,
    Brian

    If everything is set up properly the css will get generated if it doesn't exist. You do not have to be running in the IDE for the css to be correctly generated. Running the app first is generating the css before you deploy, so you've taken away the symptom but not solved the problem. If you try running on another browser, for example, you'll probably run into the same problem.
    Does your ear get unzipped when you deploy? Do you have a writable file system for the css to get written to? There is a known issue with WebLogic where it doesn't expand the EAR.
    Please check to see if there are errors in the logs.

  • Bali ..... is not faces grammar error message....

    Hi,
    I have a tld that has been working fine, no problem. Now it appears it is giving me a "not faces grammar error message. Can anyone tell me what this error is supposed to mean? I have no idea. The TLD worked once and has been double checked. against jsp examples. I have included tv.tld at the end of this message...
    2008-06-20 14:39:38.801      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:174)
    2008-06-20 14:39:38.801      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.processDecodes(ContextSwitchingComponent.java:83)
    2008-06-20 14:39:38.801      at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl2008-06-20 14:39:38.805 Error creating the Faces Grammar oracle.bali.xml.grammar.GrammarException: Added grammar for file:/net/sta00718/scratch/lguros/view_storage/lguros_test11/work/instances/instance_mas/OC4JComponent/oc4j_admin/applications/em/em/WEB-INF/tlds/tv.tld is not faces grammar.
    <?xml version = "1.0" encoding="utf-8" ?>
    <taglib xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
    version="2.1">
    <description>EM Topology Viewer tags</description>
    <tlib-version>2007.04.09</tlib-version>
    <short-name>tv</short-name>
    <uri>http://xmlns.oracle.com/em/topology/tv</uri>
    <tag-file>
    <name>TVViewIview</name>
    <path>/WEB-INF/tags/TVViewIview.tagx</path>
    <attribute>
    <name>tvDataSource</name>
    <type>oracle.sysman.emSDK.tv.TVView</type>
    <!-- deferred-value>
    <type>oracle.sysman.emSDK.tv.TVView</type>
    </deferred-value -->
    <rtexprvalue>true</rtexprvalue>
    <required>true</required>
    <description>binding to an EM Topology Viewer DataSource object</description>
    </attribute>
    <attribute>
    <name>width</name>
    <type>java.lang.Integer</type>
    <rtexprvalue>true</rtexprvalue>
    <required>false</required>
    <description>Width of the Topology image</description>
    </attribute>
    <attribute>
    <name>height</name>
    <type>java.lang.Integer</type>
    <rtexprvalue>true</rtexprvalue>
    <required>false</required>
    <description>Height of the Topology image</description>
    </attribute>
    <attribute>
    <name>jsClickCallback</name>
    <type>java.lang.String</type>
    <rtexprvalue>true</rtexprvalue>
    <required>false</required>
    <description>Javascript callback on specified nodes or links</description>
    </attribute>
    <attribute>
    <name>showLayoutControls</name>
    <type>java.lang.Boolean</type>
    <rtexprvalue>true</rtexprvalue>
    <required>false</required>
    <description>Flag to show layout controls for topology, default false</description>
    </attribute>
    <attribute>
    <name>fitToView</name>
    <required>false</required>
    <type>java.lang.Boolean</type>
    <description>Flag to fit the screen to the view</description>
    </attribute>
    <attribute>
    <name>iviewDebug</name>
    <required>false</required>
    <type>java.lang.Boolean</type>
    <description>Internal use only, Put debug output in log.</description>
    </attribute>
    </tag-file>
    <tag>
    <name>setBeanProperty</name>
    <tag-class>oracle.sysman.eml.tv.TVSetBeanPropertyTag</tag-class>
    <body-content>scriptless</body-content>
    <attribute>
    <name>target</name>
    <required>true</required>
    <deferred-value>
    </deferred-value>
    </attribute>
    <attribute>
    <name>property</name>
    <required>true</required>
    <deferred-value>
    </deferred-value>
    </attribute>
    <attribute>
    <name>value</name>
    <required>true</required>
    <deferred-value>
    </deferred-value>
    </attribute>
    </tag>
    </taglib>

    Looks like an ADF related app, try posting this one to the JDeveloper/ADF forum here on OTN.
    -steve-

  • Commandlink = javascript errors

    using the following code the html page just issues javascript errors rather than submitting or hitting the action listener. any ideas?
    <f:view>
    <h:form id="selectmodel">
    <h:commandLink value="fetch" action="success" actionListener="#{com.openpeak.web.listeners.ModelActionListener}">
    <h:outputText value="Edit"/>
    <f:param name="ID" value="1"/>
    </h:commandLink>
    <ending stuff...>

    <form id="selectmodel" method="post" action="/opmetadata/faces/models/index.jsp;jsessionid=76B7239C2A767293EE0261E38B86DF48" enctype="application/x-www-form-urlencoded">
    <a href="# onclick="document.forms['selectmodel'['selectmodel:_id0'].value='selectmodel:_id0';document.forms['selectmodel']['ID'].value='1'; document.forms['selectmodel'].submit(); return false;">Edit</a>
    <br>
    <a href="#" onclick="document.forms['selectmodel']['selectmodel:_id3'].value='selectmodel:_id3';document.forms['selectmodel']['ID'].value='5'; document.forms['selectmodel'].submit(); return false;">Edit</a>
    <input type="hidden" name="com.sun.faces.VIEW" value=" <--removed! --> " />
    <input type="hidden" name="selectmodel" value="selectmodel" /><input type="hidden" name="selectmodel:_id3" /><input type="hidden" name="selectmodel:_id0" /><input type="hidden" name="ID" /></form>

  • Javascript error on function call MVThemeBasedFOI

    I am getting a javascript error Error(36,55):  This attribute is not recognized. in the below code line highlighted in bold, what is going wrong. I am using JDeveloper and Mapviewer 11g. Please suggest
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:trh="http://myfaces.apache.org/trinidad/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces"
    xmlns:tr="http://myfaces.apache.org/trinidad">
    <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
    doctype-system="http://www.w3.org/TR/html4/loose.dtd"
    doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <trh:html>
    <trh:head title="map">
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <trh:script source="/jslib/oraclemaps.js"></trh:script>
    <trh:script text='
    var baseURL = "http://"+document.location.host+"/mapviewer";
    var mapCenterLon = 145.07;
    var mapCenterLat = -37.57;
    var mapZoom = 1;
    function showMap() {
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addMapTileLayer(new MVMapTileLayer("gis_data.AV_VICMAP"));
    mapview.setCenter(MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,4283));
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("WEST");
    addThemeBasedFOI();
    mapview.display();
    function addThemeBasedFOI() {
    var themebasedfoi1 = new MVThemeBasedFOI('themebasedfoi1','gis_data.geom_avl_rural_lastknown'); mapview.addThemeBasedFOI(themebasedfoi1);
    }'></trh:script>
    </trh:head>
    <trh:body onload="javascript:showMap()">
    <h:form>
    <tr:panelPage>
    <f:facet name="navigation1"/>
    <f:facet name="navigationGlobal"/>
    <f:facet name="branding">
    <tr:outputText value="Oracle Maps"/>
    </f:facet>
    <!--TODO: Migrator from ADF Faces 10.1.3 to Trinidad removed the following node and its contents since it does not exist in Trinidad anymore
    <f:facet name="brandingApp" />
    -->
    <f:facet name="appCopyright"/>
    <f:facet name="appPrivacy"/>
    <f:facet name="appAbout"/>
    <f:verbatim>
    <div id="map"
    style="width:800.0px; height:600.0px; background-color:rgb(255,255,255); border-width:thin; border-color:rgb(99,99,255); border-style:solid;"/>
    </f:verbatim>
    </tr:panelPage>
    </h:form>
    </trh:body>
    </trh:html>
    </f:view>
    </jsp:root>
    Thanks

    Try use another name of FOI. Not the same as FOI var

  • Javascript error with JSF and TOMAHAWK

    I've got two selectOneMenu in my page and I would like to change the selected item of the second selectOneMenu when an item is selected in the first selectOneMenu.
    I tried to implement a solution using Tomahawk. The idea is to generate a click event on a hidden link when an item is selected like explained here:
    http://wiki.apache.org/myfaces/JavascriptWithJavaServerFaces
    When I click on the selectOneMenu, I always have following javascript error : object expected.
    Here is my page:
    <%@ page language="java" pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
         <f:view>
              <head>
              </head>
              <body>
                   <h:form id="Monitoring">
                   <SCRIPT language="JavaScript" type="text/javascript">
                   function clickLink(linkId)
                        var fireOnThis = document.getElementById(linkId)
                        alert('le champ a pour valeur : '+linkId)
                        alert('le obj a pour valeur : '+fireOnThis.value)
                        if (document.createEvent)
                        var evObj = document.createEvent('MouseEvents')
                        evObj.initEvent( 'click', true, false )
                        fireOnThis.dispatchEvent(evObj)
                        else if (document.createEventObject)
                        fireOnThis.fireEvent('onclick')
                   </SCRIPT>
                   <t:commandLink id="hiddenLink" forceId="true" style="display:none; visibility:hidden;" action="#{TotoBean.selectModule}"/>
                        <h:selectOneMenu id="modulefilter" value="#{TototBean.moduleId}" rendered="true" onchange="clickLink('hiddenLink');" >
              <f:selectItems value="#{TototBean.moduleList}" />
              </h:selectOneMenu>      
                        <h:selectOneMenu id="servicefilter" value="#{TototBean.serviceId}" rendered="true" onchange="clickLink('hiddenLink');" >
              <f:selectItems value="#{TototBean.serviceList}" />
              </h:selectOneMenu>      
                   </h:form>
              </body>
         </f:view>
    </html>
    and my bean:
    package com.toto.monitoring.bean;
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import javax.faces.model.SelectItem;
    public final class TototBean extends Object {
         private ArrayList<SelectItem> moduleList;
         private ArrayList<SelectItem> serviceList;
         private String          moduleId;
         private String          serviceId;
         public TototBean() {
              super();
              // TODO Auto-generated constructor stub
              this.moduleList           = new ArrayList<SelectItem>();
              this.serviceList           = new ArrayList<SelectItem>();
              initModuleList();
              initServiceList();
         public String selectModule() {
              System.out.println("change");
              setServiceId("All Services");
              return(null);
         final List initModuleList() {
              System.out.println("init module list");
              moduleList = new ArrayList<SelectItem>();
              moduleList.add(new SelectItem("All Modules", "All Modules"));
              moduleList.add(new SelectItem("Module 1", "Module 1"));
              moduleList.add(new SelectItem("Module 2", "Module 2"));
              return moduleList;
         public List getModuleList() {
              System.out.println("get module list");
              return moduleList;
         public String getModuleId() {
              System.out.println("get module ID");
              return moduleId;
         public void setModuleId(String id) {
              System.out.println("set module ID");
              moduleId = id;
         final List initServiceList() {
              System.out.println("init service list");
              serviceList = new ArrayList<SelectItem>();
              serviceList.add(new SelectItem("All Services", "All Services"));
              serviceList.add(new SelectItem("Service 1", "Service 1"));
              serviceList.add(new SelectItem("Service 2", "Service 2"));
              return serviceList;
         public List getServiceList() {
              System.out.println("get service list");
              return serviceList;
         public String getServiceId() {
              System.out.println("get service ID");
              return serviceId;
         public void setServiceId(String id) {
              System.out.println("set service ID");
              serviceId = id;
    Any idea ?
    Thanks for your help.

    The hiddenLink has no value. Does it really need one as it is just used to submit the form ?

  • Getting javascript error while selecting the Recipients in OBIEE delivers.

    Hi All,
    I am working on OBIEE from quite a long time, but recently I came across a error while selecting the Recipients in Recipients list of OBIEE delivers.
    Making it more comprehensive, when I try to create an ibot , after entering all necessary information when I select Recipients in Recipients list and click on ok. I get a JavaScript error "null" is null or an object. The surprising thing is when i select cancel it works as ok.
    Any help will be highly appreciated
    Thanks,
    Jyoti
    Message was edited by:
    user616430

    I think you dont have a field named /BIC/XXXXXX in the table from which you are trying to fetch the data. Chech the spelling of the field name and table name.

  • Javascript error calling a bi 7.0 webapplication from a bsp application

    Hi everyone,
    This is the scenario we're facing a javascript error :
    Enterprise Portal is calling a custom bsp application ( via an iview in the enterprise portal ) in the bi system with a parameter "template_id" and a value, which is the technical name of a bi web application.
    The bsp application is evaluating the parameter by some custom code and creating a html page with a redirect or a maintenance message to the bi web application passed with the parameter "template_id".
    The html link to the bi web application is created according to this documentation :
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/46/03d4ac801467e6e10000000a1553f6/content.htm
    Purpose of the bsp application :
    in the bi system there is a database table to maintain a flag for each webtemplate and infocube, which should not be called via the enterprise portal for a certain time ( some kind of maintenance switch ). The bsp application then decides to show a maintenance page for the called webtemplate or to send the redirect page to the client.
    The process described above is :
    working with the bi 7.01 sp7 in the bi ( enterprise portal sp22 ) in the productive system.
    working in the Q&A system bi 7.01 sp8 with bi 3.5 web applications.
    not working in the Q&A system bi 7.01 sp8 with bi 7.0 web applications.
    The javascript error calling bi 7.0 web applications is :
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET4.0C; .NET4.0E)
    Timestamp: Mon, 6 Jun 2011 09:11:04 UTC
    Message: Object doesn't support this property or method
    Line: 96
    Char: 11
    Code: 0
    URI: https://mlptb1.mlp-ag.com:58001/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=B_221_002_KUNDEN_POSTEN_AD
    We've opened a message. Support center is saying that this method isn't supported by sap. We should ommit the bsp application and the used functionality.
    Is there any way to find out, what is causing this object is missing ?
    Is there another way than a bsp application to use this custom maintenance function in the described system setup ?
    system components :
    production system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 7
    q&a system
    SAP NetWeaver 7.0 Portal SP22
    SAP BI 7.01 SP 8
    Kind regards.
    Dirk

    Hello everyone,
    we did some further analysis on this problem und we think we found the problem.
    The error occurs while trying to execute the standard url for web templates inside a Enterprise Portal Frame, for example
    https://XXX:XXX/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.sap.pct!2fplatform_add_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.bex?TEMPLATE=XXX
    While executing the URL a HTML-Page with some embeded Javascript-code is sent back to the browser.
    In this Javascrip-Code, the method-call "dsmObj.registerAll" leads to a script error in Internet Explorer.
    dsmObj.registerAll("pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.ip.bi/iViews/com.sap.ip.bi.bex", "GUSID:6FC9SuhGDPIMMLwOdeHEIg--_7WQud13yeLJDz2kYoQFSg--", "1307605928212");
    In SP7, the method "dsmObj.registerFullKey" is called instead of "dsmObj.registerAll". This has changed in SP8.
    dsmObj.registerFullKey("GUSID:iBPvyska9*xE_JBalkQG2g--YyKv2C3NToP0I79Mw7EO8w--", "1307606479963");
    The object "dsmObj" seems to reference the parent frame of the Enterprise Portal.
    Has anyone seen this before? Any ideas how we can fix this?
    Kind regards,
    Matthias
    Edited by: Matthias Keller on Jun 9, 2011 2:07 PM

  • Dreamweaver 6 launch error - JavaScript error bcinit

    Hi
    I have DW6 latest version running on Win XP SP3 and am all of a sudden getting the strangest bug (I have reported it), but I am wondering if anyone else has seen it or has any ideas how to fix it?
    FYI I have already tried completely uninstalling Creative Cloud, rebooting, running the Creative Clean utility to remove all traces of any suite and then reinstalling Creative Cloud (takes hours ) and still have the same problem which is as follows below (FWIW I have never used BusinessCatalyst, either):
    I launch DW and get the following error message "While executing onLoad in BusinessCatalyst.htm, the following JavaScript error(s) occurred: In file "BusinessCatalyst": bcinit is not defined"
    When I try to open a file I get the following error message "The following translators were no loaded due to errors: ASP.NET: has configuration information that is invalid. BCDynamicTranslator.html: has configuration data that is invalid. BCStaticTranslator.html has configuration information that is invalid. XSLTransform.htm: has configuration data that is invalid"
    Once I clear the dialog DW loads. However, when I attempt to save a file I then get the message "While executing onLoad in _beforeSave.htm, the following JavaScript error(s) occurred: In file "_beforeSave": beforeSave is not defined"
    In addition, the space in the Help menu for Updates is simply blank and there is no Edit > Paste item either (just an empty space).
    One other clue is that after I reinstalled Creative Cloud and BEFORE I applied the latest updates it seemed DW ran OK (it was a quick check, so I might be wrong).
    The problems above are rendering DW unuseable to me at the moment, and it is totally bizarre they remain after a complete reinstall, so any clues on what has happened/how to fix it would be greatfully received!
    Thanks!

    Hi John
    So many thanks for that. I tried step 4 and deleted 2 WinFileCache files (neither of which were called what they said they were) and restarted DW and it now (so far!) seems to work again.
    I have no idea what went wrong, but I am up and running again, so MUCHOS thanks again for your swift repsonse!
    atb

  • Dreamweaver 6.1 - JavaScript error when switching between open tabs

    When switching between open tabs a sequence of javascript
    errors occurs. I had not used Dreamweaver for about 2 weeks, and
    last time I used it with no problems.
    I have tried uninstalling it, OKing removal of all files when
    asked, re-installing it and updating with dwmx61_updater.exe, but I
    still get the same errors.
    This has rendered the software virtually unuseable, so any
    help would be greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Forward enabled in toolbars.xml, a
    JavaScript error occurred"
    followed by
    "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error occurred"
    The relevant code seems to be :
    <!-- Browser nav toolbar -->
    <toolbar id="Browser_Toolbar" platform="win"
    label="Browser Navigation" container="document"
    initiallyVisible="false">
    <button id="Browse_Back"
    image="Toolbars/images/MM/back.gif"
    disabledImage="Toolbars/images/MM/back_dis.gif"
    tooltip="Back"
    label="Back"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    command="dw.getDocumentDOM().browser.backPage()"
    update="onEveryIdle"/>
    <button id="Browse_Forward"
    image="Toolbars/images/MM/forward.gif"
    disabledImage="Toolbars/images/MM/forward_dis.gif"
    tooltip="Forward"
    label="Forward"
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    command="dw.getDocumentDOM().browser.forwardPage()"
    update="onEveryIdle"/>
    <button id="Browse_Stop"
    image="Toolbars/images/MM/stop.gif"
    disabledImage="Toolbars/images/MM/stop_dis.gif"
    tooltip="Stop"
    label="Stop"
    enabled="dw.getDocumentDOM().browser.getPageBusy()"
    command="dw.getDocumentDOM().browser.stopPage()"
    update="onBrowserPageBusyChange"/>
    <button id="Browse_Refresh"
    image="Toolbars/images/MM/browserRefresh.gif"
    tooltip="Refresh"
    label="Refresh"
    enabled="true"
    command="dw.getDocumentDOM().browser.refreshPage()"/>
    presumably the next error is caused by the previous ones
    failing :
    "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error occurred"
    the relevan tcode :
    function getCurrentValue()
    var dom = dw.getDocumentDOM();
    var value = dom.browser.getURL();
    if (value && value.length)
    //check if is it not a temp file
    //extract the tail of the url
    var filename = value;
    var slashIndex = filename.lastIndexOf("/");
    filename = filename.substring(slashIndex+1);
    var tempIndex = filename.indexOf("TMP");
    if (tempIndex != 0)
    addRecentAddress(value);
    return value;

    You can try this simple fix -
    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)
    and delete it.
    Restart DW. Works better?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "earthdoctor" <[email protected]> wrote in
    message
    news:[email protected]...
    > When switching between open tabs a sequence of
    javascript errors occurs. I
    > had
    > not used Dreamweaver for about 2 weeks, and last time I
    used it with no
    > problems.
    >
    > I have tried uninstalling it, OKing removal of all files
    when asked,
    > re-installing it and updating with dwmx61_updater.exe,
    but I still get the
    > same
    > errors.
    >
    > This has rendered the software virtually unuseable, so
    any help would be
    > greatly appreciated, as I'm working to a
    rapidly-approaching deadline.
    >
    >
    > "While executing Browse_Back enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    > followed by
    > "While executing Browse_Forward enabled in toolbars.xml,
    a JavaScript
    > error
    > occurred"
    > followed by
    > "While executing Browse_Stop enabled in toolbars.xml, a
    JavaScript error
    > occurred"
    >
    > The relevant code seems to be :
    >
    > <!-- Browser nav toolbar -->
    >
    > <toolbar id="Browser_Toolbar" platform="win"
    label="Browser
    > Navigation"
    > container="document" initiallyVisible="false">
    >
    > <button id="Browse_Back"
    > image="Toolbars/images/MM/back.gif"
    > disabledImage="Toolbars/images/MM/back_dis.gif"
    > tooltip="Back"
    > label="Back"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('back')"
    > command="dw.getDocumentDOM().browser.backPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Forward"
    > image="Toolbars/images/MM/forward.gif"
    > disabledImage="Toolbars/images/MM/forward_dis.gif"
    > tooltip="Forward"
    > label="Forward"
    >
    enabled="dw.getDocumentDOM().browser.isCmdEnabled('forward')"
    > command="dw.getDocumentDOM().browser.forwardPage()"
    > update="onEveryIdle"/>
    >
    > <button id="Browse_Stop"
    > image="Toolbars/images/MM/stop.gif"
    > disabledImage="Toolbars/images/MM/stop_dis.gif"
    > tooltip="Stop"
    > label="Stop"
    > enabled="dw.getDocumentDOM().browser.getPageBusy()"
    > command="dw.getDocumentDOM().browser.stopPage()"
    > update="onBrowserPageBusyChange"/>
    >
    > <button id="Browse_Refresh"
    > image="Toolbars/images/MM/browserRefresh.gif"
    > tooltip="Refresh"
    > label="Refresh"
    > enabled="true"
    > command="dw.getDocumentDOM().browser.refreshPage()"/>
    >
    >
    >
    > presumably the next error is caused by the previous ones
    failing :
    >
    > "While executing getCurrentValue in AddressURL.htm, a
    JavaScript error
    > occurred"
    > the relevan tcode :
    >
    >
    > function getCurrentValue()
    > {
    > var dom = dw.getDocumentDOM();
    > var value = dom.browser.getURL();
    > if (value && value.length)
    > {
    > //check if is it not a temp file
    > //extract the tail of the url
    > var filename = value;
    > var slashIndex = filename.lastIndexOf("/");
    > filename = filename.substring(slashIndex+1);
    > var tempIndex = filename.indexOf("TMP");
    > if (tempIndex != 0)
    > {
    > addRecentAddress(value);
    > }
    > }
    > return value;
    > }
    >
    >

  • On my iPad 2 I can nolonger view maps.  It says there are JavaScript errors.  How can I fix this problem?

    On my iPad 2 I can nolonger view maps.  It says there are JavaScript errors.  How can I fix this problem?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."

  • Report Viewer Javascript error

    I have a good report that works great if I export to pdf.
    objdoc.ExportToDisk (ExportFormatType.PortableDocFormat, "c: \ \ testreport.pdf");
    When I load the CrystalReportViewer
    CrystalReportViewer1.ReportSource = objdoc;
    returns a javascript error:
    TreeWidget_getHTML JScript
    file:
    allinOne.js
    this instruction:
    to for (var D in E) {B [C + +] = E [D]. getHTML (F.initialIndent, D == 0)
    because b[c++] is undefined for some values ...
    The only problem I have when I load the report in the ReportViewer.
    The old crystalreportviewer 10.0.53 works on VS2008 now i like import this aspx on VS2010 but i have this problem.

    Is there any resolution for the above issue?
    I have the similar problem.
    To reproduce the error just add a reference to a js script file in the page head:
    <script src="/Scripts/ClassExtentions.js" type="text/jscript"></script>
    where the Array prototype has an extension like: "Array.prototype.testing = true;"
    on loading the page an error occurs in treeview.js TreeWidget_getHTML() function:
    ..sub[i].getHTML < is undefined (Object doesn't support this property or method) = no getHTML function.
    Verifying function (prototype property) availability is missing from other code parts as the next error is in palette.js PaletteWidget_init function:
    ..item.init() < is undefined = no init function for the runtime object, item..
    tryed this fix (works fine):
    treeview.js line 711
         for (var i in sub)
           if (sub[i].getHTML) a[j++]=sub[i].getHTML(o.initialIndent,i==0)
    best regards, Zsolt

Maybe you are looking for

  • How do I get flash to work on safari os 10.8

    Flash will not run on iMac with os 10.8 Works and all others. Plug in missing. Will not work after new instal

  • T440P [20AN] - Lync 2013 Crashing When Sharing Desktop - Intel Driver

    Hello, After updating to the latest video drivers from the ThinkVantage Update Retriever, our Lync clients crash when sharing desktop on our T440P series and X240 series.  I noticed when I uninstall the video driver I am able to screen share without

  • Org.apache.jasper.JasperException - Help please!!!

    Hello i have a problem. I have a class WEB-INF/classes/file/PqSpIn.class and I have compiled it with javac. But I have this error and the header of the file linda.jsp is like this <jsp:useBean id="abc" scope="application" class="linda.PqSpIn"/> so, i

  • How to force Work Item Query Policy to refresh its cached query results?

    I have enabled the Work Item Query Policy on my TFS project.  It works as expected, except when using Visual Studio 2013 with the following sequence of steps: User selects Check in Pending Changes from the Source Control Explorer User enters in the I

  • Conflicts on a single table

    I am having a conflict issue on just one table out of 37 table articles The database is for Food recipes I have 3 users making changes, they each have their own menus so they should not work on anyone else's dishes [tblRecipe] but they do need to be