"Type mismatch" error in IE7/8 when using custom Actions Menu Image

Hi all,
in APEX 4.2: when using a custom image in the "Actions Menu Image" attribute in an interactive report, I get a "Type mismatch" error in IE7/8 when refreshing the report through PPR (filtering, sorting, paginating etc.). When I leave the "Actions Menu Image" field empty, everything works fine. The error doesn't seem to happen in IE9 (unless using compatibility mode), or in any non-IE browser.
I've been able to reproduce the issue in an application on apex.oracle.com:
http://apex.oracle.com/pls/apex/f?p=69347:1
Some debugging seems to indicate that the following line in widget.interactiveReport.js is the culprit:
lTemp.parentNode.replaceChild($x('apexir_WORKSHEET'), lTemp);Does anybody know if this is a known issue, or if there is some workaround?
Thanks,
Tobias

Hi,
Great solution Paul! It cost me a while before I found out the Action Menu Image was causing my interactive reports to stop refreshing in IE10 and not other browsers. Your solution works great, I've implemented it with a few minor adjustments:
- Put the css in report template (for some reason it didn't work in our own application stylesheet)
- replace  'url("/c/action_dropdown.gif")' with 'url("&APP_IMAGE_PREFIX./<path_to_image>")'
- place one dynamic action on page 0: after refresh of '#apexir_DATA_PANEL' , set event scope to "Dynamic".
- Let the Dynamic action also fire on page load.
- To make sure the dynamic action only works for pages with an interactive report add condition of type 'Exists' with expression:
select 1
from   dual
where  :APP_PAGE_ID in (select page_id
                                        from   apex_application_page_ir
                                        where  application_id = :APP_ID
Best regards,
Vincent Deelen

Similar Messages

  • Paper mismatch error message on hp7500a when using eprint

    I have an HP7500A wide format printer
    When I send pictures from my phone to the printer via eprinter, I get a error message on printer 'Paper Mismatch'.
    Paper size or type incorrect.
    Yet when I check the settings it is set to A4, which is the paper I use.
    Could anyone explain what I need to do to rectify this problem ?
    This question was solved.
    View Solution.

    Hello Nashy58,
    The issue is in how ePrint works with the PhotoSmart printer line.  When you send a photo to the printer via ePrint, ePrint will print to the photo tray automatically.  Right now there is no way to change this.  To print a photo to plain paper via ePrint, you would have to put plain paper in the photo tray, which I would not recommend since it was not designed to handle that paper type.
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • Type Mismatch error while saving a BPC Report using eTools

    Hi,
    Iam getting a 'type mismatch' error when trying to save a BPC Excel  workbook using eTools>Save Dynamic Template >Company>eExcel. I am saving it as an .xlsx file.
    Can anyone please help out and let me know why I am getting this error.
    Thanks
    Arvind

    Hi,
    You need to save the file as .xls extension.

  • How to solve the "type mismatch" error in jCOM early binding program?

    I got a "type mismatch" error jCOM early binding program.
    I use the VB as the jCOM client to access the EJB deployed on WLS7. While using the
    object parameter like "java.lang.Integer" in EJB method call, I got that error message
    and my VB client had to be stopped?
    The same situation, the VB program work perfect when using the "int" as the parameter.
    And I try to instance the "myTLB.JavaLangInteger" in my VB program, but how ? The
    "New", "CreateObject" and "GetObject" all failure, I don't know what to do next ???

    Hi,
    This problem Could happen when you referesh quality or test system.
    Your delta setup for the related master and transaction data needs to be reinit.
    What happens is when you init. the delta and subsequent delta is all maintained in your source system
    please check Notes 852443,424848,834229
    Hope this helps
    Thanks
    Teja
    Message was edited by:
            Teja badugu

  • RowSet Column Type Mismatch Error

    Hi,
    I am using SOA 11g,
    JDeveloper 11.1.1.3.0
    BPEL, SOA 11g, DB2 Stored procedure,
    In a BPEL service I am getting this error while invoking a DB2 Stored procedure with Strong XSD.
    while running I am getting this error message. This error message while invoking DB2 stored procedure, both XSD are identical. Input to service & input to DB adapter.
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'dba' failed due to: RowSet Column Type Mismatch Error. The SQL type in the XSD (CHARACTER) does not match the SQL type in the RowSet (VARCHAR) for column LONGITEM of parameter RowSet. This procedure returns a RowSet which could in theory return any arbitrary result. However you chose at design time to generate a single strongly typed XSD describing this result set in all cases, based on a test execution of the stored procedure. This makes later XML transforms easier. You may have also edited the XSD directly. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    -CD

    Hi CD,
    maybe if your strong XSD contains db:type="CHAR", you could try to change it to "VARCHAR" instead.
    HTH,
    Steve

  • Type Mismatch error

    Hi,
    Iam getting a 'type mismatch' error when trying to save a BPC Excel Ecel workbook using eTools>Save Dynamic Template >Company>eExcel. I am saving it as an .xlsx file.
    Can anyone please help out and let me know why I am getting this error.
    Thanks
    Arvind

    Hi Arvind,
    You need to save the template as .xls file. This will work properly.

  • Type Mismatch Error with Window Class

    i have been trying in vain to recreate various examples that
    spawn popup windows. i have been certain to follow instructions
    carefully in each example (from both livedocs and the forums and
    other sites)...copying and pasting the code where applicable. yet,
    nothing works. everytime i am greeted with a Type Mismatch error
    when I compile. i have seen threads on discussion boards where a
    solution was posted that apparantly worked for everyone else...but
    not me. at this point, all i want to do is spawn a pop up window
    that i can control the content, title, size and placement with AS.
    i'm using flash 8 on windoze xp pro.

    actually, that is one of the threads i was referring to when
    i said that i found info from other locations that didnt work.
    but wait...theres more...
    after posting yesterday i discovered that the issue is
    related to my desktop for some weird reason. the following code
    works fine on my laptop but not on my desktop. both machines have
    the same OS...the same version and copy of Flash (from the same
    disc no less) and the same configuration. yet, the laptop produces
    the desired result while the desktop gives me a type mismatch error
    when i compile. i havent had time to look into it further...i
    simply finished development on the laptop and copied the final SWFs
    to the network. yet its still a bit troubling. here is the code...

  • SQL Insert Statement Data Type Mismatch Error

    I am doing a very simple web application that has a Microsoft Access database as the data source. I have been able to sucessfully create update and query statements using parameters but am having issues with an insert statement. I am using JSTL 1.1.2
    The following code creates the data type mismatch error.
    <sql:update
         sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
            <sql:param value='$(ID}'/>
         <sql:param value='${feature}'/>
            </sql:update>The table has NUMBER as the data type for both of these fields and the variables I am feeding into it are both numbers. If I hard code the first number into the sql statement then it works. I have tried swapping the variables around and as long as the first one is hard coded the parameter for the second one works no matter which is first or second.
    However I can get the following code to work, which of course leaves me vulnerable to sql injection attacks which is not really a good thing.
    <sql:update>
         insert into tblTtoF(TFToolID,TFFeatID) values('<c:out value="${ID}"/>','<c:out value="${feature}"/>')
            </sql:update>So I am just looking for any suggestions as to why my first piece of code doesn't work seeing as it is the simplest of SQL statements and the most standard syntax.
    Thanks

    I changed it to the following
         <c:set var="featurenew" value="${0 + feature}"/>
         <c:set var="IDnew" value="${0 + param.toolID}"/>
              <sql:update
              sql="insert into tblTtoF(TFToolID,TFFeatID) values(?,?)">
              <sql:param value='$(IDnew}'/>
              <sql:param value='${featurenew}'/>
              </sql:update>And got the following error in the localhost.log
    31/07/2006 09:31:41 org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.sql.SQLException: SQL Exception : [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1437)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1072)
         at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setObject(JdbcOdbcPreparedStatement.java:1063)
         at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.setParameters(UpdateTagSupport.java:254)
         at org.apache.taglibs.standard.tag.common.sql.UpdateTagSupport.doEndTag(UpdateTagSupport.java:156)
         at org.apache.jsp.dataUpdated_jsp._jspx_meth_sql_update_1(dataUpdated_jsp.java:975)
         at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_if_0(dataUpdated_jsp.java:879)
         at org.apache.jsp.dataUpdated_jsp._jspx_meth_c_forEach_0(dataUpdated_jsp.java:680)
         at org.apache.jsp.dataUpdated_jsp._jspService(dataUpdated_jsp.java:151)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:833)
         at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:639)
         at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1285)
         at java.lang.Thread.run(Thread.java:595)
    I have also tried the following in the past with no luck
    <fmt:parseNumber value="${ID}" type="number" var="IDnew"/>
    AND......
    <sql:query
       sql="select TFToolID from tblTtoF where TFToolID = ?"
       var="toolresults">
       <sql:param value="${ID}"/>
    </sql:query>
    <c:forEach var="getID" items="${toolresults.rows}">
         <c:set var="theID" value="${getID.TFToolID}"/>
    </c:forEach>
    AND when that didn't work, added this....
    <fmt:parseNumber value="${theID}" var="IDnew"/>

  • Type Mismatch error while calling a Java Function from Visual Basic 6.0...

    Hi,
    I'm having a problem in calling the Java Applet's Function from Visual Basic. First, I'm getting the handle of the Java Applet and components of it using "Document.Applets(n)" which is a HTML function. I'm calling this function from Visual Basic. My code is something like this...
    ' // Web1 is IE Browser in my Form.
    Dim Ap,Comp
    Dim Bol as Boolean
    Bol = true
    Ap = Web1.Document.Applets(0).getWindow() ' \\ Gets the Parent Window.
    Ap.setTitle("My Java Applet") ' \\ Sets the Title of the window.
    msgbox Ap.getVisibility() ' \\ This will return a Java boolean ( true or false )
    Ap.setVisibility(Bol) ' \\ Function Syntax is : void setVisibility(boolean b)
    Here in my code , i'm able to call any function that which accepts Integer or String but not boolean. So, i m facing problem with Ap.setVisibility() function. It gives me a "Type mismatch error" while executing it. Can you please tell me a way to do this from Visual Basic !
    I'm using Visual Basic 6.0, Windows 2000 , J2SDK 1.4.2_05.
    Please help me Friends.
    Thanks and Regards,
    Srinivas Annam.

    Hi
    I am not sure about this solution. try this
    Declare a variable as variant and store the boolean value in that variable and then use in ur method.
    Post ur reply in this forum.
    bye for now
    sat

  • Getting Type Mismatch Error while passing Array of Interfaces from C#(VSTO) to VBA through IDispatch interface

    Hi,
    I am facing issues like Type Mismatch while passing Array of interfaces from .NET  to VBA and vice versa using VSTO technology.
    My requirement is that ComInterfaceType needs to be InterfaceIsIDispatch.
    My Interface definition is somewhat like this
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("AAF48FBC-52B6-4179-A8D2-944D7FBF264E")]
        public interface IInterface1
            [DispId(0)]
            IInterface2[] GetObj();
            [DispId(1)]
            void SetObj(ref IInterface2[] obj);
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("CDC06E1D-FE8C-477E-97F1-604B73EF868F")]
        public interface IInterface2
    IF i am passing array of above interface (created in C#.Net) to VBA using GetObj API,i am getting type mismatch error in VBA while assigning the value to variable in VBA.Even assigning to variant type variable gives TypeMismatch.
    Also while passing Array of interfaces from VBA using SetObj API,excel crashes and sometimes it says method doesn't exists.
    Kindly provide some assistance regarding the same.
    Thanks

    Hi,
    I am facing issues like Type Mismatch while passing Array of interfaces from .NET  to VBA and vice versa using VSTO technology.
    My requirement is that ComInterfaceType needs to be InterfaceIsIDispatch.
    My Interface definition is somewhat like this
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("AAF48FBC-52B6-4179-A8D2-944D7FBF264E")]
        public interface IInterface1
            [DispId(0)]
            IInterface2[] GetObj();
            [DispId(1)]
            void SetObj(ref IInterface2[] obj);
        [ComVisible(true)]
        [InterfaceType(ComInterfaceType.InterfaceIsIDispatch)]
        [Guid("CDC06E1D-FE8C-477E-97F1-604B73EF868F")]
        public interface IInterface2
    IF i am passing array of above interface (created in C#.Net) to VBA using GetObj API,i am getting type mismatch error in VBA while assigning the value to variable in VBA.Even assigning to variant type variable gives TypeMismatch.
    Also while passing Array of interfaces from VBA using SetObj API,excel crashes and sometimes it says method doesn't exists.
    Kindly provide some assistance regarding the same.
    Thanks

  • Type mismatch error on my web page

    I have a web page which calling the Javascript function like below:
    function initoptymenu(row, col) {
    var a = document.applets.Tree;
    var m = a.menu();
    if (m == null) return;
    m.removeAll();
    if (row.substr(0,1) == 'Q') {
    m.Add("View Quote");
    m.Add("Mark active");
    else {
    m.Add("Remove Opportunity");
    m.Add("View/Edit Opportunity");
    But, when the event happen to call this function on my web page, I got an type mismatch error. and the java console shows the Error as :
    netscape.javascript.JSException: Failure to evaluate initoptymenu('Q1831',0)
    Could anyone know what I need to do the make it work?
    Thanks so much.
    shuning

    It is kinda hard to tell without seeing the rest of the script....
    But your script function is expecting a string and a number as arguments, but sure that the caller (which you didn't post) is supplying the correct type of arguments.
    V.V.

  • Problem Uploading Mapping to FDM in 11.1.2.1, Receiving Type Mismatch Error

    Has the mapping format changed in system 11 changed from system 9?
    One of my users who is responsible for uploading maps is trying to upload his Excel mapping document (which he used in version 9) into FDM 11.1.2.1 and is receiving a Type mismatch error.
    Error Log
    ERROR
    Code: 13
    Description: Type mismatch Row=3 SrcDec=(000-General Cash) TargKey=(10000) ChangeSign=(False) WhereClauseType=(Error 2029)
    Procedure: clsUtility.mRecordsetFromExcel
    Component: upsWDataWindowDM
    Version: 1112
    Thread: 185652
    Any assistance would be appreciated.

    Well, as you can see I am having a bit of trouble with this user. I finally got him to send me the files he was attempting to load and not the test file. I received the error.
    Here is the only log entry for this error:
    ** Begin FDM Runtime Error Log Entry [2011-08-12 16:44:41] **
    ERROR:
    Code............................................. 13
    Description...................................... Type mismatch
    Row=3 SrcDesc=(000-General Cash) TargKey=(10000) ChangeSign=(False) WhereClauseType=(Error 2029)
    Procedure........................................ clsUtility.mRecordsetFromExcel
    Component........................................ upsWDataWindowDM
    Version.......................................... 1112
    Thread........................................... 13988
    IDENTIFICATION:
    User............................................. <withheld>
    Computer Name.................................... <withheld>
    App Name......................................... <withheld>
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... <withheld>
    Database Name.................................... <withheld>
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... <withheld>
    Location ID...................................... 873
    Location Seg..................................... 19
    Category......................................... WLActual
    Category ID...................................... 14
    Period........................................... Jul - 2011
    Period ID........................................ 7/31/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False

  • AddCurrentValue date paramater Type Mismatch Error

    Post Author: brentlaw
    CA Forum: Other
    I am using vb6 and CR XI.  I have Component "Crystal ActiveX Report Viewer Library 11.0" loaded and Reference to "Crystal Reports ActiveX Designer RunTime Library 11.0".  I can successfully use AddCurrentValue and AddDefaultValue for all values except date or datetime datatype.  Here is how I am doing it:  Assume cReport is my report object
    With cReport  For X = 1 To .ParameterFields.Count          .ParameterFields(X).ClearCurrentValueAndRange          If InStr(UCase(.ParameterFields.Item(X).Name), "BEGDATE") Or InStr(UCase(.ParameterFields.Item(X).Name), "BEGINNINGDATE") Then            If .ParameterFields(X).ValueType = crDateField Then              .ParameterFields.Item(X).AddDefaultValue (BegDate$)   '//where BegDate$ = "Date(2008,3,22)"  <TYPE MISMATCH ERROR HERE>            ElseIf .ParameterFields(X).ValueType = crDateTimeField Then              .ParameterFields.Item(X).AddDefaultValue (dtBegDate$)  '//where BegDate$ = "DateTime(2008,3,22,00,00,00)" <TYPE MISMATCH ERROR>            End If          End If  Next 'xEnd With
    I have tried many combinations of the value of BegDate$ and still I get the Type Mismatch Error.  I have run out of ideas, please help inspire me.

    Post Author: Ted Ueda
    CA Forum: Other
    Here's a snippet from working code with the RDC:Session("oRpt").ParameterFields.GetItemByName("ExampleDateParameter").AddCurrentValue(CDate("2001/Jan/02"))Session("oRpt").ParameterFields.GetItemByName("ExampleTimeParameter").AddCurrentValue(CDate("3:45:00 PM"))Session("oRpt").ParameterFields.GetItemByName("ExampleDateTimeParameter").AddCurrentValue(CDate("2001/Jan/02 3:45:00 PM"))i.e., they're using Date objects and not String.Sincerely,Ted Ueda

  • FR Studio: Type mismatch error

    What could be the cause of an type mismatch error, when trying to open certain reports in FR Studio after it was exported from 9.3 and imported into 11.1.2.1 (patch 600)?
    These reports are running fine in Workspace as a PDF doc, but we are unable to edit it in FR Studio.
    When the report opens after clicking OK several time in the Type mismatch pop-up the report opens up "corrupt".  When you click on any of the content we are getting the following error:

    Glad to know issue got resolved.
    It is documented in KM article id 1930342.1

  • ByRef Argument Type Mismatch" Error VB6

    I am new to VB6 and spread.My VB project is making using of spread .In forms wherever the spread initialization is done,VB 6 is throwing a compile error as "By Ref Argument Type Mismatch" Error" .Is it because of the spread issue? I am removing
    some functionality from a already existing vb project So is it because i might have commented out some functionality. Kindly.Kindly provide your valuable suggestion.Thanks in advance.I am running the application in windows 7

    Hi ponnudoll,
    This forum is actually for questions about Access development, your question is kind of off-topic.
    Where to post your VB 6 questions
    Anyway, I did some research about this error message, and found this KB article talking about how to avoid this error.
    How to Avoid the "ByRef Argument Type Mismatch" Error
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for