Use CL_BSP_HAP_DOCUMENT_UI  event click ?

Hello
I wanna use the CL_BSP_HAP_DOCUMENT_UI  for retrive EVENT_ON_CLICK from html page i implemented the ZCL_IM__HRHAP00_BUT_ACCESS for capture click but not stop in the badi?
How i can use ? i am a beginner with this please give me a idea !!
Thanks !!!!
Message was edited by:
        Paola Groppo

Hi,
Go through this document
www.sapprogrammer.com/doc/ZDGL_SEEK.doc
Reward if it helps,
Satish

Similar Messages

  • Using mouse event for right click or scroll

    I would like someone to guide me that if there is any events which can be used for right click of the mouse or the scroll of the mouse(specially the scroll). Until now all the mouse event i have been using is based on the left mouse click, release......  So could anyone guide me how to use the right click and scroll of the mouse using actionscript.
    Thank you!

    You should try searching the forums using the key terms related to what you are after.  I don't think you'll find much help for the right click though... appears to not be supported by Flash.  Below is a link to one result for the mouse scroll from just the other day... you can probably find more if it does not help.
    http://forums.adobe.com/message/3511047#3511047

  • How do I use the event.target.name String with an external dispatchEvent?

    ...I hope the title question makes sense...
    On my stage I have an externally loaded SWF with a button. When clicked the button dispatches an event to the main stage.
    On the main stage a listener then loads an SWF into a loader called gallery.
    The gallery loader is also being shared by buttons on the main stage which use the event.target.name String to call in SWFs with corresponding names.
    I am using Tweens to fade-out and -in content to the gallery when a button is pressed.
    Loading the SWFs was working until I tried to create a universal button function for the dispatchEvent buttons...
    The problem I have is that I don't know how to define the String to tell the newSWFRequest where to find the SWF when triggered by the external buttons.
    (I may be doing this all wrong... but figured the best way to load an SWF on to the main stage from an external SWF was by using dispatchEvent??)
    My code triggers the Event and the gallery loader fades out, but then it cannot find the new SWF:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
    Please can someone help me understand the way to make the String point in the right direction? (I think the only errors are in bold below)
    Code:
    var myTweenIn2:Tween;
    var myTweenOut2:Tween;
    var nextLoadS2:String;
    // Listen for external event dispatched from external btns
    addEventListener("contactStage", btnClickExtrnl);
    function btnClickExtrnl(e:Event):void {
    nextLoadS2 = ?????
    myTweenOut2=new Tween(gallery,"alpha",None.easeOut,gallery.alpha,0,0.2,true);
    myTweenOut2.addEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteF2);
    // Btns Universal function
    function tweenOutCompleteF2(e:TweenEvent){
    myTweenOut2.removeEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteF2);
    myTweenOut2=null;
        var newSWFRequest:URLRequest = new URLRequest("swfs/" + nextLoadS2 + ".swf");
    myTweenIn2 = new Tween(gallery, "alpha", None.easeOut, gallery.alpha, 1, 0.2, true);
        gallery.load(newSWFRequest);
        gallery.x = Xpos;
        gallery.y = Ypos;
    Thank you.

    That works – thank you!
    I'm now using this code to fade in each of the SWFs:
    function contactStage(e:MouseEvent):void {
        var newSWFRequest:URLRequest = new URLRequest("swfs/"+e.currentTarget.name+".swf");
        myTweenIn = new Tween(gallery,  "alpha", None.easeOut, 0, 1, 0.2, true);
        gallery.load(newSWFRequest);
        gallery.x = Xpos;
        gallery.y = Ypos;
    But I cannot add the fade out function. I have amended the above code to create:
    var myTweenOutX:Tween;
    var myTweenInX:Tween;
    function contactStage(e:MouseEvent):void {
    myTweenOutX=new Tween(gallery,"alpha",None.easeOut,gallery.alpha,0,0.2,true);
    myTweenOutX.addEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteFX);
    function tweenOutCompleteFX(e:TweenEvent){
    myTweenOutX.removeEventListener(TweenEvent.MOTION_FINISH,tweenOutCompleteFX);
    myTweenOutX=null;
        var newSWFRequest:URLRequest = new URLRequest("swfs/"+e.currentTarget.name+".swf");
    myTweenInX = new Tween(gallery,  "alpha", None.easeOut, 0, 1, 0.2, true);
        gallery.load(newSWFRequest);
        gallery.x = Xpos;
        gallery.y = Ypos;
    But get this error:
    ReferenceError: Error #1069: Property name not found on fl.transitions.Tween and there is no default value.
    at ACOUSTIC_fla::MainTimeline/tweenOutCompleteFX()[ACOUSTIC_fla.MainTimeline::frame1:110]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at fl.transitions::Tween/set time()
    at fl.transitions::Tween/nextFrame()
    at fl.transitions::Tween/onEnterFrame()
    Where am I going wrong?

  • Using Multiple Event Listeners

    Hi,
    I have a movielcip (A) class in which I have used a Tween class effect on a child movieclip (B) scrollRect. The (B) Movieclip in turn has several movieclips whose have tween class effect being executed on thier child movieclips.
    the tweens are all unique to each movieclip
    and the event listeners are taken off once completed.
    This works all well and good in FLASH IDE...
    My problem arises when I try to view this in a browser on a Windows XP
    it doesnt work in
    Opera Version 9.63
    Firefox 2.0
    and Google Chrome 2.0
    The only browser it works fluently in is
    Internet Explorer 7.0.5
    What is happening in most cases it that the animation appears to "stick" but i think what may be happening is the listening or removal of the event listeners. The animations are left incompleted.
    Is there any rule of thumb when using multiple event listeners?
    here is a snippet of some of my code
    on click event from movieclip (A)
    private function scrollToSlidePrev(e:MouseEvent) {
                   if (((slideIndex - 1) >= 0)) {
                        nextButton.mouseEnabled = nextButton.enabled = previousButton.enabled = previousButton.mouseEnabled = false;
                        var position:Number = 0-SLIDEAREA.width;
                        var slide1:TileListSlide = slides[slideIndex] as TileListSlide;
                        var slide2:TileListSlide = slides[--slideIndex] as TileListSlide;
                        scrollSlide(position,slide1,slide2);
    tween animation in movieclip (A) on (B)
    private function scrollSlide(pos:int,slide1:TileListSlide,slide2:TileListSlide) {
                   slide1.resizeSlideTo(0.6); // execute tween on child movie clips in B
                   slide2.resizeSlideTo(1); // same as above;
                   var rect:Rectangle = sliderMc.scrollRect;
                   var tween1:Tween = new Tween(rect,"x",Regular.easeOut,rect.x,rect.x + pos,3,true);
                   tween1.addEventListener(TweenEvent.MOTION_CHANGE,setSliderScroll,false,4);
                   tween1.addEventListener(TweenEvent.MOTION_FINISH,toggleButtonEnabled,false,3);
    tween animation in movieclip (B) children
    public function resizeSlideTo(sc) {
                   var m:Matrix = tileList.transform.matrix as Matrix;
                   var p:Point = new Point (m.a, 0);
                   var tween2:Tween = new Tween(p,"x",Regular.easeOut,p.x,sc,3,true);
                   if (numericStepper != null) {
                        if (sc != 1) {
                             numericStepper.visible = false;
                             tween2.removeEventListener(TweenEvent.MOTION_FINISH,showStepper);
                        if (sc === 1) {
                             tween2.addEventListener(TweenEvent.MOTION_FINISH,showStepper,false,2);
                   tween2.addEventListener(TweenEvent.MOTION_CHANGE,setScaleOnScroll,false,3);
    here is the link
    http://visual_admin.web.aplus.net/ticker/ticker_widget.html
    the effect disables and re-enables the buttons when its done.... then the listeners are removed.
    each one with the exception cretes its own unique tween (obviously this is a custom class built as each clip)
    i really don't know what to make of it guys         

    apparantly making the tween a property of the class rather than a random variable in a function worked.....go figure

  • Task Flow Exit Using contextual Events ??

    I am using Jdeveloper 11.1.1.5.
    My application has a page which has two regions in it.
    First region has a bounded task flow with just one fragment in it(Just with a button)
    and Second region has a BTF which has five fragments in it(which is a kind of train process).
    On clicking the button in the first region I want to exit and reenter the bounded Taskflow in the second region.I am trying to do this using contextual events but the exit and reentry doesn’t happen as expected.
    For example - if the user is in the third fragment of the second region and clicks the button in the first region, then the task flow should exit and the control should go to the first fragment in the second region.
    In the consumer method I am returning the “action” string which will call the “TaskFlow Return call” activity but the “TaskFlow return call is not being called.
    Could some one help me resolve this issue.
    Thanks in advance.
    - Pani

    I am using Jdeveloper 11.1.1.5.
    My application has a page which has two regions in it.
    First region has a bounded task flow with just one fragment in it(Just with a button)
    and Second region has a BTF which has five fragments in it(which is a kind of train process).
    On clicking the button in the first region I want to exit and reenter the bounded Taskflow in the second region.I am trying to do this using contextual events but the exit and reentry doesn’t happen as expected.
    For example - if the user is in the third fragment of the second region and clicks the button in the first region, then the task flow should exit and the control should go to the first fragment in the second region.
    In the consumer method I am returning the “action” string which will call the “TaskFlow Return call” activity but the “TaskFlow return call is not being called.
    Could some one help me resolve this issue.
    Thanks in advance.
    - Pani

  • Using onLoad event in jsp?

    Hi,
    i have created a link in my controller class dynamically and i want this link to load into my iView without clicking on Link control.
    That is , when the user clicks on the page having my iView he should see the contents of the link. For eg . an HTML report.
    How shall i accomplish this?
    i used onLoad event in the <body> but it  is not working.
    Thanks
    Saurabh

    Hi Saurabh,
    Try this:
    <head>
    <script language="javascript">
    function openwin(){
       var newWin = window.open("the real url", ....); // params and stuff
    window.onLoad = openwin();
    </script>
    </head>
    <body onLoad="openwin()">
    </body>
    </html>
    Regards,
    Pooja.
    Message was edited by: Pooja S

  • How can I use my Events album for the Screen saver?

    I would like to use the "Events" album from my iPhoto 09 for my Screen Saver pictures source, but can't seem to find a way to do this.  I tried to create a new folder in the Screen Saver preferences, but couldn't find a way to get to the Events album.
    If anyone has a tip I would appreciate the help.  I'm using Snow Leopard on a 27" iMac. Thanks much!

    Try System Preferences - Desktop & Screensaver - Click the + sign at the bottom of the box on the left (see the picture) then choose where the photos are stored and you should be good to go.

  • How to view the image by using mousedrag event?

    How can i move the full image by using mousedrag event(not using scrollBar and the frame should not reziable).
    e.g
    click the mouse in image and drag right side or towards down,the image should move to till the end in width or height
    import java.awt.*;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    public class LoadAndShow extends JPanel implements MouseMotionListener{
        BufferedImage image;
        Dimension size = new Dimension();
        public LoadAndShow(BufferedImage image) {
            this.image = image;
            size.setSize(image.getWidth(), image.getHeight());
         * Drawing an image can allow for more
         * flexibility in processing/editing.
        protected void paintComponent(Graphics g) {
            // Center image in this component.
            int x = (getWidth() - size.width)/2;
            int y = (getHeight() - size.height)/2;
            g.drawImage(image, x, y, this);
        public Dimension getPreferredSize() { return size; }
        public static void main(String[] args) throws IOException {
             //set the image path
            String path = "Images/dinette.jpg";
            BufferedImage image = ImageIO.read(new File(path));
            LoadAndShow test = new LoadAndShow(image);
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setResizable(false);
            f.add(test);
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
            //showIcon(image);
         * Easy way to show an image: load it into a JLabel
         * and add the label to a container in your gui.
        private static void showIcon(BufferedImage image) {
            ImageIcon icon = new ImageIcon(image);
         public void mouseDragged(MouseEvent arg0)
              // TODO drag the image
         public void mouseMoved(MouseEvent arg0)
    }

    Following is the updated code for image move on mouse move.
    import java.awt.*;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseMotionListener;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import java.awt.event.MouseListener; public class LoadAndShow extends JPanel implements MouseMotionListener,MouseListener{
    BufferedImage image;
    Dimension size = new Dimension();
    Point pt;//Maintain the Current Pressed Values of Mouse
    Rectangle rect;//Maintain the moving position of Mouse     public LoadAndShow(BufferedImage image)     {
    this.image = image;
    size.setSize(image.getWidth(), image.getHeight());
    this.addMouseListener(this);
    this.addMouseMotionListener(this);
    * Drawing an image can allow for more
    * flexibility in processing/editing.
    protected void paintComponent(Graphics g) {
    // Center image in this component.
    int x = (getWidth() - size.width)/2;
    int y = (getHeight() - size.height)/2;
    g.drawImage(image, x, y, this);
    }     public Dimension getPreferredSize() { return size; }     public static void main(String[] args) throws IOException {
    //set the image path
    String path = "C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\Sample Pictures\\Winter.jpg";
    BufferedImage image = ImageIO.read(new File(path));
    LoadAndShow test = new LoadAndShow(image);
    JFrame f = new JFrame();
    f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    f.setResizable(false);
    f.add(test);
    f.setSize(400,400);
    f.setLocation(200,200);
    f.setVisible(true);
    //showIcon(image);
    * Easy way to show an image: load it into a JLabel
    * and add the label to a container in your gui.
    private static void showIcon(BufferedImage image) {
    ImageIcon icon = new ImageIcon(image);
    }     public void mouseClicked(MouseEvent e) {
    }     public void mousePressed(MouseEvent e) {
    pt = e.getPoint();
    rect = this.getBounds();
    }     public void mouseReleased(MouseEvent e) {
    }     public void mouseEntered(MouseEvent e) {
    }     public void mouseExited(MouseEvent e) {
    }     public void mouseDragged(MouseEvent e) {
    Point p=e.getPoint();
    moveImageOnMouseMove(p);
    }     public void mouseMoved(MouseEvent e) {
    * This Function is used for calculate the Dragging point of Mouse and set the image on particular points
    * @param p Point hold the dragging point of Mouse
    private void moveImageOnMouseMove(Point p)
    int xDelta = p.x - pt.x;
    int yDelta = p.y - pt.y;
    rect.x = rect.x + xDelta;
    rect.y = rect.y + yDelta;
    this.setLocation(rect.x, rect.y);
    this.repaint();
    }}   If you have any query related with the code please let me know.
    Manish L
    MS Technology
    www.ms-technology.com
    Edited by: mannymst on Sep 18, 2008 5:53 AM
    Edited by: mannymst on Sep 18, 2008 6:05 AM

  • Can I use an event structure within another event structure

    Hi
    Can use an event structure within another event structure?
    Thanks
    Yasamin
    Solved!
    Go to Solution.

    I attached my Vi from my old project (MY OLD VI). It is worked correctly.
    But I decided that use event structure instead of case structure.
    I attached my new VI as a picture and as a LabVIEW VI too (network_analyzer_8510_920527 Frequency Sweep.vi )
    My graphs show by pressing "case 5: button (Bottom of page right hand).
    Then I want to show each of graph in a large window( in a new VI) by clicking a key (for example "show 1").
    Thanks
    Yasamin
    Attachments:
    my VI.JPG ‏256 KB
    network_analyzer_8510_920527 Frequency Sweep.vi ‏72 KB
    MY OLD VI.vi ‏69 KB

  • Know alv grid on event click

    Hi,
    Is it possible to know the alv grid (TYPE REF TO cl_gui_alv_grid) on the event click? In fact, on a screen, I have 2 alv grids and I would like to store the alv grid name for a process at click moment.
    Thanks.
    Edited by: Xavier Couloumies on Sep 12, 2008 2:07 PM

    you might declare two differents methods for the two grids
    PUBLIC SECTION.
      METHODS:
        HANDLE_DOUBLE_CLICK
          FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
            IMPORTING E_ROW
                      E_COLUMN,
        HANDLE_DOUBLE_CLICK2
          FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
            IMPORTING E_ROW
                      E_COLUMN.
    something like that
    then , in the implementations do something like this
    METHOD HANDLE_DOUBLE_CLICK.
         PERFORM X USING GRID = '1'.
    ENDMETHOD.
    METHOD HANDLE_DOUBLE_CLICK2.
         PERFORM X USING GRID = '2'.
    ENDMETHOD.
    and do the respective validations on that form
    hope this help

  • Using multiple events structure inside state machine to control the Tab

    Hi y'all,
    Anne here.I have a Tab indicator in my front panel and I want to be able to control the flow of my program based on what controls I clicked inside the tab. I am using a state machine architecture and inside every state, I use an event structure to check for user interaction  to determine the next state and what tab page is going to be displayed next. This means that I am actually using multiple event structures in my application and I use them in just one while loop, but just that they are not running in parallel since I am only using "one event structure per state" which means that only one event structure is running at one time. My questions is, programming technique wise, am I doing it correctly? So far, I am not facing any problem (I am still in the early stage of the project) but I want to check with you all first on your opinion regarding this architecture. Will there be any issue on using multiple event structures in a vi? Since I will be using a tab, and the controls available in the tab will be the controls that will control my event structure for that state, by right, there should be no issue. Am I correct to assume this? Is there any limit on the use of event structures? I have attached here a simple sample of the architecture that I am talking about for your reference. I have attached a 2010 version and a 8.6 version. Let me know what you think or any opinions that you may have.
    Hoping to hear from you soon! Thanks so much in advance!
    Cheers!
    Anne
    Attachments:
    State Machine-Event Structure Sample_2010.vi ‏19 KB
    State Machine-Event Structure Sample_8.5.vi ‏25 KB

    Hi jak888,
    I decided to use tabs cause I don't want to have subvi pop ups every time i need to perform the process in the state and show an update in the front panel. This is actually going to be more of an ATE where you will have to choose first whether the one using is the operator or the engineer. If the operator is logged in, she will proceed to choose what test to run (this state will have its own event structure). This part, I don't want a pop up, so what happens is that from Login page, if the user logs in as operator, the tab will automatically switch to the Test Selection page. After selecting the test, it will proceed to Start Test state and the tab will show the Result Summary page. If the user logs in as engineer, then a totally different tab will be automatically shown next and so on. By doing this, I will be able to show an update on the front panel objects without having the subvis pop up. I will also just need to use the call reference functions to call my subvis, making my Main VI more generic. The tab Page header will be hidden so the operator will actually not see that there is a tab and that there are a lot of controls and indicators cause they are hidden in the tabs and that page will only be shown based on what they selected from the main tab. 
    I appreciate your thoughts! thanks so much!

  • Using nested Event Structures

    Hi ,
    I wanna clarify whether using nested event structures in a vi is good Labview programming ?
    I have a vi which has two event structures nested,assuming it has two buttons GO1 and GO2.
    The outer event structure handles event triggered by GO1 and inner event structure handles Go2.
    The outer structure does fine by handling the button click on GO1,the problem is inability of inner
    event structure to handle click on GO2 button.
    I'm also attaching a sample.vi for reference.It would be great if you could help me
    solve this issue.Thanks in advance.
    Regards,
    Nalin
    Attachments:
    sample.vi ‏30 KB

    You can actually make this work, but like the others, I don't recommend it.
    To make your VI work. Right click on the "GO1" structure and select "Edit Events.....". At the bottom of the dialog, there is a checkbox that reads "Lock Front Panel until the event case for this event completes". With this checked, all front panel objects are locked until the GO1 event completes. This is what is causing the GO2 button not to work. Uncheck this and your application will work as you want it to.
    If your intent is to have GO2 disabled until you click GO1, try the attached VI. It uses property nodes to disable the GO2 button until you click the GO1.
    Another thing that you have setup that doesn't look necessary is the Timeout event, especially set to 1ms. The basic idea of the Event Structure is to not have to constantly poll for front panel events. If you just deleted the timeout event cases and removed the 1ms constant, your application would just well, but would just sit and wait for you to click a button.
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    sample.vi ‏27 KB

  • Applescript to change image resolution using image events

    Does anyone have an applescript to change image resolution using image events in OSX? I want to optimize my images for iWeb. I want to use a shell script in an applescript as a droplet or as a service in Automator. I'd like to leave the original intact.

    For what type of use in iWeb are these photos intended? If it's for adding to a page (not a photo or album page) iWeb does a great job of optimizing. See my post in this topic: Re: Photo Resolution in iWeb.
    You can optimize an entire site with an application like Web Site Maestro. It can reduce the site's size by up to 49%. Here's the settings available for the optimization:
    Click to view full size
    It's very effective.
    OT

  • DAC Form: Using rowsetPopulated event (NullPointerException raised!!)

    Hi,
    I am using rowsetPopulated event to display the total
    of my column field.I have a textfield for this purpose
    All goes well as far as showing the total is concerned
    in the textField.
    But, when I click the total textfield (although I donot require to do this!!) I get a NullPointerException.
    This is the output in the console :
    java.lang.NullPointerException
    oracle.dacf.dataset.InfoObject oracle.dacf.dataset.ValidationManager._findProducer(java.lang.String)
    oracle.dacf.dataset.InfoObject oracle.dacf.dataset.ValidationManager.getInfoObject(java.lang.String)
    void oracle.dacf.control.NavigationManager.displayLOV(java.lang.String)
    boolean oracle.dacf.control.NavigationManager._changeFocus(java.lang.String, java.lang.String, boolean)
    boolean oracle.dacf.control.NavigationManager.validateFocusChange(oracle.dacf.control.Control)
    void oracle.dacf.control.swing.TextFieldControl.focusGained(java.awt.event.FocusEvent)
    void java.awt.AWTEventMulticaster.focusGained(java.awt.event.FocusEvent)
    void java.awt.Component.processFocusEvent(java.awt.event.FocusEvent)
    void javax.swing.JComponent.processFocusEvent(java.awt.event.FocusEvent)
    void java.awt.Component.processEvent(java.awt.AWTEvent)
    void java.awt.Container.processEvent(java.awt.AWTEvent)
    void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
    boolean java.awt.LightweightDispatcher.setFocusRequest(java.awt.Component)
    void java.awt.Container.proxyRequestFocus(java.awt.Component)
    void java.awt.Container.proxyRequestFocus(java.awt.Component)
    void java.awt.Container.proxyRequestFocus(java.awt.Component)
    void java.awt.Container.proxyRequestFocus(java.awt.Component)
    void java.awt.Container.proxyRequestFocus(java.awt.Component)
    void java.awt.Container.proxyRequestFocus(java.awt.Component)
    void java.awt.Container.proxyRequestFocus(java.awt.Component)
    void java.awt.Component.requestFocus()
    void javax.swing.JComponent.requestFocus()
    void javax.swing.text.DefaultCaret.mousePressed(java.awt.event.MouseEvent)
    void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
    void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
    void java.awt.AWTEventMulticaster.mousePressed(java.awt.event.MouseEvent)
    void java.awt.Component.processMouseEvent(java.awt.event.MouseEvent)
    void java.awt.Component.processEvent(java.awt.AWTEvent)
    void java.awt.Container.processEvent(java.awt.AWTEvent)
    void java.awt.Component.dispatchEventImpl(java.awt.AWTEvent)
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
    void java.awt.LightweightDispatcher.retargetMouseEvent(java.awt.Component, int, java.awt.event.MouseEvent)
    boolean java.awt.LightweightDispatcher.processMouseEvent(java.awt.event.MouseEvent)
    boolean java.awt.LightweightDispatcher.dispatchEvent(java.awt.AWTEvent)
    void java.awt.Container.dispatchEventImpl(java.awt.AWTEvent)
    void java.awt.Window.dispatchEventImpl(java.awt.AWTEvent)
    void java.awt.Component.dispatchEvent(java.awt.AWTEvent)
    void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent)
    boolean java.awt.EventDispatchThread.pumpOneEvent()
    void java.awt.EventDispatchThread.pumpEvents(java.awt.Conditional)
    void java.awt.EventDispatchThread.run()
    How do I go about it?
    TIA
    Sandeep
    null

    As many of the recent posts on this forum indicate, we have done extensive work on improving the documentation for JDeveloper 3.2. Here is an excerpt from one of the sections which describes Validation and Change events. I'll post a description of the Navigation events in another message due to size limitations.
    About InfoProducer Change Events
    Calculated fields display values that depend on the values of other fields. For instance, the value of a Total field may be calculated at the level of the row or the rowset. The AttributeInfo or RowSetInfo components provide a set of events that you can use to assess when column data has changed and perform updates of calculated fields on the Java client. When one of these events fires, the application can perform an automatic calculation to update the contents of the calculated field.
    The following table provides a high-level description of these InfoProducer-change events:
    Event Type
    Triggering Action
    attributeChanged
    Occurs when an attribute's value is changed.
    rowAdded
    Occurs when a row is added to a rowset.
    rowUpdated
    Occurs when a row is updated in a rowset.
    rowToBeRemoved
    Occurs when a row is about to be removed from a rowset. This event fires when a user presses the Delete key, but before the row is actually deleted from the rowset.
    rowsetCleared
    Occurs when all rows are deleted and the rowset is cleared.
    rowsetPopulated
    Occurs when the rowset is populated, for example, when a user navigates to the next item in the master table or when a new query is executed (for example, by submitting a parameterized query using the Find Panel).
    In summary, data form events let you update a calculated field when a user:
    Updates a field value
    Adds and removes rows
    Displays a new detail
    About InfoProducer Validation Events
    In those situations where you need to perform validation in the data form, the InfoProducer components provide a rich set of UI-validation events that you can exploit. For example, you might use an InfoProducer-validation event:
    To enable the Commission field when a user adds a new employee to either the Sales or Consulting department.
    To automatically calculate a new running total whenever the quantity or price of a line item is changed on an order entry form.
    You can define InfoProducer-validation events for:
    SessionInfo data item objects, which can receive the following events:
    validateRowSet
    validateRow
    validateAttribute
    RowSetInfo data item objects, which can receive the following events:
    validateRowSet
    validateRow
    validateAttribute
    AttributeInfo data item objects, which can receive the following event:
    validateAttribute
    The following table highlights the differences between these various InfoProducer-validation levels:
    Event Type
    Triggering Action
    Use when you want to:
    validateRowSet
    Occurs when focus changes from one modified RowSet to another RowSet in the same session.
    Note: Currently there is no session-level event support.
    Perform a calculation over all the rows in a RowSet
    For example, when the sum of the order items cannot exceed a prescribed customer order limit.
    Perform a validation across multiple rows
    For example, to verify that only one person is the head of a department.
    validateRow
    Occurs when focus changes from one row to another row in the same RowSet.
    Perform a validation across multiple columns
    For example, when the sum of the salary plus commission plus a sign-on bonus cannot exceed a maximum, and you want to defer validation until the user has finished entering or updating all fields.
    validateAttribute
    Occurs when focus changes from one modified Attribute (column) to another Attribute in the same Row.
    Ensure the validity of data at an atomic level
    For example, to check the state of an order states: pending, backordered, or awaiting_confirmation.
    Provide feedback to the user as quickly as possible
    For example, when a credit card number is invalid.
    How Data Forms Propogate InfoProducer Validation Events
    When a user's data form interaction generates a validation, the data form typically propagates the event to more than one bound InfoProducer object. For example, the simple action of selecting a field in a new row of a InfoSwing grid will trigger these events:
    validateAttribute on the bound AttributeInfo object
    validateAttribute on the bound RowSetInfo object
    validateAttribute on the bound SessionInfo object
    validateRow on the bound RowSetInfo object
    validateRow on the bound SessionInfo object
    validateRowSet on the bound RowSetInfo object
    validateRowSet on the bound SessionInfo object
    Because user interactions can trigger events across multiple bound InfoProducer objects, data forms follow an event hierarchy that determines the sequence by which the system seeks to handle the event. InfoProducer events propagate up a tree structure that is based on the heirarchy of attributes, rows, and rowsets.
    The hierarchy of InfoProducer events is represented by this tree:
    RS1
    R1 R2
    A1 A2 A3 A4
    where the attribute events fire first (at the bottom of the tree), followed by the row events, and finally the rowset events.
    When the user generates a validation event for a bound InfoProducer object, the data form generates the corresponding events depending on where in the tree the action takes place. For example:
    Moving between two rows in the same rowset (from R1 to R2), would generate these validation events (assuming the user moved the focus from the field for A1):
    validateAttribute event delivered at A1, R1, RS1
    validateRow event delivered at R1, RS1, and the session
    validateRowSet event delivered at RS1 and the session
    Moving between two attributes in the same row (from A1 to A2), would generate these validation events:
    validateAttribute event delivered at A1, R1, RS1, and the session
    The following table describes the complete sequence in which InfoProducer validation events are first fired and then delivered to listeners:
    Events are fired in this order:
    Events are delivered in this order:
    1. attribute events
    At the attribute level
    At the row level
    At the rowset level
    At the session level
    2. row events
    At the row level
    At the rowset level
    At the session level
    3. rowset events
    At the rowset level
    At the session level
    Handling InfoProducer Events at the Desired Level
    The InfoProducer object you choose to handle the attribute, row, or rowset event, will be based on:
    The nature of the event
    The response required by the event
    For instance, to write more efficient code, you may choose not to handle attribute events at the level of the AttributeInfo object. Instead, you could write a single event handler for the RowSetInfo object to perform validation for all the fields.
    Thus, the further up the hierarchy you position your event handler, the more generic the response will be.
    null

  • Can we use control events in smartforms

    Hi all,
    I am srinivas. can we use control events in smartforms, I mean at new, at end of ..... if these are not used can you suggest me any alternative....
    Actually my requirement is like a classical report, for which I need to display subtotal and grand totals based on two fields....
    Please help me out in this issue as it is very urgent.
    <b><REMOVED BY MODERATOR></b>
    Thanks in advance....
    Regards,
    Sri...
    Message was edited by:
            Alvaro Tejada Galindo

    Hi Nick,
            Thanks for the reply... it is really very useful for me.
    As I discussed in my earlier mail regarding the output sequence, which should be in the below format.
                                           number       quantity uom      unitprice        amount curr
    plant
           material
                   date
                                             x                 y                    z                      A           
                                             e                 f                     g                      h
                                             p                 q                     r                      s
                   subtotal date..... 1                   2                    3                       4
                   subtotal  material.5                  6                    7                       8
    As you said when I using <b>event of Begin</b> its working fine. but while using the <b>event of end</b>,  I am specifying date and then matnr (sort) its taking(nodes are created mean first matnr and then date) in the reverse order and when I am taking matnr and date it is placing the events(nodes) in the right order but the order date is not triggering.
    can please tell me how to proceed here..
    waiting for your reply..
    Regards,
    Srinivas

Maybe you are looking for

  • New W530 setup questions...

    Just received my W530 in the mail and I've been trying to get up to speed on all the new technology out there and how to properly setup my computer... I've tried various searches but haven't got a clear answer I don't think - here goes:  W530 8gb RAM

  • Category Titles all ending in e.g. Windows 8?

    Why do many of the category titles on this forum end in "e.g. Windows 8"? I'm looking under hardware, but Windows 8 is of course software, I don't get it. Is there some meaning here I'm missing? Or is it what seems more likely that the creator of the

  • My iphone 5 is not being detected on itunes

    just bought an iphone 5 second hand and it wont show up on itunes. my partners iphone 5 is showing up but not mine. ive tried differnt usb port and turned lap top off and on. can someone help me please

  • HP Mini 110-3520ca constantly restarts when trying to restore from usb flash drive

    Hi, I have a HP Mini 110-3520ca that I upgraded to Windows 8, but was having issues with freeze ups and shut downs so I decided to go back to Windows 7 Starter.    When I tried to restore to factory default the files were corrupted and I couldn't res

  • Backup Oracle EBS R12.1.3

    Dear friends we have a single node oracle EBS server I need to take backup. kindly provide me the steps or oracle document. the following are the details OS: RHEL 5.7 EBS Version :R12.1.3 DB: 11.1.0.7.0 Thanks.