Filters and  events

whats the main difference between the filters and events

i mean to say that there are 3 methods in filters whihc are init ,doFilter and destroy and in events ,there are 2 methods contextInitialized and context destroyed ...
when we use the filters ,the init method is called when server is started and the same is true with the events that the contextInitiliazed method is called at the same time. and the doFilter is called along with the service methods of the servlet ..the HttpSessionListener session methods are along with the service methods ...
so i don find whats the difference between events and filters though the definition says the filters are called before the request,response and filter chain ..and events happens along with the methods of the servlets..
thnaks and regards.....

Similar Messages

  • Order of elements and events.

    INTRO
    Hi Oracle community.
    A while ago I started a thread here on the forum where I had put three different subjects to be treated. The user jsmith guided me saying that I was supposed to separate things, dividing each subject in a separate thread. The original discussion is at the following link:
    Interesting things, however, unknown? StackPane, animations and filters.
    ABOUT
    So in this discussion, I will be talking about input events and maybe about event filters. I created a JavaFX 8 (b123) application that checks the mouse click on certain nodes. Basically I have a panel of buttons. Behind this panel, I have a scroll pane with rectangles. The rectangles are contained within a Group, and the buttons are in a VBox. The Group is set as ScrollPane content. VBox and ScrollPane are within a StackPane, which becomes the root of scene graph. If we observe the nodes tree, we'll find the following scenario:
    IMAGE
    Here is my source code:
    import javafx.application.Application;
    import javafx.event.EventHandler;
    import javafx.geometry.Pos;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ScrollPane;
    import javafx.scene.input.MouseEvent;
    import javafx.scene.layout.StackPane;
    import javafx.scene.layout.VBox;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.stage.Stage;
    public class ScrollTest extends Application
        //                                                                                                       MAIN
        public static void main(String[] args)
            Application.launch(args);
        //                                                                                                 INSTÂNCIAS
        // CONTROLS
        private Rectangle[] rectangles;
        private ScrollPane scrollP;
        private Button[] buttons;
        // LAYOUTS
        private StackPane root;
        private Group group;
        private VBox vbox;
        //                                                                                                  INÍCIO FX
        @Override public void start(Stage estagio) throws Exception
            this.iniFX();
            this.confFX();
            this.adFX();
            this.evFX();
            Scene cenario = new Scene(this.root , 640, 480);
            estagio.setScene(cenario);
            estagio.setTitle("Programa JavaFX - RDS");
            estagio.show();
        /** Just instantiate JavaFX objects.*/
        protected void iniFX()
            // CONTROLS
            this.rectangles = new Rectangle[5];
            this.scrollP = new ScrollPane();
            this.buttons = new Button[6];
            // LAYOUTS
            this.root = new StackPane();
            this.group = new Group();
            this.vbox = new VBox();
        /** Just sets the JavaFX objects.*/
        protected void confFX()
            // CONTROLS
            for(int count = 0 ; count < this.rectangles.length ; count++)
                this.rectangles[count] = new Rectangle();
                this.rectangles[count].setWidth(Math.random() * 100 + 20);
                this.rectangles[count].setHeight(Math.random() * 100 + 20);
                this.rectangles[count].setFill(Color.rgb((int) (Math.random() * 255) , (int) (Math.random() * 255) , (int) (Math.random() * 255)));
                this.rectangles[count].setTranslateX(Math.random() * 600);
                this.rectangles[count].setTranslateY(Math.random() * 600);
                this.rectangles[count].setRotate(Math.random() * 360);
            for(int count = 0 ; count < this.buttons.length ; count++)
                this.buttons[count] = new Button("Button - " + count);
            // this.scrollP.setVbarPolicy(ScrollBarPolicy.ALWAYS);
            // this.scrollP.setHbarPolicy(ScrollBarPolicy.ALWAYS);
            this.scrollP.setPrefSize(400 , 400);
            // LAYOUTS
            this.vbox.setAlignment(Pos.CENTER);
            this.vbox.setSpacing(20);
            // This doesn't solve my problem.
            // this.vbox.setMouseTransparent(true);
        /** Just create the realtion between nodes, and the root.*/
        protected void adFX()
            for(int count = 0 ; count < this.rectangles.length ; count++)
                this.group.getChildren().add(this.rectangles[count]);
            for(int count = 0 ; count < this.buttons.length ; count++)
                this.vbox.getChildren().add(this.buttons[count]);
            this.scrollP.setContent(this.group);
            this.root.getChildren().add(this.scrollP);
            this.root.getChildren().add(this.vbox);
        /** Just add some events to some nodes for debugging.*/
        protected void evFX()
            this.vbox.setOnMousePressed(new EventHandler<MouseEvent>()
                @Override public void handle(MouseEvent e)
                    System.out.println("Mouse pressed inside VBox.");
            this.scrollP.setOnMousePressed(new EventHandler<MouseEvent>()
                @Override public void handle(MouseEvent e)
                    System.out.println("Mouse pressed inside ScrollPane.");
            if(this.rectangles.length > 0)
                this.rectangles[0].setOnMousePressed(new EventHandler<MouseEvent>()
                    @Override public void handle(MouseEvent e)
                        System.out.println("Rectangle pressed.");
                        rectangles[0].setFill(Color.rgb((int) (Math.random() * 255) , (int) (Math.random() * 255) , (int) (Math.random() * 255)));
    THE PROBLEM
    I wish I could click the mouse on VBox buttons, but also in the scroll pane, and in it's internal contents (the rectangles). I tried changing the VBox mouseTransparent property to true, and modify mouseTransparent to false on each VBox button, but that did not work. I've been reading the JavaFX documentation talking about routing events, and found the following:
    The route can be modified as event filters and event handlers along the route process the event. Also, if an event filter or event handler consumes the event at any point, some nodes on the initial route might not receive the event.
    Could it be that VBox is filtering events so they do not reach ScrollPane? Or is this being done by StackPane in some other manner? Does anyone have any idea what I could do?
    In any case, I thank you for your attention.

    You might need to modify the event dispatch tree so that the events get beyond the VBox. I'm not saying this is the right thing to do, but something worth looking at.
    root.setEventDispatcher(new EventDispatcher() {
    @Override
    public Event dispatchEvent(Event event, EventDispatchChain tail) {
    tail.append(group.getEventDispatcher());
    return tail.dispatchEvent(event);
    There is some info on event processing at Handling JavaFX Events: Processing Events | JavaFX 2 Tutorials and Documentation

  • Extraction and loading of Training and Event Management data (0HR_PE_1)

    hello,
    I've got the following doubt:
    before BI 7.0 release, extractor 0HR_PE_1 extracts event data (eventid, attendee id, calday,...) but if you load straight to cube 0PE_C01, as Calendar year/month needs a reference date (for example, event start date), you'll get total duration of event in hours or days refered to event star date.
    So in a query filtered by month, you get total duration of an event that starts in the filtered month but it couldn`t end until few months later o year later, so you don´t get appropiate information.
    Example:
    Event          calday        Hours
    10004377  20081120   500        but from event_attr event end date is 20090410.
    In a query filtered by 200811 you get total duration time (500 hours when in 200811 event hours have been 20) or if you filter by any month of 2009 you don´t get information of duration of that event.
    I had to create a copy of standar cube (without calday, only Calendar year/month, Calendar year in time dimension) and disaggrate data creating as many entries for an event as months lasts and adjust calculation of ratios duration of event (duration of event in each month/ total duration of event).
    The question is: Is there any improvement or change on business content in BI 7.0 to treat Training and Event Management data? Has anybody had to deal with that?
    Thank you very much.
    IRB

    Hi,
    TEM data is stored in HRP tables.
    You can load the catalog by creating LSMWs for objects Business event group (L), Business event types (D), Locations (F), Organizers (U) as per requirement.
    LSMW for tcode PP01 can be used to create these objects.
    To create Business Events (E) you can create LSMW for PV10/PV11.
    To book attendee create LSMW for tcode PV08 as here you can specify the actual business event ID which reduces ambiguity.
    tcode PV12 to firmly book events
    tcode PV15 to follow up
    Hope this helps.
    Regards,
    Shreyasi.

  • Web dynpro abap applications in filtering and sorting in tables

    Anyone can send me some simple applications based on
    webdynpro abap filtering and sorting concepts in tables....

    >
    cranjith kumar wrote:
    > Anyone can send me some simple applications based on
    > webdynpro abap filtering and sorting concepts in tables....
    First of why not use the ALV Component.  It has built in filtering and sorting so that you don't have to program those aspects.  It also has a nice UI for letting the user design the sorting and filtering that they want. 
    If you need sorting and filtering in the table UI element instead, you don't need anyone to send you sample applications. There are already some in your system.  Have a look at the component WDR_TEST_SORT_TAB_PROP.  Also have a look at the documentation on table events:
    [http://help.sap.com/saphelp_nw70/helpdata/EN/2d/390e422dfcde2ce10000000a1550b0/frameset.htm|http://help.sap.com/saphelp_nw70/helpdata/EN/2d/390e422dfcde2ce10000000a1550b0/frameset.htm]

  • HT5149 Will uninstalling and reinstalling fcpx effect my pre existing projects and events? That is to say, will it delete them?

    Hey my FCP X has stopped working. It lasts about 30 seconds and then the beach ball comes up and it doesn't respond after that. It's pretty much unusable now. I was thinking of uninstalling and reinstalling it. Will that delete my existing projects and events or will they stay on my system?
    Thanks

    This is my pet checklist for questions regarding FCP X performance - you may have already addressed some of the items but it's worth checking.
    Check the spec of your Mac against the system requirements:
    http://www.apple.com/finalcutpro/specs/
    Check the spec of your graphics card. If it's listed here, it's not suitable:
    http://support.apple.com/kb/HT4664
    Make sure you're using the latest version of the application - FCP X 10.0.3 runs very well on my 2009 MacPro 2 x 2.26 GHz Quad-Core Intel Xeon with 16 GB RAM and ATI Radeon HD 5870 1024 MB. I run it with Lion 10.7.3.
    Check that you have at least 20% free space on your system drive.
    If you have not already done so, move your Projects and Events to a fast (Firewire 800 or faster) external HD. Make sure the drive's formatted OS Extended (journalling's not required for video). You should always keep at least 20% free space on the Hard Drives that your Media, Projects and Events are on.
    If you are getting crashes, there is some conflict on the OS. Create a new (admin) user account on your system. Do NOT import any of the settings etc from the old account - simply use FCP X from there - if it runs a lot better, there's a conflict and a clean install would be recommended - but remember, if you reinstall the system, and then use Migration Assistant (or anything else) to import all your old settings etc etc, you may well be importing the cause of the conflict in the first place.
    Keep projects to 20 mins or less (about half that for Multicam). If you have a long project, work on short sections, make them into Compound Clips and then paste these into a final project for export.
    If you ever experience dropped frames, I strongly recommend you use ProRes 422 Proxy - it edits and plays back like silk because the files are small but lightly compressed (not much packing and unpacking to do) - but remember to select 'Original or Optimised Media' (FCP X Preferences > Playback) just before you export your movie, otherwise it will be exported at low resolution.
    If you have plenty of processor power, for the ultimate editing experience, create Optimised Media - most camera native files are highly compressed and need a great deal of processor power to play back - particularly if you add titles, filters or effects. ProRes 422 takes up much more hard drive space but is very lightly compressed. It edits and plays back superbly.
    Hide Audio Waveforms at all times when you don't need them (both in Browser and Storyline / Timeline). They take up a lot of processor power. (Use the switch icon at the bottom-right of your timeline to select a format without waveforms if you don't need them at the moment, then switch back when you do).
    Create folders in the Project and Events libraries and put any projects you are not working on currently, in those folders. This will help a lot. There's a great application for this, called Event Manager X - for the tiny cost it's an invaluable application.
    http://assistedediting.intelligentassistance.com/EventManagerX/
    Unless you cannot edit and playback without it, turn off Background Rendering in Preferences (under Playback) - this will help general performance and you can always render when you need to by selecting the clip (or clips) and pressing Ctrl+R.
    The biggest single improvement I saw in performance was when I upgraded the RAM from 8 GB to 16.
    Andy

  • Business Event Brochure in Training and Event Management?

    Hi Guru's
    My client has a requirement as follows. The training administrator decides the Business Event Types which for which superiors can book their subordinates or not. Those events are stored at a particular place. Once the administrator stores them, a mail should be triggered to all the superiors. Thus superior can have a list of event types for which he can book his subordinates. When he books for such events, a mail should be triggered to his subordinates regarding the training event. If an employee books for an event, a mail should be triggered to his superior for approval.
    How is this possible? According to me, those events will be "Included in Brochure" (in Business Event Type Infotype). Am I right?
    Please suggest me.
    Points assured!
    Thanks in advance.

    Hello ,
    see the links it might help :
    Business processes of Training and Event Managment
    Training and Event Management
    Lots of workflow

  • TEM and FI/CO   (Training and Event Management)

    Hi All,
    I wish to track actual cost per event in PE (TEM - Training and Event Management).  Was considering having a Internal order per Instance of event. Have any Idea on how to set up something like this?
    Appreciate all ideas,
    LB

    Hi Dean,
    using internal orders you have to consider that sending and receiving cost center have to in the same company code.
    If you do not want to distribute the costs to FI/CO but only report them, you can use the cost items provided by TEM. We have set up something similar for our plants in South Europe.
    We have created some cost items and fill them manually with the training costs. Additionally we have created a report that evaluated this costs and combines them with the employee costs (derived from salary).
    Best regards
    Michael

  • How to incorporate training and event management module in ess1.0

    Hi all,
    I am implementing ess1.0 on EP6.0, NW7.0, ecc6.0.
    now in ess1.0 i could not find traing and event manag. module, but i found it in ITS version of ess.
    how can i incorporate 'traing and event manag' module in ess1.0??
    do i need to download two version of ess?...i doubt if its feasible!...can anybody guide me on this?
    I am new to portal, and hence trying to learn thing in EP ESS...please throw in your help ASAP
    Regards,
    JJ

    hi all,
    can anybody please throw some light on the above query?
    i m trying to search in forum but i am unable to find any reasonable answer to this.
    Regards,
    JJ

  • Course Catalog in Training and Event  Management

    Hi TEM Gurus,
    My client wants that users can see only courses of training and event management business catalog in ESS, they can't book or do any activities related to TEM. How we can put restriction for that requirement. We are using ITS services PV7I and PV8I.
    Could you please update me as early as posisble ?
    Thanks and Best Regards
    Puneet

    Hi Dear,
    Thanks a lot for quick reply. Could you please give me details inofmration .. How to do changes in the system..
    How to disable book and cancel functionality from the portal.
    Thanks and Best Regards

  • PMS and Training and Event Management

    Hi Gurus,
    Our one the of the client implementing PMS and Training and Event Management.
    Could anyone suggest me what are the questions need to be asked in initial meeting with the client.
    and if anyone has configuration documents on PMS and Training and Event management please forward to me,
    my id would be [email protected]
    Regards,
    Rajesh Soma 

    The prerequisites of PMS is OM and PA is mandatory,
    PMS is just like an interaction between the manager and the employees in an enterprise, based
    On his work they are going to put some rating etc.
      In the standard system employee called as “Appraise” Manager called as an “Appraiser” and Manager’s Manager called as Higher level manager “Part Appraiser “ can be a self-peer & customer they can save & provide their Comments to  the “Appraiser”
    First you take the requirement form client side what are the process and how Appraisal system in client then you have to prepare one sheet like Preparation ,Planning,Process
    for business functions and other check below :-
    HCM, Performance Management (Flexible) 01 - SAP Documentation
    HCM, Performance Management (Predefined) 03 - SAP Documentation
    check below once :-
    Tcodes for PMS Basic Setting
    OOHAP_BASIC      Basic Appraisal Template Settings
    OOHAP_CATEGORY      Appraisal Category Settings
    OOHAP_CAT_GROUP Category Group Settings
    OOHAP_SETTINGS_PA PA: Settings
    OOHAP_VALUE_TYPE Standard Value Lists
    T codes for PMS Process
    PHAP_ADMIN     Administrator - Appraisal Document
    PHAP_CATALOG     Appraisal Template Catalog
    PHAP_CHANGE     Change Appraisal Document
    PHAP_CREATE     Create Appraisal
    PHAP_PREPARE     Prepare Appraisal Documents
    PHAP_SEARCH     Evaluate Appraisal Document
    start your work with above things any other post here again ......

  • Appraisals & training and event management problem

    Hi gurus.
    I'm trying to configured the integration between Appraisal and Training & Event management (Appraising a Business Event and Attendee Appraisal
    I set an attribute HAP00 REPLA = A .
    But two problems occurred.
    1.
    The definition of Appraisal catalog for employees is no problem. But I have a problem with definition of Appraisal catalog for Business event and for Attendees.
    Through the definition of Appraisal catalog via SPRO (Training and Event Management/Recurring Activities/Appraisals/Edit Appraisals Catalog) its possible to create an appraisal templates only for employees (it looks like that, because there is only Category group Personnel Appraisals and it’s not possible to add new category for example Attendee Appraisal).
    Can somebody help me where I can define appraisal templates for Event management or how can I get the Appraisal catalog category groups - Appraising a Business Event and Attendee Appraisal?
    2.
    I set the attributes SEMIN EVAEV/EVAPA to the values 2/3 in connection with table T77BF.
    When I run tcode PV33 or PV34 the matchcode of appraisal templates contains the list of all object type VA. The problem is that when I run tcode PV33 I don’t want to see all appraisal templates, but only for appraising a Business Event.
    It is possible to configure that so? If yes, how.
    Thanks in advance.
    Regards

    Hi,
    1. transaction LSO_CATALOG
    Regards and Groetjes,
    Maurice Hagen

  • Regarding training and event management queries

    hi experts,
    in my company we have ess in which training and event management module is working fine.i need to develop a report in which training booked against employee through tc-psv1 means in sap-r/3 and through ess means tc-pv8i will come.means saggregation for sap r/3 and ess will come.
    please help me regarding this.
    how will i identifie that training has been booked against employees  through sap r/3 or ess on what paramenet we will identifie.
    plz help me....
    is there any function module;....

    solved by own

  • Need Report in Training and Event Management

    Dear All,
    I want a report in Training and Event Management consisting of attendee name and training date and venue details, price for training event and would like to know any standard report available.
    Kindly let me know the std report name.
    Thanks and Regards
    Suresh,V

    Hi!
    for all reports try T-code : SAP1 ( Report Selection ) & SAP2 ( Info catalog ) here you will get all the standard reports available for that module .
    Regards
    Sheetal
    Edited by: sheetal Gulati on May 14, 2009 7:51 AM

  • Email on Training and Event Management

    Dear all,
    I would like to know are there any email supported in Training and Event Management Module.
    For example, after HR administrator help book courses for staff, system will trigger an email notification to staff mailbox with certain course detail information
    Regards
    Bill

    Hi Bill,
    In your case the event for triggering the email notifications will be when the booking is done. So before booking, for the object like Business event type and/or business event group some relationship exits. Once you do a booking of course, additional relationship will be created in different objects. Not exactly sure about the relationship code, but you can easily find out from hrp1001.
    So yoor program will check for this partcular relationship, and if it exists then will send mail notifications.
    Thanks!
    Regards,
    Chetan Shriraj Wahane

  • Training Need - TN in Training and Event Management

    Hi
    Did any one worked on Training Need (TN) in Training and event management? I have the below question.
    For France there is a legal requirement to capture some 1.6 % of the employee annual gross salary towards training cost.  So where to record the training cost of the employee in Training and event management and is there any link with payroll. 
    Logically it sounds as it does.  but where and how is it connected with payroll.
    Please revert if you know the solution.
    Brs
    Kenu.

    Hi
    In Table V_T77TNM_DC
    We need to have the below entries
    TNM                                              CL_HRTNM_VALO_COMPUT_GUI_FR
    TNM       HRTNM00_REPMOD        CL_HRTNM_VALO_COMPUT_GUI_FR
    TNM       MP168400                       CL_HRBAS_INFTY_1684_GUI_FR
    TNM       RPCTNM9S_REP            CL_HRTNM_INFTY_1036_GUI_FR
    Regards
    Kenu

Maybe you are looking for

  • This computer is not Authorized

    I've created an iMovie (08) project. When I try to put in music from my iTune , i get the message "This computer is not authorized to play this content" The music in question I have bought from iTunes fully legal ! What's wrong ? I've repaired permis

  • Problems transferring my mini DV tapes to Imovie.  Slow and not working correctly

    I have an older Mac Book (early 2008) and I am transferring my mini DV tapes to Imovie.  I borrowed a camcorder from my brother and have been importing the videos over the course of a few days.  Although I have plenty of storage, every command I made

  • In operator

    Hi, I have doubt in "IN Operator" DECLARE COND CONSTANT VARCHAR2(100) := '''MCF_INS'',''MCF_TGP'''; COND1 VARCHAR2(100) := 'MCF_TGP,MCF_INS'; NO NUMBER; BEGIN SELECT COUNT(1) INTO NO FROM ACCOUNTS WHERE ACC_PRODUCT_CATEGORY_cD_F IN( COND1); ---Can I

  • Acrobat XI not showing up in Application Manager

    I'm unable to install new version of acrobat because it's not showing up in my application manager. I see it in my apps and services menu, but am unable to download..... Anyone know why this is?

  • 3D Chart effects in Illustrator CS3?

    Hi, I need to make some great looking charts for an annual report. I'd like them to be on a true 3D riser, like the chart has been rotated and had dimension. I've tried making the chart and using the 3D option filter in Illustrator, but I can't get t