Display a message while loading using EMBED tag

Hi
I am using an Embed tag to pull a pdf from the backend. the pdf files are huge so it takes time to load and I want a loading message to be displayed till the form is completely loaded, so i am using onload attribute of Embed tag, but i dont think its firing because i still see the "loading" message even after the page has loaded...
Can any one help me plzzz...

Hi,
Try using the FM  
Increase the percentage for each loop        
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
              EXPORTING
                PERCENTAGE = 50
                TEXT       = text-025.

Similar Messages

  • Error message while loading XML parser into db

    I get the following error message while loading xmlparserv2.jar
    ORA-29534 referenced object SYSTEM.oracle/xml/parser/v2/XMLNOde could not be resolved
    ORA-29545: badly formed class: java.lang.NullPointerException
    using XSU111 package

    I had the same problem. I did a search of the forum looking for the error number (that's how I ran across your question). It seems that the xmlparserv2.jar (v2.0.2.8 or 2.0.2.9) which is included was compiled with java 1.2 which is incompatible with Oracle 8.1.5 (which is what I have and probably what you have). You probably need xmlparser v2.0.2.7.
    Do a search on the error number, the post is from Steve back on June 8. I found the correct version of the xmlparserv2.jar in my copy of the xmlschema stuff (xmlschema_v0_9_0_0.zip). I don't know which version is in the current xmlschema
    (v1.0.0.0) but it is probably the new version.
    Steve will email you the correct version if you ask.
    Eric
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by nrajav ():
    I get the following error message while loading xmlparserv2.jar
    ORA-29534 referenced object SYSTEM.oracle/xml/parser/v2/XMLNOde could not be resolved
    ORA-29545: badly formed class: java.lang.NullPointerException
    using XSU111 package<HR></BLOCKQUOTE>
    null

  • How to put display on screensaver while still using the beamer?

    How can i put my display on screensaver while still using the beamer?
    My beamer can be on for a long time, i would like to use my screensaver at the same time, but then the beamer screen also goes to screensaver.
    Is there a way to use just the beamer screen, while the computer screen is on screensaver?
    I use a macbook pro with Mavericks.
    Thanks in advance - Daan

    What you can do is hiding the tabs (see pic below) and force the active tab programmaticily
    Hope this helps
    Message Edité par TiTou le 09-20-2006 10:35 AM
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    Clipboard01.png ‏151 KB

  • Unauthorized message while loading home page

    Hi, I am a beginner in Oracle.
    I had installed Oracle 10g express edition a month ago. I've been working with database and tables successfully and developing some applications using appex 2.1.
    One of the last operations i did was to run successfully this pl/sql instructions in sql command in graphical user interface:
    declare
    pw_v varchar2(100);
    begin
    pw_v := dbms_obfuscation_toolkit.md5( input_string => 'admin' );
    INSERT INTO M_USERS(LAST_NAME,USERNAME,PASSWORD,ADMINISTRATOR,IN_USE)
    values('admin','admin', pw_v ,'Y','Y');
    end;
    After that i've tried to view the table M_USERS when suddenly it prompts username and password in "Connect to 127.0.0.1" window (This window never prompted before). I tried my operating system and database passwords but it still gives "Unauthorized" message.
    I shut down Database server, restarted my Operating system and when i load the home page it still prompts username and password in "Connect to 127.0.0.1" window.
    I've read something like that in Re: Unauthorised message while loading home page and solution was to change the port number.
    I've changed port number typing this command in sql plus line: "exec dbms_xdb.sethttpport(8090)" but the problem still remains.
    I think to reinstall Oracle 10g express as last chance but i dont think it would be a professional solution.
    Please help me with this it's urgent.
    Thanks.....!!
    Roger

    Hi Ginny, i am new in Oracle Express....I have the same problem you had. I've changed port number and the problem still remains... i need the solution urgently...please help....

  • Error message while loading

    Dear Friends,
    i am getting error message while loading data in the cube, yesterday i got the same error message while loading ODS
    the error message is as follows:
    Value '差旅费 - ERIC BADEN - MEETING WITH E&Y & AYKIM     ' (hex. '5DEE65C58D390020002D002000450052004900430020004200') of charac.
    Thank you
    Mohammad Riaz

    Hi
    It seems that some updates were done on the source system side and whicle entering the value so character has been enetered which is not identifed by the Bw system.
    The data has to be corrected in the source system, you will have to confirm it with your client that what the data should be and for the tiem being you can load it till PSA and correct the data in PSA, and push it manually.
    Give the PSA details to your client, it will conatin the data in source system format, and they will know what value has to be changed.
    Hope this helps
    Regards
    Shilpa

  • How we will get parameters when we uses EMBED tags

    hi ,
    how we will get parameter from applet in netscape. When my swing applet using OBJECT tag, runs in IE it works fine.
    And im able to getting parameter. But in the case of Netscape (that means when i used EMBED tag) im not able to getting the parameter.
    How we will give <param tag in the case of EMBED tag. Im sending my snippet which is for only netscape.
    <EMBED type="application/x-java-applet;version=1.2.2"
    width="800" height="1200" code="myclass.class" codebase='mycodebase'
    pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html">
    <NOEMBED>
    </COMMENT>
    No JDK 1.2 support for APPLET--please download the plugin.
    </NOEMBED>
    <param name='parameter' value='value'>
    </EMBED>
    If anybody helps, very much thankful to them
    thanks in advance

    Parameters should be inside the EMBED tag, like this :
    <EMBED type="application/x-java-applet;jpi-version=1.3.1" CODE = "Editor.class" WIDTH = 350 HEIGHT = 200 scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3.1/plugin-install.html"
    TOOLBAR="true"
    TOOLBAR.FLOAT="true"
    TOOLBAR.ALIGN="east"
    >
    Matthieu

  • Error Messages While Loading Acrobat 6 Pro

    I get 2 error messages while loading Acrobat 6 Pro.  They began to to appear after downloading, and then removing, trial versions of CS5.5 Suite and CS5.5 Flash.  The error messages are:
    1:- There was an error while loading the plugin SaveasXML.api. The file cannot be found.
    2:- bootstrap.js script error during eval()".
    Trying to uninstall Acrobat 6 Pro so it can be reinstalled fails.
    How can I fix these problems?

    Thank you Bill,
    Yeah, of course you are rigt: my AA is a dinosaur... But somehow - and to be quite honest, I don't know exactly how I managed - I CAN make PDF-files now. (?!) I changed some settings in my printing menu and, well... it worked again.
    Thanx anyway for your time and energy to help me. Appreciated!
    Grtz from the Netherlands,
    Ingrid

  • Problem while displaying popup message while using inputfile component

    Hi
    I am using JDEV 11.1.1.2.0, using ADF i developed and application
    in my page i have a input file component, from which i am taking a csv file and reading it through valuechangeevent of inputfile component. I have used myfaces.trinidad-UploadedFile to get the selected file and read it using inputstream.
    I have put some validation check (validation check is done while reading the file using valuechangeevent of the inputfile component), while reading the file and incase i receive any error (validation mismatch), the reading of file stops ... and before doing that i used to display error message using below method:-
    public String ValidationCheck(String attrname, String attrvalue, int rownumber) {
    String msg="Validation error found in "+attrname+" with value "+attrvalue+" of row "+rownumber+" in the file. Please correct the file and retry/";
    FacesContext ctx = getFacesContext();
    FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, msg, "");
    ctx.addMessage(null,fm);
    return null;
    i have used the same method to display message in other places where its showing correctly but fails in inputfile component.
    Please help me out how can display messages from inputfile component??
    Thanks
    Sudeep
    Edited by: SKD on Feb 21, 2012 12:02 PM
    Edited by: SKD on Feb 21, 2012 4:08 PM
    Edited by: SKD on Feb 21, 2012 4:11 PM

    It works fine for me (albeit on 11.1.2.1). Here is my complete test case:
    FileUploadTest.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <af:document title="FileUploadTest.jsf" id="d1">
        <af:form id="f1" usesUpload="true">
          <af:inputFile label="Label 1" id="if1" valueChangeListener="#{TestBean.vcl}"/>
          <af:commandButton text="commandButton 1" id="cb1"/>
        </af:form>
        <af:messages id="m1"/>
      </af:document>
    </f:view>TestBean.java:
    package view;
    import javax.faces.application.FacesMessage;
    import javax.faces.context.FacesContext;
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.share.logging.ADFLogger;
    public class TestBean
      private static final ADFLogger _LOG = ADFLogger.createADFLogger("view.TestBean");
      public TestBean()
      public void vcl(ValueChangeEvent valueChangeEvent)
        _LOG.severe("in the value change event");
        FacesContext ctx = FacesContext.getCurrentInstance();
        FacesMessage fm = new FacesMessage(FacesMessage.SEVERITY_ERROR, "This is a message", "Message");
        ctx.addMessage(null, fm);
    }adfc-config.xml:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <managed-bean id="__1">
        <managed-bean-name>TestBean</managed-bean-name>
        <managed-bean-class>view.TestBean</managed-bean-class>
        <managed-bean-scope>request</managed-bean-scope>
      </managed-bean>
    </adfc-config>John

  • Issue while playing video in firefox 19 using embed tag with mplayer2 plugin

    In mozilla firefox embed tag not working properly. the embed video starts playing after browser is resized. Can anyone help me out playing video in ff without resizing the browser? Below is the html code. The below code works in fine in other browser
    <pre><nowiki>
    <object id="MediaPlayer1" width="400" height="300" classid="CLSID:6BF52A52-394A-11d3- B153-00C04F79FAA6"
    standby="Loading Windows Media Player components..." type="application/x-oleobject">
    <param NAME="AutoStart" VALUE="True">
    <param name="uiMode" value="none">
    <param name="PlayCount" value="9999">
    <param name="url" value="C:\SR\documents\library\2013\Video\sample_1363245215320.avi" />
    <embed type="application/x-mplayer2" src='C:\SR\documents\library\2013\Video\sample_1363245215320.avi' NAME="MediaPlayer" WIDTH="400" HEIGHT="300" ShowControls="0" ShowStatusBar="0" ShowDisplay="0" autostart="1"> </embed>
    </object></nowiki></pre>

    Maybe try to use the file protocol instead.
    <pre><nowiki>src="file:///C:/SR/documents/library/2013/Video/sample_1363245215320.avi"
    </nowiki></pre>
    *http://kb.mozillazine.org/Links_to_local_pages_do_not_work

  • I want to display BLOB image in JSP Using  html tags IMG src=

    GoodAfternoon Sir/Madom
    I Have got the image from oracle database but want to display BLOB image using <IMG src="" > Html tags in JSP page . If it is possible than please give some ideas or
    Send me sample codes for display image.
    This code is ok and working no problem here Please send me code How to display using html tag from oracle in JSP page.
    <%@ page import="java.sql.*" %>
    <%@ page import="java.io.*" %>
    <%@ page import="javax.swing.ImageIcon;" %>
          <%
            out.print("hiiiiiii") ;
                // declare a connection by using Connection interface
                Connection connection = null;
                /* Create string of connection url within specified format with machine
                   name, port number and database name. Here machine name id localhost
                   and database name is student. */
                String connectionURL = "jdbc:oracle:thin:@localhost:1521:orcl";
                /*declare a resultSet that works as a table resulted by execute a specified
                   sql query. */
                ResultSet rs = null;
                // Declare statement.
                PreparedStatement psmnt = null;
                  // declare InputStream object to store binary stream of given image.
                   InputStream sImage;
                try {
                    // Load JDBC driver "com.mysql.jdbc.Driver"
                    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
                        /* Create a connection by using getConnection() method that takes
                        parameters of string type connection url, user name and password to
                        connect to database. */
                    connection = DriverManager.getConnection(connectionURL, "scott", "root");
                        /* prepareStatement() is used for create statement object that is
                    used for sending sql statements to the specified database. */
                    psmnt = connection.prepareStatement("SELECT image FROM img WHERE id = ?");
                    psmnt.setString(1, "10");
                    rs = psmnt.executeQuery();
                    if(rs.next()) {
                          byte[] bytearray = new byte[1048576];
                          int size=0;
                          sImage = rs.getBinaryStream(1);
                        //response.reset();
                          response.setContentType("image/jpeg");
                          while((size=sImage.read(bytearray))!= -1 ){
                response.getOutputStream().write(bytearray,0,size);
                catch(Exception ex){
                        out.println("error :"+ex);
               finally {
                    // close all the connections.
                    rs.close();
                    psmnt.close();
                    connection.close();
         %>
         Thanks

    I have done exactly that in one of my applications.
    I have extracted the image from the database as a byte array, and displayed it using a servlet.
    Here is the method in the servlet which does the displaying:
    (since I'm writing one byte at a time, it's probably not terribly efficient but it works)
         private void sendImage(byte[] bytes, HttpServletRequest request, HttpServletResponse response) throws IOException {
              ServletOutputStream sout = response.getOutputStream();
              for(int n = 0; n < bytes.length; n++) {
                   sout.write(bytes[n]);
              sout.flush();
              sout.close();
         }Then in my JSP, I use this:
    <img src="/path-to-servlet/image.jpg"/>
    The name of the image to display is in the URL as well as the path to the servlet. The servlet will therefore need to extract the image name from the url and call the database.

  • Display a message while processing

    Hi,
    I am processing a lot of files and it take some time to do it. I want to display a message when a file is processing. And one message when the process of all files is finished.
    LOOP AT LT_FILES.
      CONCATENATE 'File processing: ' LT_FILES-NAME INTO LV_MSG
      MESSAGE LV_MSG TYPE 'S'.
      PERFORM F_PROCESS_FILE USING LT_FILES-NAME.
    ENDLOOP.
    MESSAGE 'The files are been processed' TYPE 'S'.
    But it doesn't show anything while the files are been processing, just at the end the last message appears. Someone knows how can I do this? Like parallel tasks or something like threads?
    Regards,
    Isaac Melendez

    Hi,
    Try using the FM  
    Increase the percentage for each loop        
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
                  EXPORTING
                    PERCENTAGE = 50
                    TEXT       = text-025.

  • Prb display error message while creating PR at ME51n in ME_PROCESS_REQ_CUST

    Hi All,
    I have this requirement to check the cost center availability in PR screen (ME51n).
    If cost center in the Account assignment tab is not empty, display error message  and not able to create the PR.
    With my code below, it doesn't triggered the error message and PR created.
    Could anyone help?
    METHOD if_ex_me_process_req_cust~process_account.
    DATA: w_account_ref TYPE exkn.
    w_account_ref = im_account_ref->get_data( )
    IF w_account_ref-kostl IS NOT INITIAL.
      MESSAGE e303(ME) WITH text-001 w_account_ref-kostl text-002.
    ENDIF.
    ENDMETHOD.
    Thank you.
    SW

    Hi,
    You have to use definition MMPUR_MESSAGE 'E'  ME 303   text-001 w_account_ref-kostl text-002.
    This will throw the error during check and save instead of message e303(me) .
    Hope it helps.
    Sujay
    Edited by: Sujay Venkateswaran Krishnakumar on Oct 5, 2010 2:54 PM

  • Display error message in WEBUI using BADI - ORDER_SAVE-CHECK_BEFORE_SAVE

    Hi,
    I am trying to display error message using BADI - ORDER_SAVE (Method-CHECK_BEFORE_SAVE) based on certain conditions when the document is saved from WEB UI.
    I have written it like below:
    If (some conditions).
    Message E000 with 'Error in SAVE' RAISING DO_NOT_SAVE.
    endif.
    I mentioned my message class everything in class, and it is fine.
    However, it is not displaying my error message. It is displaying standard information message saying "Document Could not be saved'.
    Could you please help me out, how can I display my custom message.
    Thanks,
    Sandeep

    Hi Sandeep,
    U can use FM to raise a message from order save badi.
    Inside the if condition, u can raise do_not_save.
    If (some conditions)
          CALL FUNCTION 'CRM_MESSAGE_COLLECT'
            EXPORTING
              iv_caller_name = 'ORDERADM_H'
              iv_ref_object  = iv_guid
              iv_ref_kind    = 'A'
              iv_msgno       = '000'
              iv_msgid       = 'zcrm'
              iv_msgty       = 'A'
              iv_msgv1       = c_text1
              iv_msgv2       = c_text2
              iv_msgv3       = c_text3
            EXCEPTIONS
              not_found      = 1
              appl_log_error = 2
              OTHERS         = 3.
          IF sy-subrc NE 0.
          ENDIF.
          RAISE do_not_save.
    ENDIF.

  • Message while loading applet

    I would like to display a message inside my HTML page "Please wait... applet is loading..." and when applet loads I would like to hide that HTML message and to show the applet. Is this possible? How should I do that?

    Depends what you mean by "when asked to load/run the applet" - do you mean whilst the applet is loading?
    In that case I'd make the Javascript event handler for the button set a boolean value, and in your Javascript function called by the applet on loading, check for it. So if the user's clicked cancel it won't change the CSS attributes to display it.

  • Error message while loading data from data mart

    Please can some one help on this.
    While loading data from one cube to another (I am actually creating a backup of original cube) for 1 record I am getting the error message " internal error occured with time split" The long text of error message says Message no. RSAU101

    Take a look at this thread:
    Internal error occured with time split
    Hope it helps,
    Gilad

Maybe you are looking for

  • Error 'Force Quit Applications'

    what does it mean when an error for force quit comes up and it says "Your Mac OS X startup disk how no more space available for application memory"?

  • Use of srw.set_page_navigation_html

    hi i want to use this package to display report running in 9i web containing next and previous page please help me its urgent srw.set_page_navigation_html(type,'string'); in this package what i use in type and what i use in string please reply as soo

  • Best Confirgutation for updates?

    I'm currently on 10.4.8 with FCP 5.0.4 and QT 7.0.3. Looking to update to 10.4.11 and QT (not sure what version since I've read post that say 7.3 seems to be a problem). Any suggestions to what level of 10.4 and QT I should go to for stable operation

  • How do I get iDVD for Mac OS X Lion

    I was wondering if anyone knows how to get a free copy of iDVD for Mac OS X Lion.

  • Problem loading the Firefox PKCS11 provider

    I'm trying to load the Firefox PKCS11 provider (softokn3.dll), but I always get the following error: Exception in thread "main" java.security.ProviderException: Initialization failed at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:340) at sun.