Event for text view

Hi Experts,
Is it possible to trigger an event , such that when one of the data in textview is double clicked , in the event i want to capture the value of the data
that was double clicked , for example if I have a data '20' , it should trigger an event when it is double clicked and in the event is should be able to hold the value of 20
and pass this to some local variable for further processing .Please let me know if this is possible .
Note: TextView is created dynamically
Regards,
Sanju

Hi Sanju,
As per my knowledge there is no action available for Text view in Web Dynpro for ABAP.If you want to know about this you can check in this class CL_WD_TEXT_VIEW here you dont any have method of thpe Event Handler.
Also check properties of Text view you dont have any action for this UI element.
Thanks
Suman

Similar Messages

  • How to create EVENTS for a View Cluster.

    Hi Tech Gurus,
    I have created a view cluster on 5 tables. I need to do a validation and this can be done by using events. But i am unable to create a EVENT for the View Cluster. Could anyone please tell me how to create events for a View Cluster.
    Thanks in advance for your esteemed replies.
    Regards,
    Raghavendra Goutham P.

    Hello Pasapula
    When you are in the View Cluster maintenance dialog (SE54) click on dialog "Events".
    Below the field for the view cluster you have an additional field <b>FORM routines main program</b>. There you have to add the main program containing the FORM routines called by the VC events.
    For example: I had defined a normal report containing an include with all the FORM routines. The report contains only the following lines of coding:
    report zus_0120_u1.
    * Common Data und access routines for user exits in VC maintenance
    include LSVCMCOD.
    include  zus_0120_f1. "FORM routines for VC events
    Now in the "Events" dialog of the view cluster maintenance you assign your FORM routines to the events.
    Regards
      Uwe

  • Document events for text replacement

    Hello!
    This is a question about Document events in JTextComponent.
    Two document events in a row are fired when the user performs a text replacement (some text is selected and the user inserts or pastes new text): first, DocumentListener.removeUpdate is called for the selected text being removed; second, insertUpdate for the text being inserted or pasted.
    The question is: how can I be aware that both events are related and exist in response for the same and unique action?
    More specifically, I need to know that the remove event is part of a two-step edition in order to bypass execution flow.
    I have some bizarre ideas in mind, like proxing the original ActionMap "paste" action (for pasting) and tracking the keyboard (for inserting), but I don't think this is a too elegant approach.
    Please let me know if you would find helpful some sample code.
    Thank you!

    That's from JTextComponent replaceSelection() method source
       public void replaceSelection(String content) {
            Document doc = getDocument();
            if (doc != null) {
                    if (doc instanceof AbstractDocument) {
                        ((AbstractDocument)doc).replace(p0, p1 - p0, content,null);
                    else {
                        if (p0 != p1) {
                            doc.remove(p0, p1 - p0);
                        if (content != null && content.length() > 0) {
                            doc.insertString(p0, content, null);
    ...As you can see it calls ((AbstractDocument)doc).replace() in the most cases all the default EditorKits uses AbstractDocument extensions.
    Then from AbstractDocument's replace
        public void replace(int offset, int length, String text,
                            AttributeSet attrs) throws BadLocationException {
            DocumentFilter filter = getDocumentFilter();
                if (filter != null) {
                    filter.replace(getFilterBypass(), offset, length, text,
                                   attrs);So I think you can set your own DocumentFilter and override the filter's replace. Set the flag replaceStarted=true and call super.replace(). In the DocumentListener just check the flag.

  • Is it possible to have multiple lines of text show for an event in monthly view?

    as an example, have a few lines of flight info show up without double clicking on event and it would be nice to have the entire event in a monthly printout too. Thank you.

    Hi Scott,
    Thank you very much for your reply and I apologize for getting back to this so late. I started using your suggestions today and I did have some success! The "shadow" button is very clever. Now, I think my lack of javascript syntax knowledge is keeping me from getting it all correct. I experimented with one field, a date field and I created the shadow button as you suggested and it worked perfectly!. The successful code I used for the click event for the gray button (see image below), was:
    form1.SSA.SF_Approver2RIF.SubmitRIFToFinalHrShadowButton::click - (JavaScript, client)
    if (form1.SSA.SF_Approver2RIF.Approver2RIFDate.rawValue == null) {
    xfa.host.messageBox("Please fill in all required fields");
    else form1.SSA.SF_Approver2RIF.SubmitRIFToFinalHrButton.execEvent("click");
    However, I have not yet had luck getting the other fields in that row to work like the date field has though. I don't think I'm coding the "or' part correctly when I begin to add the fields (the next one I'm trying to add after the "or" is the "Name" dropdown list box, but maybet the dropdown list doesn't count as a "null" value like the Date field does?
    My attempt at adding the name field so that two items are being checked is something like this but it does not work:
    form1.SSA.SF_Approver2RIF.SubmitRIFToFinalHrShadowButton::click - (JavaScript, client)
    if (form1.SSA.SF_Approver2RIF.Approver2RIFDate.rawValue == null){
    or
    (form1.SSA.SF_Approver2RIF.Approver2RIFName.rawValue == null)
    xfa.host.messageBox("Please fill in all required fields");
    else form1.SSA.SF_Approver2RIF.SubmitRIFToFinalHrButton.execEvent("click");
    Thank you so much for any additional insights you or the other members may have. I really appreciate it!
    -Chris

  • When previewing images by clicking on the thumbnail in an Event for example, I've been finding that many images preview in a 'zoomed in' way so only a small part of the photos is previewed in a highly magnified view.

    When previewing images by clicking on the thumbnail in an Event for example, I've been finding that many images preview in a 'zoomed in' way so only a small part of the photos is previewed in a highly magnified view.
    Initially I could find no cause. Then I tried right click - Edit and on the affected images, always get this warning:
    "Image Cannot Be Edited - This photo was previously edited with another application or with an early version of Iphoto. Duplicate this photo to edit it." and a "Duplicate To Edit" Button is displayed. 
    The external Editor defined for iPhoto is Adobe Photoshop Elements.
    Now, I reckon the MUST be others out there affected by this same apparent Preview bug, yet my searches have not revealed any answers.  Also seems impossible to find a contact number for adobe???
    Thanks

    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift ''(Mac Options)'' >''' key, and then starting Firefox. Is the problem still there?

  • Mouse over event for every word inside a text?

    I want to do a separate mouse over event for every word inside a text.
    or at least get the string below the mouse cursor.
    any hint?
    henry

    There are no events for it but you can use TextField.getCharIndexAtPoint() to determine the character where the mouse is over, and from there you can work out the word where the mouse is over.

  • Global Event Listeners for all Views in a ViewNavigatorApplication

    Hello,
    As the subject states, I have a ViewNavigatorApplication and I am trying to set up a "global" event listener for all views. Which I am able to do, however I am having problems...
    In my first view, I assign this listener:
    NativeApplication.nativeApplication.addEventListener(KeyboardEvent.KEY_DOWN, handleKeys);
    And I also have this function:
    public function handleKeys(event:KeyboardEvent):void {
         if (event.keyCode == Keyboard.MENU) {
                        trace("menu pressed");
                        navigator.pushView(MainMenuView);
    This works fine from the first view. But when I switch views, I get an exception on pushView (navigator is null). I think I understand why, so what is the best practice for something like this? How can I get access to the spark component navigator from that function when called from a different view? Or is there a better way to go about this?
    Thank you!

    Try putting the code in the main mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/mx"
        firstView="home"
        applicationComplete="init()" >
        <fx:Script>
            <![CDATA[
                private function init():void {
                    this.addEventListener(KeyboardEvent.KEY_DOWN, handleKeys);
                private function handleKeys(event:KeyboardEvent):void {

  • How to: subscribe for the viewer's Error event

    I am running a third party report tool and am trying to understand how to comply with their request. My report works fine in all export modes with the exception of export to word at which time it throws a "Index was outside the bounds of the array"
    error. This does not occur in any other export mode (i.e., Excel, RTF, TIFF, yada, yada.)
    The request from the vendor is " subscribe for the viewer's Error event and the report's Error event to get the exception."
    I run Win8.1 and would like to create a subscription to the View Event log to trap the occurrence of this error. I have tried to locate some documentation online as to how I can accomplish this.
    Where can I find this information as well as an example?
    Tom Mann MCSD C#

    They seem to be suggesting that the control will raise an error event which you can subscribe to.
    myViewer.Error += SomeHandler;
    and presumably
    private void SomeHandler(object sender, EventArgs a)
    // Do some error handling.
    If there turns out to be no actual error event then..,..
    Can you put a try catch block round code does the export?
    I'm guessing maybe not and it's an internal thing in the viewer.
    Plan C , let's see now.
    Try to find a way to override that button click on the viewer.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • Dump:Sales Text View in Material master for FERT items

    Dear Gurus,
    I am Creating Material MAster record for Fert Item,
    I am trying to maintain the Sales View of it but system is
    giving me dump ,
    I  am getting the following message
    "No text maintained; a blank text has been created in English
    automatically
    Message no. MM630
    Diagnosis
    For your convenience, a blank text has been created in the
    language English automatically.
    Procedure
    You can maintain this text. If you exit text maintenance
    without maintaining it, it will be deleted automatically.
    Name of runtime error
    "LOAD_PROGRAM_NOT_FOUND"
    Error analysis
    On account of a branch in the program
    (CALL FUNCTION/DIALOG, external PERFORM, SUBMIT)
    or a transaction call, another ABAP/4 program
    is to be loaded, namely " ".
    However, program " " does not exist in the library.
    Possible reasons:
    a) Wrong program name specified in an external PERFORM or
        SUBMIT or, when defining a new transaction, a new
        dialog module or a new function module.
    b) Transport error
    what can be the possible reason
    Please guide me in this context
    regards
    shailesh

    Dear Shailesh
    If this is the problem , then please go through the solution
                                                                                    No text maintained; a blank text has been created in English automatically                                                                               
    Message no. MM 630                                                                               
    Diagnosis                                                                               
    For your convenience, a blank text has been created in the language     
         English automatically.                                                                               
    Procedure                                                                               
    You can maintain this text. If you exit text maintenance without        
         maintaining it, it will be deleted automatically.                                                                               
    This is a standard behivour . No need to worry . it is not an error.It comes because you have to maintain something in sales text view if the sales view is maintained in OMS2 settings.And since it is a finished material then it will come.
    It dosent allow you to go to the next view when you press  enter .
    you have to go to the next view using Mouse .
    Just click on the next view you have to create it will allow.
    then fill all the views and just save the material you will be able to save
    Regards
    Rahul Singh
    Edited by: Rahul Singh on Nov 19, 2008 8:11 AM

  • How do I remove the tempature readings on my calendar? They fill up each day crowding out the view of scheduled events for the most part.

    How do I remove the tempature readings on my calendar? They fill up each day crowding out the view of scheduled events for the most part.
    Thank you
    Terry

    Disable or remoce the Calendar, that is creating these events, Terry.
    To find out, which calendar is creating these events, ctrl-click on one of the events and select "Get Info".
    In the Info panel click the color icon in the upper right corner to find out the calendar, that created this event.
    Then reveal the "Calendars" Sidebar (press the "Calendars" button in the toolbar) and select the Calendar, ctrl-click it and delete the calendar or disable it.
    -- Léonie

  • Keynote for iOS: Hyperlinked text, viewing notes with slides, snagging images from Safari?

    Hey all! Does anyone here know if there's a way to do the following in Keynote for iOS?
    Add hyperlinked text
    View notes long with slides
    Snag and display images from Safari to put into Keynote
    And if so, how?

    HI,
    I have created a project similar to yours and I can't see all the issues mentioned.
    But, with the links which you sent, issues are present.
    So, can you send me the CPTX project so that I can verify.
    Regards,
    Salini

  • Trying to view my usage for text messaging and it's not accurate??  Is there a problem w/ the page?

    Trying to view my usage for text messaging and it's not accurate.  Is there a problem w/ the page?

    Sometimes there can be a lag in reporting.  If you have an iPhone, iMessages don't show up on the log.  What part of the usage isn't accurate?

  • Adding event in Month view

    Is there a way to go straight to the detail box when adding an event in month view? When I right click on a date on the calendar then choose "add an event", it just puts it right on the calendar, then I click that so I can put the time down, then only the small box opens so I have to click the "edit" so it will open the big the box that has all the options in it.
    Does this make sense? Is there a way to right click a day, choose "add an event" and have it go right to the bigger box where you can finish all the details of the event?
    Also I saw a reference to the "info sidebar" in the Mac 101 support on the website.
    "In the Info sidebar, click the New Event text to display the text box and type a name for your event, like dentist appointment, band practice, or a birthday party."
    Where do I find this "info sidebar"?
    Thanks all in advance!

    rtha,
    Just double click on the day that you want to add the event. That action will display the full edit field.
    The info sidebar information on the Mac 101: iCal page is in error. It used to exist in the previous version of iCal.
    I suggest that you provide: Apple - iCal - Feedback
    ;~)

  • Switching from text view to visual view in SharePoint Designer 2013 crashes 100% of the time

    Whenever I am in SharePoint Designer 2013 and try to switch a workflow from text view to visual view, SharePoint Designer crashes. Text workflows work fine. I have tried any of the solutions that I could find including:
    - Removing KB2837633 and 2768006 (neither were installed)
    - Installing SharePoint Designer 2013 SP1 (KB2817441)
    - Performing a "Repair" on both SharePoint Designer 2013 and Visio 2013
    - Clearing the caches in the AppData directory
    - Setting Visual as the default mode for workflows to open in (so, not exactly switching, but trying to open it directly in the visual view)
    Event viewer reports that it is an issue with Microsoft.Web.Authoring.ni.dll which throws an unhandled exception, System.AccessViolationException.
    This is the error message:
    System.AccessViolationException was unhandled
      HResult=-2147467261
      Message=Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
      Source=Microsoft.Web.Authoring
      StackTrace:
           at Microsoft.Web.Authoring.Workflow.XamlWrapper.GetStageInfo(UInt32 node, String& name, UInt32& transition, UInt32&
    stageContainer)
    There is no InnerException.
    Can anyone suggest something else to try?
    Thanks!

    Hi,
    I have checked out the links above to no avail. I will keep looking. I have included the details from event viewer below.
    Details from event viewer:
    Event ID 1001
    Fault bucket , type 0
    Event Name: APPCRASH
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: SPDESIGN.EXE
    P2: 15.0.4569.1503
    P3: 52b0b061
    P4: Microsoft.Web.Authoring.ni.dll
    P5: 15.0.4531.1000
    P6: 51cb6bd8
    P7: c0000005
    P8: 0012f4b8
    P9:
    P10:
    Event ID 1000
    Faulting application name: SPDESIGN.EXE, version: 15.0.4569.1503, time stamp: 0x52b0b061
    Faulting module name: Microsoft.Web.Authoring.ni.dll, version: 15.0.4531.1000, time stamp: 0x51cb6bd8
    Exception code: 0xc0000005
    Fault offset: 0x0012f4b8
    Faulting process id: 0xc3c
    Faulting application start time: 0x01cf69f7dfc05fc8
    Faulting application path: C:\Program Files (x86)\Microsoft Office\Office15\SPDESIGN.EXE
    Faulting module path: C:\WINDOWS\assembly\NativeImages_v4.0.30319_32\Microsoft.W7830ee34#\bed75c80b5bf64ca619a88ad4a48b674\Microsoft.Web.Authoring.ni.dll
    Report Id: 45c4e398-d5eb-11e3-8ff3-7054d21a367e

  • FI - BTE events for transaction F110

    Hi all,
    I'm quite new to the FI module and have a question regarding Business Transaction Events. I tried by searching the forum but haven't found exactly what I was looking for, so if someone could help me out I'll be forever thankful!
    The problem is the following: when I create a new customer invoice I fill in various fields, and 2 of them are: Assignment number and Document header text (ZUONR and BKTXT respectively). After saving, if I go to FB03 and view the doc number I just created, I can see these two fields (and they also appear in their respective tables). However, the issue I have is that when I execute transaction F110 for the customer I created and run the payment, I get a new document number (which is basically a copy of the first) that doesn’t have these fields informed with the original values. Therefore, my aim is to code in some type of user exit / BTE and transfer the values to the new doc. Does anyone know what event I could use or how this could be approached?
    Any help would be of use, thanks in advance!
    Adi

    Use event for F110 is 00002040. Use T-Code BERP - to activate this FIBF, you need put in Vendor Master Data communication type SMTP, when run F110 the program dispach PDF attached to email.
    Step 1 - T-Code BERP to find 00002040 – This is a Function called SAMPLE_PROCESS_00002040, copy with another name i.e. ZZZ_PROCESS_00002040
    Step 2 – T-Code FIBF -> Option -> Product -> ….a Customer, Write product name at your choice (for example ZMAIL), make sure the put this active.
    Step 3 – T-Code FIBIF -> Option ->Process Function (or Module) -> …. A Customer.
    Process = 00002040
    Module Function = ZZZ_PROCESS_00002040
    Product = ZMAIL (name of product define by you in stpe 4)
    hope this will help

Maybe you are looking for

  • My computer wont let me have bought songs on my iPod

    Before i was able to have bought songs be synced but now it wont let me have my songs on my iPod. When i press "sync" it responds "some of the songs in your iTunes libary, including 'When i grow up' were not copied onto the iPod 'Meghan's iPod' becau

  • Long-term  retention backup strategy for Oracle 10g

    Hello, I need design a Archivelog, Level 0 and Level 1 long-term retention backup strategy for Oracle 10g, It must be based in Rman with tapes. ¿Somebody could tell me what it's the best option to configure long-term retention backups in Oracle?, "CO

  • Audio Levels in Final Cut Pro 6.0.5

    Is it possible to destructively alter the audio levels of a source clip to be higher than +12db? Also, similarly, is it possible to destructively alter the midrange frequencies? I have a lot of material to work through, and applying audio filters see

  • Wifi works perfect on iMac, internet doesn't

    Hello everybody i'm having a quite frustrating problem. The iMac details are on the picture above. Maybe it is a cause of the problem I don't know, but a week ago I updated to Yosemite. Since three days, at some random moment the internet stops worki

  • Is there a Mac Application that exactly copies PDF documents into Word?

    Hello, I work at a University and acquire electronic texts for students with disabilities from publishers. They come in a PDF format where the images on the screen can be highlighted with the mouse. Sometimes I have students who require documents in