Error Javascript ADF in MS IE 8.0.6001.18702 v

Hello
I use v11.1.2.0.0 jdeveloper. I have a connection with the language page, user name, the password fields. Language is af:selectonechoice and use the ppr for re - view the page on the evolution of language. It works well with chrome and FireFox 4. But when I open the page in Internet Explorer (8.0.6001.18702), is to show the following javascript error, and I can not yet present connection details (even if I'm not changing language). The error is,


User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; NET CLR 2.0.50727)
Timestamp: Thu, February 23, 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 below, code
<?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 information
<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 appreciated...

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

Tags: Java

Similar Questions

  • &lt; error &gt; &lt; oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort &gt; &lt; ADFC-64010 &gt;

    Hello

    We are seeing the error below and failed to find any documentation on this. Suggestions to go beyond this issue?

    (Build JDEVADF_11.1.1.7.2ADF - FAREL8 - BP_GENERIC_131030.1412.6661.3)

    < sept 17, 2014 3:41:54 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/workingUnit.jsff' references flow bind "Report1171410990113532" more than once, which is not taken in charge of responsibilities.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru13pc2 j_id__ctru15:0:j_id__ctru9pc2". >

    < sept 17, 2014 3:41:54 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportMain.jsff' references task flow binding "dynamicRegion4" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru9pc2:0:rptf_rm_0_region4 j_id__ctru15:0:j_id__ctru13pc2:0:rptf_rm_0_region4". >

    < sept 17, 2014 3:41:54 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportMain.jsff' references task flow binding "dynamicRegion3" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru13pc2:0:r3 j_id__ctru15:0:j_id__ctru9pc2:0:r3". >

    < sept 17, 2014 3:41:54 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportMain.jsff' references task flow binding "dynamicRegion5" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru9pc2:0:rptf_rm_0_region1 j_id__ctru15:0:j_id__ctru13pc2:0:rptf_rm_0_region1". >

    < sept 17, 2014 3:41:54 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportNode.jsff' references task flow binding "dynamicRegion5" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru9pc2:0:rptf_rm_0_region1:0:r2Page j_id__ctru15:0:j_id__ctru13pc2:0:rptf_rm_0_region1:0:r2Page". >

    < sept 17, 2014 3:41:54 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportNode.jsff' references task flow binding "dynamicRegion6" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru13pc2:0:rptf_rm_0_region1:0:rptf_rn_2_r3Page j_id__ctru15:0:j_id__ctru9pc2:0:rptf_rm_0_region1:0:rptf_rn_2_r3Page". >

    < sept 17, 2014 3:41:54 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportNode.jsff' references task flow binding "dynamicRegion4" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru13pc2:0:rptf_rm_0_region1:0:r1Page j_id__ctru15:0:j_id__ctru9pc2:0:rptf_rm_0_region1:0:r1Page". >

    < sept 17, 2014 3:41:55 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportNode.jsff' references task flow binding "dynamicRegion2" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru13pc2:0:rptf_rm_0_region1:0:r2 j_id__ctru15:0:j_id__ctru9pc2:0:rptf_rm_0_region1:0:r2". >

    < sept 17, 2014 3:41:55 PM MDT > < error > < oracle.adf.controller.internal.binding.TaskFlowRegionModelViewPort > < ADFC-64010 > < ADFc: Page ' / oracle/rnow/firebolt/pages/report/reportNode.jsff' references task flow binding "dynamicRegion3" more than once, which only is not supported.  The ID of the affected components are: "j_id__ctru15:0:j_id__ctru13pc2:0:rptf_rm_0_region1:0:rptf_rn_2_r3 j_id__ctru15:0:j_id__ctru9pc2:0:rptf_rm_0_region1:0:rptf_rn_2_r3". >

    Thank you

    R

    The error message to tell you that the page fragments ' done /oracle/rnow/firebolt/pages/workingUnit.jsff refers to a report or a report generator several times. This is not supported in your version. A workflow can only be listed once on a page.

    You see the IDS of components that you should also see if you are using firebug. In the paper, it seems that you iterate some components which in turn the other reference work stream.

    Timo

  • How to build the project with library error in adf adf

    Hello

    IM using jdev 11.1.2.3

    in my project I module 2 so we need to build the project with adf dependency libraries...

    Two copies of the way to build the project with trial and error in adf adf

    Timo

  • Error JavaScript prevents the table of contents, Index, search view

    I produced my RoboHelp HTML project webhelp and got an error javascript (this.maCom [...] (' is null or not an object) when you view the result. See the full error text below. So the table of contents, index and search are not displayed. We'll find the javascript error in the status bar of the browser that says "error on page". I found that if I saw the result of robohelp, the browser that launched shows the table of contents, index and search, but has a security warning about a restriction of running scripts or ActiveX controls. However, when I move the generated webhelp on my production server, the help doesn't have the security warning, but produces the error so that the table of contents, index and search do not show. I had done the same process to generate webhelp about 8 months ago but had no error whatsoever. In fact, this version is still in production and works very well.

    In my search for the problem, I found that it is the same error as message of the forum 4063663 (http://forums.adobe.com/message/4063663). I didn't have a second system with RoboHelp to be able to get other whphost.js, however, I have diff had the file generated with that found in template_stock and found only two different lines. These differences were only to replace a couple of variables with static text so I do not replace this file will solve any problem for me. That is the message of only forum I could find who addressed this issue.

    I was originally on RoboHelp 8.0.0 when I first encountered the problem, but has expanded and patched to version 8.0.2 and still had the same problem. I even created a new simple project. Once I moved the simple project on the production server, it also would display the table of contents, index and search.

    The strange thing is that only 8 months ago, I used the same process to generate webhelp without any errors (on 8.0.0). The only thing I can find is there is a Windows XP patch which affected the generation of webhelp. Furthermore, I also tried chrome and also produces the error.

    I don't know what is causing this problem or how to solve the problem. Anyone have any ideas?

    Versions:
    RoboHelp 8.0.2
    Windows XP
    IE 8.0.6001.18702CO
    Chrome 18.0.1025.168 m


    JavaScript error
    -------------------------
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0 .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;. MS - RTC LM 8; InfoPath.2;. NET4.0C;. NET4.0E)
    Timestamp: Sun, may 2, 2012 16:32 UTC


    Message: Object EXPECTED
    Online: 344
    Char: 2
    Code: 0
    URI: http://server1/robohelp/whphost.js


    Message: 'this.maCom...' is null or not an object
    Online: 171
    Char: 3
    Code: 0
    URI: http://server1/robohelp/whphost.js
    --------------------------

    After further research and testing, I found the update of security for RoboHelp 8 and 9 (http://www.adobe.com/support/security/bulletins/apsb11-23.html) posted as an ad that I had not seen before. I used the feature updates of the product, but that said I was informed and did not include this update.

    Both javascript in this update files solve the problem. The table of contents, index and search now appear.

    Update:
    As I studied the problem further (when writing this reply), I found files that are newer than the latest security patches, I was aware of that. In addition, I discovered that my security organization decided to patch with APSB12-04 I don't know. This patch is why my 8.0.0 installation magically stop working. I see the announcement of the security, the bulletin was not all the required components for specific, that the patch can be applied to 8.0.1 and 8.0.2). (8.0.0, Adobe, please give more information on the ballots of so that organizations that deploy auto will be forced to find out what is running before the update. Information such as whether they apply to all versions of Robohelp 8 or simply a specific version. If APSB12-04 was supposed to apply to all versions of 8, then it did not work. In fact, he broke my installation of 8.0.0 for the generation of webhelp, but a later installation of 8.0.1 and 8.0.2. It seems that they have done a better job for APSB11-23. Maybe the security updates should be a kind of service pack that has a plant and a cancellation process. Right now, my security organization has replaced the files based on the specification in the security bulletin.

    I'll try to patch with APSB12-04 new since I've updated version 8.0.2 database to see if I still have the webhelp. If I can't view the table of contents, I have to take off once more and be 'in non-compliance."

  • Error Javascript on MAF 2.2

    Hello everyone, I'm updating MAF and I have error on my javascript function

    System.out: --------------------------------------------- GPS ACTIVO
    
    
    10-20 16:31:02.857 12180 12180 I System.out: Error in Success callbackId: CheckGPS1388321280 : ReferenceError: y is not defined
    
    
    10-20 16:31:02.857 12180 12180 I System.out: Uncaught ReferenceError: y is not defined
    
    

    This is my method:

    CheckGPS.check(function(){
            console.log("--------------------------------------------- GPS ACTIVO");
            var posicion;
            adf.mf.el.getValue("#{applicationScope.activarGps}",
            function(req, res) { posicion = res[0]['value'] },
            function() { alert("Failed"); });y 
            console.log("VALOR DE LA VARIABLE ACTIVAR GPS: "+posicion);
            if(posicion == "INACTIVO" || null == posicion){
    

    I hope your help

    Hello

    It's from your JS code

    function() {alert ("Failed") ;}) ; There

    See the 'y '?

    Frank

  • Runtime error javascript on the page of the amx

    Hello im trying to run the javascript function to get the position of the camera, but it doesn't work.

    <?xml version="1.0" encoding="UTF-8" ?>
    <amx:view xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:amx="http://xmlns.oracle.com/adf/mf/amx"
              xmlns:dvtm="http://xmlns.oracle.com/adf/mf/amx/dvt">
        <amx:panelPage id="pp1">
            <amx:verbatim id="v1">
                 <![CDATA[    
         <script>
          
        CheckGPS.check(function(){
            //GPS is enabled!
            alert("GPS ON");
            alert("POR LLAMAR EL CORDOVA");
                var options = {
                    maximumAge : 3000, timeout : 5000, enableHighAccuracy : true
                };
                watchID = navigator.geolocation.watchPosition(onSuccess, onError, options);
    
    
                function onSuccess(position) {
                    var latitud = position.coords.latitude;
                    var longitud = position.coords.longitude;
                    adf.mf.api.invokeMethod("ar.com.agridata.mobile.bean.GPSBean", "setCoordenadaLatitud", latitud, onInvokeSuccess, onFail);
                    adf.mf.api.invokeMethod("ar.com.agridata.mobile.bean.GPSBean", "setCoordenadaLongitud", longitud, onInvokeSuccess, onFail);
                    alert(latitud + " " + longitud);
                    if (watchID != null) {
                        navigator.geolocation.clearWatch(watchID);
                        watchID = null;
                    }
                };
    
    
                // onError Callback receives a PositionError object
                //
                function clearWatch() {
                    if (watchID != null) {
                        navigator.geolocation.clearWatch(watchID);
                        watchID = null;
                    }
                }
    
    
                // onError Callback receives a PositionError object
                //
                function onError(error) {
                    alert('code: ' + error.code + '\n' + 'message: ' + error.message + '\n');
                }
    
    
                navigator.geolocation.getCurrentPosition(onSuccess, onError);
        },
        function(){
            //GPS is disabled!
            alert("GPS OFF");
        });
          
         </script>
         ]]> 
            </amx:verbatim>
            <amx:facet name="header">
                <amx:outputText value="Header" id="ot1"/>
            </amx:facet>
            <amx:facet name="primary">
                <amx:commandButton id="cb1" action="__back"/>
            </amx:facet>
            <amx:facet name="secondary">
                <amx:commandButton actionListener="#{bindings.resetFeature.execute}" text="resetFeature"
                                   disabled="#{!bindings.resetFeature.enabled}" id="cb3"/>
            </amx:facet>
            <amx:panelGroupLayout id="pgl1" layout="horizontal" halign="center">
                <amx:image id="i1" source="/images/Logo_Final.png" inlineStyle="width:200px;"/>
            </amx:panelGroupLayout>
            <amx:panelGroupLayout id="pgl3" layout="horizontal" halign="center">
                <amx:outputText value="#{applicationScope.nombreEstab} - #{applicationScope.nombreLote} - #{applicationScope.nombreActiv}"
                                id="ot2"/>
            </amx:panelGroupLayout>
            <amx:spacer id="s1" height="10"/>
            <amx:panelGroupLayout id="pgl2">
                <amx:outputText value="Latitud. #{bindings.latitud1.inputValue}" id="ot7"/>
                <amx:outputText value="Longitud: #{bindings.longitud1.inputValue}" id="ot5"/>
            </amx:panelGroupLayout>
            <amx:listView styleClass="adfmf-listView-insetList" showMoreStrategy="autoScroll" bufferStrategy="viewport"
                          id="lv1">
                <amx:listItem id="li1" action="goPlagas">
                    <amx:tableLayout width="100%" id="tl1">
                        <amx:rowLayout id="rl1">
                            <amx:cellFormat width="60px" halign="center" rowSpan="1" id="cf2">
                                <amx:image source="/images/display-hdpi-icon.png" id="i3" inlineStyle="width:45px;"/>
                            </amx:cellFormat>
                            <amx:cellFormat width="100%" height="#{deviceScope.device.os=='Android'?'36':'32'}px" id="cf1">
                                <amx:outputText value="Plagas" id="ot3"/>
                            </amx:cellFormat>
                        </amx:rowLayout>
                    </amx:tableLayout>
                </amx:listItem>
                <amx:listItem action="goEnfermedades">
                    <amx:tableLayout width="100%" id="tl2">
                        <amx:rowLayout id="rl3">
                            <amx:cellFormat width="60px" halign="center" rowSpan="1" id="cf4">
                                <amx:image source="/images/display-hdpi-icon.png" id="i4" inlineStyle="width:45px;"/>
                            </amx:cellFormat>
                            <amx:cellFormat width="100%" height="#{deviceScope.device.os=='Android'?'36':'32'}px" id="cf5">
                                <amx:outputText value="Enfermedad" id="ot4"/>
                            </amx:cellFormat>
                        </amx:rowLayout>
                    </amx:tableLayout>
                </amx:listItem>
                <amx:listItem id="li4" action="goBeneficios">
                    <amx:tableLayout width="100%" id="tl4">
                        <amx:rowLayout id="rl7">
                            <amx:cellFormat width="60px" halign="center" rowSpan="1" id="cf10">
                                <amx:image source="/images/display-hdpi-icon.png" id="i6" inlineStyle="width:45px;"/>
                            </amx:cellFormat>
                            <amx:cellFormat width="100%" height="#{deviceScope.device.os=='Android'?'36':'32'}px" id="cf11">
                                <amx:outputText value="Beneficios" id="ot8"/>
                            </amx:cellFormat>
                        </amx:rowLayout>
                    </amx:tableLayout>
                </amx:listItem>
                <amx:listItem id="li3" action="goMalezas">
                    <amx:tableLayout width="100%" id="tl3">
                        <amx:rowLayout id="rl5">
                            <amx:cellFormat width="60px" halign="center" rowSpan="1" id="cf7">
                                <amx:image source="/images/display-hdpi-icon.png" id="i5" inlineStyle="width:45px;"/>
                            </amx:cellFormat>
                            <amx:cellFormat width="100%" height="#{deviceScope.device.os=='Android'?'36':'32'}px" id="cf8">
                                <amx:outputText value="Otros Daños" id="ot6"/>
                            </amx:cellFormat>
                        </amx:rowLayout>
                    </amx:tableLayout>
                </amx:listItem>
            </amx:listView>
        </amx:panelPage>
    </amx:view>
    

    do not directly perform the function onSuccess (position)

    I hope your help

    I realized that I was wrong code to save data in the variable. now it works perfectly. Xavier Ribas Thanks for your help

    adf.mf.el.setValue ({"name": "#{bindings.latitud1.inputValue}", "value": latitud}, onInvokeSuccess, onFail);

    adf.mf.el.setValue ({"name": "#{bindings.longitud1.inputValue}", "value": longitud}, onInvokeSuccess, onFail);

  • Each time you start Firefox, I have error error [JavaScript Application]: is null. What is this error?

    Each time you start Firefox, I received a message:

    [JavaScript] error: is null

    Maybe it's because I installed a few modules (including Greasemonkey scripts) or because of Java?
    I disabled modules (most of the tem), but nothing helped.

    Right, the problem has been one of the installed extensions.
    Problem solved!

  • When I run Firefox I get this error: [JavaScript Application] Exc in ev handl: TypeError: this.oRoot.enable is not a function. How can I fix?

    This problem started all of a sudden, and I need to close the error message for the Firefox browser may start.

    I have the latest version of JavaScript.

    Please upgrade to the latest version of Mozilla Firefox.

  • Error: Javascript Application: what happened: [Exception... "Component returned error code: 0 x 80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.createUnique]" nsresult: "0 x 80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "

    When I double click on the Firefox icon, a box appears under the heading Application Javascript and inside is the error message as described above. The box offers only one option 'OK' and once I click that the program works well. I access email online and when I click on the button of respons or send a new email, the error message appears.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of your modules is causing your problem (switch to the DEFAULT theme: Tools > Modules > themes).

    See the extensions, themes and problems of hardware acceleration to resolve common troubleshooting Firefox problems and troubleshooting questions with plugins like Flash or Java to solve common Firefox problems

  • Caching of javascript ADF libraries

    Hey,.

    Currently we are cached our files css and js custom Apache (for X hours) level.

    We do this based on the path (which is < path > /style/ < other directories >) and it works fine.

    Now my question is can we do for specific js libraries 'internal' ADF (located in adf/jsLibs /) without breaking all the features?

    JDev 11.1.2.3.0 (which runs from 11.1.2.4.0 at the end of the year)

    Instead of ADF faces using myFaces

    You don't need to do anything, ADF implements cache internal javascript and CSS styles automatically during about a year.

  • Error JavaScript with Insert named anchors

    In the menu select Insert the named anchor, it gives me this error

    "When executing insertObject in Anchor.htm, a JavaScript error has occurred" and no longer works.

    Dreamweaver, ensured that I was running Java6 searched on line deleted the Cache file (MacFileCache - 41D6DDDA.dat). This has just begun. I'm under MacOSX ElCapitan 10.11.1 (updated). I use Dreamweaver CS6 (updated). Tested by creating the new html file.

    Well, since named anchors are deprecated in modern HTML code, you shouldn't use them more.

    Use unique IDS.

    #MyID">Link on the same page

    #MyID">A link to a different page

    ID = "MyID">

    some content comes here...

  • How to remove a line empty without validation error in ADF Table (EMP)

    Hello world

    I use the EMP Table in page jspx ADF to insert data into database.when, I insert a line in the table by createInsert operation, it the insertion of the line. But I need to remove that line immediately with enter them any value.

    But it displays a validation to empno error. Y at - it means to remove the empty line? If not, what are the reasons that we cannot remove the line.

    could someone tell me why!

    Thanks in advance!


    Kind regards
    Amar

    Published by: 973755 on December 11, 2012 06:42

    Amar,

    I'm a bit confused with your logic here...

    But if you try to delete the row by clicking the button Delete you can set the immediate property to true, this function of deletion will take place without performing any validation of the entity...

    R

  • Error page ADF - Hello world

    Hi friends,
    I create the Hello World page in ADF (11g). While run the page through a following error message.
    *** Using port 7101 ***
    "C:\Users\Rama Krishna\AppData\Roaming\JDeveloper\system11.1.1.3.37.56.60\DefaultDomain\bin\startWebLogic.cmd"
    [waiting for the server to complete its initialization...]
    .
    .
    JAVA Memory arguments: -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m
    .
    WLS Start Mode=Development
    .
    CLASSPATH=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\ext\jdbc\oracle\11g\ojdbc6dms.jar;D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\MIDDLE~1\JDK160~1\lib\tools.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic_sp.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.jar;D:\Oracle\MIDDLE~1\modules\features\weblogic.server.modules_10.3.3.0.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\webservices.jar;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1/lib/ant-all.jar;D:\Oracle\MIDDLE~1\modules\NETSFA~1.0_1/lib/ant-contrib.jar;D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\common\derby\lib\derbyclient.jar;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\xqrl.jar;%classpath%;.\
    .
    PATH=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\native;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\native;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\bin;D:\Oracle\MIDDLE~1\modules\ORGAPA~1.1\bin;D:\Oracle\MIDDLE~1\JDK160~1\jre\bin;D:\Oracle\MIDDLE~1\JDK160~1\bin;E:\oracle\product\10.2.0\db_1\bin;C:\orant\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;D:\Oracle\Middleware\jdk160_18\bin\javac;D:\Oracle\MIDDLE~1\WLSERV~1.3\server\native\win\32\oci920_8
    .
    ***************************************************
    *  To start WebLogic Server, use a username and   *
    *  password assigned to an admin-level user.  For *
    *  server administration, use the WebLogic Server *
    *  console at http:\\hostname:port\console        *
    ***************************************************
    starting weblogic with Java version:
    java version "1.6.0_18"
    Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
    Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode)
    Starting WLS with line:
    D:\Oracle\MIDDLE~1\JDK160~1\bin\java -client   -Xms256m -Xmx512m -XX:CompileThreshold=8000 -XX:PermSize=128m  -XX:MaxPermSize=512m -Dweblogic.Name=DefaultServer -Djava.security.policy=D:\Oracle\MIDDLE~1\WLSERV~1.3\server\lib\weblogic.policy -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks -Dweblogic.nodemanager.ServiceEnabled=true  -Xverify:none  -da -Dplatform.home=D:\Oracle\MIDDLE~1\WLSERV~1.3 -Dwls.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server -Dweblogic.home=D:\Oracle\MIDDLE~1\WLSERV~1.3\server  -Djps.app.credential.overwrite.allowed=true -Ddomain.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1 -Dcommon.components.home=D:\Oracle\MIDDLE~1\ORACLE~1 -Djrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Djrockit.optfile=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.jrf_11.1.1\jrocket_optfile.txt -Doracle.domain.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1 -Doracle.server.config.dir=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\servers\DefaultServer -Doracle.security.jps.config=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\fmwconfig\jps-config.xml -Djava.protocol.handler.pkgs=oracle.mds.net.protocol  -Digf.arisidbeans.carmlloc=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\carml  -Digf.arisidstack.home=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\config\FMWCON~1\arisidprovider -Dweblogic.alternateTypesDirectory=D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.ossoiap_11.1.1,D:\Oracle\MIDDLE~1\ORACLE~1\modules\oracle.oamprovider_11.1.1  -Dweblogic.jdbc.remoteEnabled=false -Dwsm.repository.path=C:\Users\RAMAKR~1\AppData\Roaming\JDEVEL~1\SYSTEM~1.60\DEFAUL~1\oracle\store\gmds  Xms512m -Xmx512m -Dweblogic.management.discover=true  -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=D:\Oracle\MIDDLE~1\patch_wls1033\profiles\default\sysext_manifest_classpath;D:\Oracle\MIDDLE~1\patch_jdev1111\profiles\default\sysext_manifest_classpath  weblogic.Server
    java.lang.NoClassDefFoundError: Xms512m
    Caused by: java.lang.ClassNotFoundException: Xms512m
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    Could not find the main class: Xms512m.  Program will exit.
    Exception in thread "main" Process exited.
    Create page simple Hello, why this error occurs.
    could u please solve my problem any body.
    Thank you and best regards
    Jocelyne.

    You have a configuration problem in one of the configuration files of jdev (jdev.boot or jdev.conf) or in your options for running your project.
    To check the project, open the project properties and select the Run/Debug/section "Profile", change the 'default' (or any other entry that you see) entry and look for the "Java Options".
    >
    ... Xms512m...
    >
    There is a '-' missing, so java assumes that you want to start this class.

    Timo

  • Indicators of code may not work until correct you error (javascript)...

    Hiya,

    I get a Dreamweaver CS4 javascript error message, even though I think that the script syntax is correct:

    < SCRIPT LANGUAGE = "JavaScript" = "MediaPlayer" event = "ScriptCommand (Type, Param)" >
    <!--
    var obj, s, sold;

    If (Type! = "Muffit")
    return;

    Return previous line change
    more code here...

    ->
    < /script >

    Error in Dreamweaver: 'there is an error in syntax (xxx) online. Indicators of code may not work until correct you this error.
    I tried the WinFileCache removal solution, but it was not I guess.

    I think it's because the "return" statement is not in a real function, delimited by braces (wish I had braces when I had my teeth fixed! )

    Any help is greatly appreciated!

    Muffit55

    I think it's because the "return" statement is not in a real function, delimited by braces

    The return keyword can be used only inside a function. That's why he reports a syntax error.

    If you believe that your syntax is correct and it works the way you expect in your target browsers, you can ignore the warning. But Dreamweaver is sticking to its guns and say "put it in a function or I won't do more than any code hinting or syntax checking.

    It has nothing to do with the WinFileCache-* .dat.

  • Get the message: error [JavaScript Application]: Document.getElementByld (...) is null

    Occurs usually when I open another tab. I have to click on the 'OK' button two or three times to close the error message.

    Hi george, which is probably a problem introduced by the your extensions. to verify that you could run firefox in safe mode once and see if the problem is reproducible here as well...

    Troubleshoot extensions, themes, and issues of hardware acceleration to resolve common problems of Firefox

Maybe you are looking for