How to capture Browser Specific functionalities

Hai,
  Any body please help me on  How to Capture Browser specific functinalities, for example , How to get Refresh button is pressed or not
regards
somu

How would you even do this in other technologies (JSP, ASP, etc.)? As far as I know it is not possible to "capture" browser events such as refresh or when the user clicks the "Back" or "Forward" buttons.  This is not a WebDynpro-specific limitation.
Walter

Similar Messages

  • How to capture the DB Errors to display more specific error on the screen

    HI,
    How to capture the DB Errors to display more specific error on the screen?
    Can any one suggest on this please.
    Thanks

    hi,
    in your db package or procedure write this in ur exception handler
    as
    excpetion when others
    FND_MSG_PUB.ADD_EXEC_MSG (pkg_name, proc_name,
    substr(sqlerrm, 1, 240))
    now in your java code you can catch and throw this excpetion by using
    OAExceptionHelper.checkErrors (Tx, messageCount, returnStatus, messageData);

  • How can  I capture a specific number of screen caps

    Using final cut or any other application, how can I capture a specific number of screen caps? Each video will have a different length.

    Bob,
    Please clarify your question. Are you asking about screen captures? If so, what software are you using and what does this have to do with FCP?
    -DH

  • How to open a specific file in projector.

    Hi to all
    can any body tells me that how to open a specific file in
    projector with an application not in browser????
    and also want to add a button to mute the sound just like in
    intros with fade in and out effect.
    its urgent....
    Thanks in advance

    Hi,
    You can use FlashJester JStart
    http://jstart.flashjester.com
    that will open up any file the has been associated in Window
    Explorer.
    Download a FREE evaluation copy and try it for yourself.
    Please look at the example files given.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. -
    http://www.flashjester.com
    There is a very fine line between "hobby" and
    "mental illness."

  • How to capture the first execution of a report

    Hi,
    I am executing a report in background. The first time the report is executed I have to do a different processing. After the 1st execution I have to different processing.
    Someone please tell me how to capture the 1st execution of a report. Is there a system variable ?
    Appreciate your <removed by moderator> response.
    Thanks,
    Dikshitha G
    Edited by: Thomas Zloch on May 12, 2011 11:36 AM

    Keshav.T wrote:
    Are you going to create a Z table for this ???? ... Is there nobody to advice you in your firm ???
    Hello Keshav,
    A couple of years ago i would have recommended using the INDX table, but it has got it's demerits.
    Maintenance of Z-table is easier than the INDX table. Say there is some error in the program & you want to override the flag. Will it be easier to do so in the INDX table or via SM30 for the Z-Table?
    As a matter-of-fact i will recommend using the solution provided by Florian the TVARVC technique.
    1. Create a parameter(specific to your program) & transport it.(See the trxn STVARV)
    2. In your program check the value of this param & set it accordingly.
    Using TVARVC you will 2 birds with one stone:
    1. You don't have to create a custom table.
    2. Easy maintenance via STVARV trxn.
    Hope you get the point!
    Cheers,
    Suhas
    PS: In our system we have a Z-table designed specifically for this particular purpose. All the programs having this kind of requirement refer to this table.

  • How to give browse and monitor only options of an ICM script to a certain group?

    I am looking for an option in the Feature Control Set, how to give "Browse and Monitor" only options for a certain group in our contact centre. If someone give me some clue, it would be appreciatable.

    Hello Praveen,
    This work at some point. But it's not resolving what I intend to do. When I give "Read Only" previledge, to the certain group, it won't be able to do other tasks what they do day to day. I am looking specifically to give read only previledge in the scripting level. Not at the configuration level.
    Thanks.

  • How to Capture the parameter?

    Hi All,
    I am doing Level based reports which displays table in each level with link to url in specific column. 
    Ex:  1st level -  say business unit as link to url.  clicking on this will open a 2nd level explorer  window which displays table related to that particular business unit. 
    In this level 2 page I should make some different column as my link to url column.  For this I need to check whether it is a 2nd level or not. 
    How to capture this level number?  Can anyone explain ?
    Hope I am clear with my requirement.
    Regards,
    Subashini.

    Hi Subashini,
    As you are using link to url and opening in new window. so you can create a new view.
    means create a new view for each levels. on your
    link to url just make sure that your application will open that view.
    If you want to use just one view. then create diff tables for diff views. to distinguish between levels
    and if your application have too many levels then try tree element. and open corrsponding report in same window alongside of tree or below the tree.

  • How to capture workitem number

    Hi Experts,
    We have custom workflow for creating material master. The main workflow contains different sub workflows and tasks. The workflow has 4 levels approvals and it has been triggering from Z transaction using event.
    We have the requirement for report to know the Overview of all material requests currently open; (at which specific step are they pending?), Daily Overview  of  all requests currently open for more than 24 hours at a specific department: including assigned user.
    But this data we are not capturing in the Z-tables. We can get it from workflow standard tables like SWWWHEAD. For all these standard table required workitem id which is unique and will dynamically generates the number.
    My question is how to capture workitem number. Is there any function modules/reports/process to get the workitem number specific to object type/object key?
    Thanks in advance.
    Cheers,

    Hi ,
    You can use the standard WAPI for getting the workitemids for specific material nos . But when you are going to  develop report for multiple material nos then you need to call the SAP WAPI in side LOOP and END LOOP , which will affect the performance  of the report .If the no of entries is less to be displayed in the report then you can use the SAP WAPI . Other wise you can try the below code for better performances -
    Get all your material nos in one internal table  say ITAB1 .
    IF ITAB1 IS NOT INITIAL .
        SELECT   top_wi_id wi_rh_task instid FROM sww_wi2obj INTO TABLE
        itab2  FOR ALL ENTRIES IN ITAB1
          WHERE instid = ITAB1-instid
                      AND catid = 'BO'
                      AND typeid = 'BUS1001006'
                      AND wi_release = '700'
                      AND wi_reltype = '99'
                      AND removed = '   ' .
    ENDIF .
    You will get the  workitemid of workflow specifc to all  materials in the internal table ITAB2 - The field is - top_wi_id
    Just try this out . Hope it may help you .
    Regards
    Prabhudutta
    Edited by: Prabhudutta Behera on Mar 13, 2009 12:20 PM

  • How to invoke browser from java program in Solaris ?

    Hi all,
    Is there any way by which a browser can be opened with specific URL, from a java program in solaris OS ?
    In windows I am able to do so by using "rundll32 url.dll,FileProtocolHandler".
    Thanks,
    ngs

    Well, how is a browser normally invoked on Solaris? And have a look at JDIC, maybe it helps you.

  • About country specific functionalities

    Hello all,
    I want to ask question about country specific functionalities. I found that when I installed fresh database. Now, let say I want to choose a country but that country is not on that list, what do I use then? The nearest neighbor country? Would there any problem with that later on?
    If I choose a country now and later on I want to change it, can I do that? If yes, how and is there any problem?
    thanks.

    i dont think you can choose the closest counrty its not like that, unless both conurty using same setup for let say HR legsalation and things like that.
    for ex. jordan is not lestad in the countries and HRMS in jordan is diffrent then Sudia so we dont choose sudia becase its close to jordan we keep the defualt
    it all depend on the functionaly that you are using
    fadi
    http://oracle-magic.blogspot.com

  • How to capturing scrolling images with no java controls?

    Can somebody help me? I am trying to capture the image of the browser, using the followed code to do it, but I can not take it scrolling the screen. I do not use any control of java in the browser. Does anybody have an idea?
    Robot r = new Robot();
    image1 = r.createScreenCapture(clippedScreen);
    File file = new File("c:\\Csa\\3.9\\Fimages\\"+counter+".jpg");
    javax.imageio.ImageIO.createImageOutputStream(file);
    ImageIO.write(image1,"jpg",file);
    //Scroll the screen
    scrollTheScreen ();
    //Takes scrolled area
    image2 = r.createScreenCapture(new Rectangle(0,666,1280,80));
    File file2 = new File("c:\\Csa\\3.9\\Fimages\\"+counter+1+".jpg");
    javax.imageio.ImageIO.createImageOutputStream(file2);
    ImageIO.write(image2,"jpg",file2);
    As you can see I take two parts of the screen but I am having troubles adding the images, I do not know if there is an easier way to do this.
    Thank you in advance.

    Thanks to anybody, but i found the way on how to capture the image.
    1. Take a snapshot of the screen.
    2. Scroll the screen pushing the button down.
    3. Take the snapshot of the scrolled part of the screen.
    4. Scroll the screen pushing the button down.
    5. Take the snapshot of the scrolled part of the screen.
    6. Compare the 2 last images, if they are equals, stop scrolling, else scroll again.
    7. Join the images first, second and third images, to get a single one corresponding to the hole info of the browser.
    8. Save the resulting image.
    The thing in this problem is to manage the images as RGB components for that you must use the getPixel(col, row, color); method to manipulate the components in matrix and added to a bigger matrix where you join the complete components. Be sure that you manage the 3D matrix correctly, [width of the screen] [height of the screen] [RGB components], i.e.
    * This saves just the red component, the green and blue must be saved too.
    public int[][] imreadRed(BufferedImage bi)
              Raster r = null;     // * Raster
              int [][] image;     // * Image array
              int imageWidth = bi.getWidth();     // * Image Width
              int imageHeight = bi.getHeight();     // * Image Height
              int[] color = new int[3];     // * array to colors RGB (r -> 0, g -> 1, b -> 2)
              r = bi.getData();
              image = new int[imageHeight][imageWidth];
              for(int row = 0; row < imageHeight; row++)
                   for(int col = 0; col < imageWidth; col++)
                        r.getPixel(col, row, color);
                        image[row][col] = color[0];          //Saves the red color to the array image on the first coordinate
              return image;     //Return the array with the red component
         }* This merge the matrix into a bigger one.
    public int [][] mergeMatrix (int [][] mat1, int [][] mat2){
             int rowsMat1 = (mat1.length-53), colsMat1 = mat1[0].length,     //mat1.length da los renglones de la matriz height  
             rowsMat2 = mat2.length, colsMat2 = mat2[0].length;          //mat1[0].length da las columnas de la matriz width
             int [][] addedMatrix = new int [rowsMat1+rowsMat2][colsMat1];
             for (int row = 0; row < rowsMat1; row++) {
                  for (int col = 0; col < colsMat1; col++) {
                       addedMatrix [row] [col] = mat1 [row] [col];
              for (int row=0; row < rowsMat2; row++) {
                   for (int col = 0; col < colsMat2; col++) {
                        addedMatrix [rowsMat1+row] [col]  = mat2 [row] [col];
             return addedMatrix;
        }* This convert the matrix into an image.
    public BufferedImage imwriteComponents (int [][] arrRedImg, int [][] arrGreenImg, int [][] arrBlueImg) {
              int arrayWidth = arrRedImg[0].length;     // * Image Width
              int arrayHeight = arrRedImg.length;     // * Image Height
              BufferedImage completeImage = new BufferedImage(arrayWidth, arrayHeight, BufferedImage.TYPE_INT_RGB);     // Create a BufferedImage with RGB pixels
              WritableRaster wRaster = completeImage.getRaster();     // Create a raster so we can access the BufferedImage pixels
              int [] color = new int [3];     //color variable to save all the components
              //join the 3 matrix in one color type
              for(int row = 0; row < arrayHeight; row++)
                   for(int col = 0; col < arrayWidth; col++) {
                        color [0] = arrRedImg [row][col];
                        color [1] = arrGreenImg [row][col];
                        color [2] = arrBlueImg [row][col];
                        wRaster.setPixel(col, row, color);
              return completeImage;     //Return the Buffered image with the red array component
        }That is a solution that I found to this problem, if someone has an easy way to do it please tell us.
    Thank you.

  • PP CS3 HD capture (my specific setup question)

    I know this has probably been covered before, but I am trying to test my setup in case there is something specific I need to do:
    EQUIPMENT
    SONY HDR-HC9 HDV 1080i CAMCORDER
    SONY GVH-D700 HDV VIDEO WALKMAN w/ 7" LCD (used to capture video to avoid constant plugging in/out of camcorder firewire)
    Dell computer (3 GB RAM, not sure of the processor off-hand but it runs CS3 nicely...lots of resolution options with the largest being 2048x1536...I currently have it set at 1024x768)
    I've run a firewire connection from the walkman into the computer.  When I put a standard mini-DV tape in, PP captures like normal.  When I try an HD tape with HD footage (1080i), PP tells me there is a connection but I get no image whatsoever.
    I'm not sure if it has something to do with 1080i just not matching my screen resolution or what.  If that's the case, would one of the higher resoltions do the trick?
    Thanks for the insight!

    It doesn't appear HDV split works with my capture deck (see first post).  Is this designed soley for camcorders to be run through?  When I open the program it just says nothing is connected.
    As far as PP, although there is not an exact preset for my deck I can get the play, stop, rewind and fast-forward functions to work on the capture screen but I cannot record.  I can even see the image in perfect clarity on the deck itself.
    At this point I'm not sure how to capture HD!  I really do not want to have to connect the camcorder each time as this was the whole reason why I bought the deck.
    Thanks for the input, I'm anxiously awaiting your replies and insight!

  • Audio Q: How to capture and play back later?

    Hi,
    Looking at the JMStudio app, it's pretty clear how to capture audio and stream it out through the speakers. What I don't understand is how to capture audio, stop, and at a later time, play that stream back. In particular, I'd like to be able to play it back beginning at a specific position. I see the Positionable interface, but I haven't found any demo code for a DataSource that implements it. Any help appreciated,
    +scott                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi,
    you have to stream your media to a file and later re-open it. To do this, simply get a DataSink and use it to save on a file.

  • How to capture previously clicked button(previous event)?

    Hi guyz,
    I have frame in which i have different panels. I would like to capture the last clicked button. My objective is to bring a pop-up box(dialog) when anything other than a specific button is clicked in one of the panels. So, i would like to know if i can see what button was clicked previously. Does anyone know?

    How to capture previously clicked button(previous event)?Store it somewhere and then you can use it later:
    ActionListener previousActionEvent;
    JButton b = new JButton();
    b.addActionListener(new ActionListener(){
       public void actionPerformed(ActionEvent evt){
          previousActionEvent = evt;
    });

  • Printing fit to page: how to capture it to drive printing of the Printable

    The print dialog allows through the properties button to set document to fit to scale. I am not clear how to capture that either as a PageFormat or a PrintRequestAttribute. Any pointers on this?
    Thanks

    The Problem with fit-to page and HTML is that it is not working. HTML is not a Pageoriented design like PDF. There are a lot of strange things to take care of, if you want to print html in that way that a Browser recognizes the Layout and prints it correctly. The easiest way is to let a external tool (like Html-toPdf Converters or export to Excel)perform the conversion to achieve a good printing result. Excel has a excelent Print engine. But it is a lot of effort to create the excel format in Office XML Style. I created an external Windows service which can convert HTML to Pdf. Together with 2 new items which offers Pagesetup and Pagebreak options in the WAD. The User can choose print out of the contextmenu, which calls the windows service on the Application server, and returns the PDF file in separate window. Afterwards the user can print with acrobat reader.
    FROM my opinion it is really difficult to transform the html in good looking way. for example. You have a large table with more than one Characteristic in the drilldown. If you now want to transform the html, it is difficult, because the Tablecells uses row and colspans, which are not breakable. and so. Also you have a problem with header an footers.
    Also you have a problem with printing if you make us of the broadcaster. The user who receives the html-files cannot print them, and also he can't call the helpservice, because he is offline...
    best regards.
    Kai Wachter

Maybe you are looking for