Textinput change event is not firing in datagrid

Hi frnds
                i am using simple datagrid in which textinput is rendered  in one column of grid.i want to apply dateformatter on that textinput for this i call a function on change event of that textinput but surprisingly change event is not occuring on textInput.can anybody please guide me how to fire change event of rendered textinput. or is there any way to apply dateformmter on datagrid's textinput rendrer.
Thanks in advance
   Vineet osho

Use a labelFunction that calls the dateFormatter

Similar Messages

  • PlEASE HELP EASY QUESTION: unload event is not firing at all.

    Hi, onUnload event is not firing in Safari browser. I tried with different ways to capture that event but i failed to capture that event. So please help me on this, give suggestions to capture that event. Or any other event is firing when window is closing. Actually, i need to execute when window is closing. But in Safari the window is closing without firing of any events.

    Safari doesn't execute the unLoad action when closing windows, period!
    It only executes it when loading another page.
    I might be wrong but I think Safari doesn't allow you to close a window with Javascript at all. All close events are blocked.
    Maybe a SWF file can do it somehow. But I'm not sure...

  • ItemEditEnd not firing in DataGrid

    In one particular DataGrid it's not firing - all other in my
    app work fine. I've had another Flex developer to look at my code
    just in case I'm going mad or something, and he thinks it's a bug
    in Flex framework somewhere. I'm using Flex Builder 2.0.1 FWIW
    Here is isolated code that exhibits the same behaviour
    (breakpoint in onEdit event listener func does not trigger). Much
    of it may seem superfluous but in actual app it's neccessary in the
    actual app (I just tried to isolate the cause!).
    Any ideas?
    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="onInit();"
    >
    <mx:Canvas
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:woccu="org.woccu.components.*"
    width="100%" height="100%" id="ccc"
    paddingTop="0" paddingLeft="0" paddingRight="0"
    >
    <mx:Script>
    <![CDATA[
    import mx.events.DataGridEvent;
    import mx.events.DataGridEventReason;
    import mx.collections.ArrayCollection;
    // Dataprovider
    private var _dp:ArrayCollection;
    // This will contain array (hash) accessible by bottombar or
    somesync
    [Bindable]
    public var bottomBar:Array;
    public function onInit():void
    _dp=new ArrayCollection([{PK: 'Matt', label: "XXX", col1:
    'Matthews', col2: 'XEXE', level: 1}]);;
    entrygrid.dataProvider=_dp;
    trace('init');
    public function refresh():void
    // TODO: check if entity ID and other props are not blank!
    // Refresh contents or somesync
    // Callback function - when the data arrives
    protected function onData(result:Array):void
    // Builds our dataprovider or somesync
    var tmpDPRow:Array;
    var _bottomBar:Array=new Array();
    _dp=new ArrayCollection();
    for ( var j:String in result ) {
    // First, check level. If 0 this row belongs to bottombar
    if ( result[j]["level"] == "0" ) {
    var pk:String=result[j]["PK"];
    pk=pk.replace("-","_"); // - is not valid in object ID, so
    we replace with _
    _bottomBar[pk]=new Object();
    _bottomBar[pk]["label"]=result[j]["label"];
    _bottomBar[pk]["value"]=result[j]["col2"];
    } else {
    // Go over fields
    tmpDPRow=new Array();
    tmpDPRow["PK"]=result[j]["PK"];
    tmpDPRow["label"]=result[j]["label"];
    tmpDPRow["col1"]=result[j]["col1"];
    tmpDPRow["col2"]=result[j]["col2"];
    _dp.addItem(tmpDPRow);
    // Apply bottom bar
    this.bottomBar=_bottomBar;
    // Apply all data to datagrid
    this.entrygrid.dataProvider=_dp;
    public function onEdit(event:DataGridEvent):void {
    trace ('fire in the whole!');
    if ( event.reason == DataGridEventReason.CANCELLED ) {
    return;
    // MUST URGENTLY UPDATE frickin database!
    this.refresh(); // Subtotals have changed - need refresh
    ]]>
    </mx:Script>
    <!--
    Note the hack below: column widths are absurdly large values
    The idea is that Flex will resize down and keep the
    proportions
    -->
    <mx:DataGrid xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="100%" height="100%" showHeaders="false"
    itemEditEnd="onEdit(event)" id="entrygrid">
    <mx:columns>
    <mx:DataGridColumn width="0" visible="false"
    dataField="PK">
    </mx:DataGridColumn>
    <mx:DataGridColumn width="70000"
    itemRenderer="mx.controls.TextInput" editable="false"
    dataField="label">
    </mx:DataGridColumn>
    <mx:DataGridColumn width="15000"
    itemRenderer="mx.controls.TextInput" editable="false"
    dataField="col1">
    </mx:DataGridColumn>
    <mx:DataGridColumn width="15000"
    itemRenderer="mx.controls.TextInput" rendererIsEditor="true"
    editable="true" dataField="col2">
    </mx:DataGridColumn>
    </mx:columns>
    </mx:DataGrid>
    </mx:Canvas>
    </mx:Application>

    Never mind... found the cause. Turns out DataGrid wont fire
    itemEditEnd unless it's editable property is true. Of course this
    is not documented anywhere...

  • Segmented Control "Touch Inside" event is not firing?

    I think that Xcode has yet another bug as I don't know how in the world this event does not fire especially after doing everything by the book. I laid out the segmented control, turned on Assistant editor, right clicked the control, dragged the "touch up inside" action to the header, named it, specified the type, and added code to the method.
    It never fires this event. It will fire my events for all my other controls but not this one. What could possibly have I done wrong? I've done tasks like this millions of times but for this one it is suddenly not working...

    Never mind, discovered segmented controls only fire to value change events. It works now.

  • Item state change events - notification not recd when run on nokia phone

    I have a Form which implements ItemStateListener and its registered to receive item state change events. The Form has a text field which needs to be enabled/disabled based on certain ChoiceGroup element being selected. The code works fine on emulator, however I don't receive event notification in itemStateChanged() on series 60 nokia devices when a new ChoiceGroup element gets selected. Has anyone faced a similar problem? Is there any solution for this? The profile used in my project is CLDC 1.1 and MIDP 2.0.

    I faced a similar problem on Motorola ROKR E6. Turned out that ItemStateListener was working only as long as the first form to be displayed remained current -- once I setCurrent another Form, the app stopped responding to itemStateChanged.
    The workaround I adopted was to remove Items from the Form and add new Items, giving the illusion of the next form being displayed. It would be interesting to know whether that works for you and whether anyone has faced the same problem with any other handset.
    I have subsequently come to know that Motorola have marked my bug report as "solved" -- but have not offered me any option to update my handset with a bug-free version.
    btw, calling setConstraints on a TextField can throw a NullPointerException. My workaround for that was to setText("") in the itemStateChanged in lieu of setConstraints (TextField.UNEDITABLE).
    luck, db

  • Value Change event is not working. Html Panel Grid get method is not called

    Hi,
    I'm creating components dynamically.
    I have a dropdown. Based on the selection of dropdown, the panel grid is getting called.
    First time the panel grid getmethod is getting called. But when i change the value of drop down, panel grid get method is not getting called and its not rendering.
    This is the code:
    JSF:
    <h:panelGroup>
    <t:selectOneMenu id="selectProjectTypes" onchange="sbmitform();" immediate="true" valueChangeListener="#{ProjectController.projectTypeChanged}" value="#{ProjectController.project.selectProjectTypes}">
    <f:selectItem itemLabel="--------------------" itemValue="-1"/>               
    <f:selectItems value="#{ProjectController.projectTypesList}"/>                         
    </t:selectOneMenu>
    </h:panelGroup>
    <h:panelGrid columns="2" rendered="#{ProjectController.projects}" id="test" binding="#{ProjectController.defaultValues}" columnClasses="hunderadfifty"                                         cellpadding="5" />     
    Controller:
    public void projectTypeChanged(ValueChangeEvent event) throws AbortProcessingException,Exception {
              String nodeTypeId = null;
         String selectedValue = (String)event.getNewValue();
         getSessionCache().addValue("test", 0, "1");
         if(selectedValue.equalsIgnoreCase(nodeTypeId)){
         try
         // this.getDefaultValues().setRendered(true);
         // defaultValues=this.getDefaultValues();
         } catch (Exception e)
         e.printStackTrace();
         FacesContext.getCurrentInstance().renderResponse();
    Panel Grid Method
    public HtmlPanelGrid getDefaultValues() throws Exception {
         String devlues = (String)getSessionCache().getValue("test");
         Application app = FacesContext.getCurrentInstance().getApplication();
              labelList = nodeTypeFieldsService.getFixedFields(this.getRpUserData(), this.getAuthUser());
              HtmlPanelGrid panelGrid = (HtmlPanelGrid)app.createComponent(HtmlPanelGrid.COMPONENT_TYPE);
              for(int i = 0; i<labelList.size(); i++)
              HtmlOutputText heading = (HtmlOutputText)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
              HtmlPanelGroup panelGroup = (HtmlPanelGroup)app.createComponent(HtmlPanelGroup.COMPONENT_TYPE);
              HtmlInputText inputText = (HtmlInputText)app.createComponent(HtmlInputText.COMPONENT_TYPE);               
              String fieldHeading =((ProjectField)labelList.get(i)).getFieldHeading();
              int fieldLength = ((ProjectField)labelList.get(i)).getFieldLength();
              String fieldDescription = ((ProjectField)labelList.get(i)).getFieldDescription();
              String fieldType = ((ProjectField)labelList.get(i)).getFieldType();     
              inputText.setValueBinding("value", (ValueBinding) app.createValueBinding("#{ProjectController.newProj}"));
              if(fieldType.equalsIgnoreCase("3"))
                   heading.setValue(fieldHeading);
                   heading.setTitle(fieldDescription);
                   inputText.setMaxlength(fieldLength);
                   inputText.setSize(fieldLength);     
                   UIRDDialog dialog = (UIRDDialog)app.createComponent(UIRDDialog.COMPONENT_TYPE);
                   dialog.setTitle("Object Type Dialog");
                   dialog.setHeight("370");
                   dialog.setWidth("350");
                   dialog.setUrl("searchObjectTypeDialog.jsf");                              
                   UIRDIconButton iconButton = (UIRDIconButton)app.createComponent(UIRDIconButton.COMPONENT_TYPE);
                   iconButton.setType("button");
                   iconButton.setTitle("Search for Object Types");
                   iconButton.setIcon("/image/icon/portalicon_search.gif");
                   iconButton.setActivateDialog("searchObjectTypeDialog");               
                   panelGroup.getChildren().add(inputText);          
                   panelGroup.getChildren().add(iconButton);
                   panelGroup.getChildren().add(dialog);
                   panelGrid.getChildren().add(panelGroup);
              }else
                   panelGroup.getChildren().add(inputText);
                   heading.setValue(fieldHeading);
                   inputText.setMaxlength(fieldLength);
                   inputText.setSize(fieldLength);
                   heading.setTitle(fieldDescription);
                   panelGrid.getChildren().add(panelGroup);
              panelGrid.getChildren().add(heading);          
              panelGrid.getChildren().add(panelGroup);
              HtmlCommandButton createButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
              createButton.setId("create");
              createButton.setTitle("Create");
              createButton.setValue("Skapa");          
              createButton.setAction(app.createMethodBinding("#{ProjectController.saveProject}", null));
              HtmlCommandButton backButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
              backButton.setId("back");
              backButton.setTitle("Cancel");
              backButton.setValue("Avbryt");
              backButton.setAction(app.createMethodBinding("#{ProjectController.cancel}", null));     
              panelGrid.getChildren().add(createButton);
              panelGrid.getChildren().add(backButton);
              return panelGrid;
         /* } else {
              return null;
    }

    Hi,
    I'm having the exact same problem, and it's freaking me out!!! The setGridPanel method is always called but not the getGridPanel. This one is only called the first time the page is rendered, and when I change a drodpdownlist it never gets the gridPanel again! I'm using an HtmlPanelGrid. Anyone can help please?
    Thanks in advance,
    Raquel

  • Urgent:Proration Event group Not firing

    Hello,
    I have setup a Proration event group. What i find is if i set an element with the termination rule as Last Standard Process, then Pro-ration event group doesnt fire , however
    if the termination rule is set as Actual termination rule , then the proration event is firing.
    Can somebody pls explain why this is happening and also i want to pay the employee only till the termination date of the employee. Can someone tell me if i need to set the termination rule to actual termination date?
    Regards,
    Gayatri

    When you set an element with the termination rule as Last Standard Process the 'end date' of the element is set to the last day of the month when the employee gets terminated. This is why the Pro-ration event group doesnt fire.
    You can add the following datetracked events in your proration group and make necessary changes in your fast formula.
    Datetrack Update - PER_ALL_ASSIGNMENTS_F - ASSIGNMENT_STATUS_TYPE_ID
    HTH

  • Key events are not fired for  SwingTextField

    No event is fired when a key is typed/pressed. Am I missing something here?
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.ext.swing.SwingTextField;
    import javafx.scene.input.KeyEvent;
    Stage {
    title: "MyApp"
    scene: Scene {
    width: 200
    height: 200
    content: [
    SwingTextField {
    columns: 20
    text: " "
    editable: true
    onKeyPressed: function( e: KeyEvent ):Void {
    println("on key pressed");
    onKeyTyped: function( e: KeyEvent ):Void {
    println("on key pressed");
    onKeyReleased: function( e: KeyEvent ):Void {
    println("on key released");
    }

    ya it wont work. just try this one,
    use the keyListener function for all key listener.
    * FxTextField.fx
    * Created on Jan 21, 2009, 9:29:49 AM
    package com.sb.javafx.comp;
    import javafx.ext.swing.SwingComponent;
    import javax.swing.JTextField;
    import java.awt.event.KeyListener;
    import java.awt.event.KeyEvent;
    import javax.swing.JComponent;
    * @author Admin
    public class FxTextField extends SwingComponent{
        var textField:JTextField;
        public var text:String on replace{
            textField.setText(text);
        public var keyListener:function(key:KeyEvent);
        init{
            textField.addKeyListener(KeyListener{
                 public override function keyPressed(e:KeyEvent)
                    text = textField.getText();
                    keyListener(e);
                 public override function keyTyped(e:KeyEvent)
                    text = textField.getText();
                    keyListener(e);
                 public override function keyReleased(e:KeyEvent)
                    text = textField.getText();
                    keyListener(e);
        public override function createJComponent():JComponent
            textField = new JTextField();
            return textField;
    }

  • LOV value change event is getting triggered automatically

    Hi,
    I'm using ADF Faces with EJB. I have a page with a LOV defined as:
    <af:selectInputText binding="#{backing_contactUpdate.investorLOV}"
              id="investorLOV" columns="30"
              searchDesc="Search and Select Investor"
              value="#{updateContact.reference_id_meaning}"
              action="dialog:chooseInvestor"
              windowHeight="600" windowWidth="650"
              returnListener="#{backing_contactUpdate.investorLovReturn_action}"
              valueChangeListener="#{backing_contactUpdate.investorLovChange_action}"
              autoSubmit="true"/>
    When this page is run the first time and no value exists in the managed bean property bound to LOV field (updateContact.reference_id_meaning) then it all works fine. But if the managed bean property has any value then clicking any button which submits data triggers the LOV change event (backing_contactUpdate.investorLovChange_action). Once a new value is selected in the LOV then the event doesn't get triggered. How can I make the state of LOV field as validated, so that the change event doesn't get fired?

    Additional Information:
    The backing bean and managed bean both are at request scope.
    Another problem I'm facing is that the value change event is not fired when the value in the LOV field is deleted (set to blank).
    The method in backing bean is:
    public void investorLovChange_action(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    String investorName = (String)valueChangeEvent.getNewValue();
    if (investorName == null) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(null);
    } else {
    ValueBinding investorBeanBind =
    application.createValueBinding("#{irmInvestorBean}");
    IrmInvestorBean investorBean =
    (IrmInvestorBean)investorBeanBind.getValue(facesContext);
    investorBean.fetchInvestors(investorName, null, null);
    IrmInvestorSearchResults[] investors = investorBean.getInvestors();
    if ((investors != null) && (investors.length == 1)) {
    getReferenceId().setSubmittedValue(null);
    getReferenceId().setValue(investors[0].getInvestor_id());
    getInvestorLOV().setSubmittedValue(null);
    getInvestorLOV().setValue(investors[0].getFull_name());
    } else {
    UIViewRoot investorLovRoot =
    application.getViewHandler().createView(facesContext,
    "/investorLOV.jsp");
    HashMap windowProp = new HashMap();
    windowProp.put("height", "600");
    windowProp.put("width", "650");
    adfFacesContext.launchDialog(investorLovRoot, null,
    valueChangeEvent.getComponent(),
    true, windowProp);
    }

  • CS Extension, Script UI and events not firing in Photoshop CS5

    Hi!
    I'm a bit confused with two technologies dealing with SWF panels. There was a technique in the previous versions of Photoshop when SWF content has been loaded into a ScriptUI Window. Is it changed? Or does it still work together with CS Extension extensions?
    I have a script that creates ScriptUI Window and then loads an SWF into it. It has a custom 'mousemove' event listener that helped to move this window around the screen. Now - in the new Photoshop CS5 (I tried 12.0.1 as well) - it seems like the 'mousemove' event is not fired for ScriptUI windows containing SWFs.
    I'm not sure, maybe it has something to do with the new SWF treament in CS5?
    If I'm wrong, then I'm sorry, if this question doesn't fall into this forum's area of expertise.
    Thank you!

    10x,
    You saved my ***!
    It actually has to include both the PHSP "AND" the PHXS host names for it to work - this is stupid!
    If I only use PHXS the extension manager is not able to install the extension, saying it cannot find a host that matches the manifest (even though my photoshop IS the extended variation, so in a sense it's more acurate manifest-wise), and if I only use the PHSP, it IS loaded but doesn't appear in the application!
    AND THERE IS NO DOCUMENTATION ON THIS PHENOMENON ANYWHERE!
    THIS IS BEYOND IRRESPONSIBLE!
    Thank you very much david, but please, as you are an adobe employee, get this message to the right people, if you can.
    I know the corporate agenda would probabely be the incentivise people to register to the 1500$ program to get the extension-builder, by keeping the alternative inconvenient, but this issue is beyond inconvenient, it's border-line cruelty!

  • Kinect is not firing MultiSourceFrameArrived event after some time

    Hi,
    I am using Kinect v2 with EmguCV in my application. I am performing some image processing task on the acquired frame. I noticed that after some time (1-2 minutes) the Kinect is not firing MultiSourceFrameArrived event.
    Below is the snippet of the code-
    public partial class KinectForm : Form
    KinectSensor kinect;
    MultiSourceFrameReader reader;
    CoordinateMapper coordinateMapper;
    public KinectForm()
    kinect = KinectSensor.GetDefault();// Get the connected kinect Sensor
    coordinateMapper = this.kinect.CoordinateMapper;
    reader = kinect.OpenMultiSourceFrameReader(FrameSourceTypes.Color | FrameSourceTypes.Depth);
    kinect.Open();// Start reading the data from kinect
    InitializeComponent();
    private void FrameArrivedDisplayMode(object sender, MultiSourceFrameArrivedEventArgs e)
    var reference = e.FrameReference.AcquireFrame(); // Get a reference to the arrived frame
    ColorFrame colorFrame = reference.ColorFrameReference.AcquireFrame(); // Access color frame
    DepthFrame depthFrame = reference.DepthFrameReference.AcquireFrame(); // Access depth frame
    if (colorFrame != null && depthFrame != null)// Do not proceed, if any frame is expired
    RenderColorPixels(colorFrame);
    RenderDepthPixels(depthFrame);
    // Lots of image processing is being performed here
    if (colorFrame != null) colorFrame.Dispose();
    if (depthFrame != null) depthFrame.Dispose();
    private void KinectForm_FormClosing(object sender, FormClosingEventArgs e)
    if (this.reader != null)
    this.reader.Dispose();
    this.reader = null;
    if (this.kinect != null)
    this.kinect.Close();
    this.kinect = null;
    private void displayModeRadioButton_CheckedChanged(object sender, EventArgs e)
    if (displayModeRadioButton.Checked)
    reader.MultiSourceFrameArrived += FrameArrivedDisplayMode;
    else
    reader.MultiSourceFrameArrived -= FrameArrivedDisplayMode;
    The above code was working earlier, but later on once I added more processing on the data, the event was not fired at all after some point of time.
    I am disposing the frame every time. Why this is happening? How to fix this problem?
    Thanks

    Carmine, Thanks a lot for prodding the references. I am in the process of designing it.
    Meanwhile, since as you said the above code was holding the frame data and disposing the frame after processing it, so I though of changing the style little bit. Please see the code below-
    private void FrameArrivedDisplayMode(object sender, MultiSourceFrameArrivedEventArgs e)
    var reference = e.FrameReference.AcquireFrame(); // Get a reference to the arrived frame
    ColorFrame colorFrame = reference.ColorFrameReference.AcquireFrame(); // Access color frame
    DepthFrame depthFrame = reference.DepthFrameReference.AcquireFrame(); // Access depth frame
    if (colorFrame != null && depthFrame != null) // Do not proceed, if any frame is expired
    ColorFrame.CopyConvertedFrameDataToArray(ColorFramePixels, ColorImageFormat.Bgra);
    depthFrame.CopyFrameDataToArray(DepthFrameData);
    colorFrame.Dispose();
    depthFrame.Dispose();
    //Here I am doing image processing
    Now, this way I am not using some of the frames but it should work, since the frame is disposed earlier.
    But still after some time, the event is not fired out.
    Why? Can you tell me the reason?
    Thanks
    Ravi

  • 'CHANGE' event not triggering for BTE 2214 on park/change from FBV1/FBV2

    I have designed a workflow template for FI parking. If the parked document is rejected, i need to trigger FIPP 'CHANGE' event for sending workitem to approver when someone changes the parked document. In SWEL event trace, the 'CHANGE' event is not getting raised.
    So i implemented a BTE 000002214 and now i am able to raise 'CHANGE' event and capture it in workflow. But this is only working when i park a document using FV50 transaction and later change it.
    But when i park a document using FBV1 and then make changes from FBV2, the 'CHANGE' event is not being triggered in SWEL. Should i implement some other BTE like 2218 etc? Can you please help?

    Hi Gokul,
    You can try handling the SAVE event instead of the CHANGED event.
    T-code FBV2 will not allow you to save the document unless you make some changes.
    Try implementing BTE 2218 and revert.
    Thanks,
    Sreekanth

  • When-tab-page-changed not firing

    I have 2 seperate forms opened on a single page. One displays on left side of screen and has tabs. One display on right side. If I am currently on my right side form (no tabs) and click on a tab on the left side form, it seems the 'When-tab-page-changed; trigger is not firing the first time. I have tried this on 6i and 10g webforms. If I try it on client/server 6i it works. Any suggestions?

    I just tried this with 10gR2 in web. My form with the tabs only get focus and does not call when-tab-page-changed when you click on a tab after returning from the other form.
    A 2nd button press does then call the when-tab-page-changed.

  • WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help

    Hi Grant,
    WHEN-CUSTOM-ITEM-EVENT - not firing. Please Help..
    I need a help from you.
    1) I have developed an form to browse the client machine and upload the file on server / table
    2) Registered the form in Oracle Apps 11.5.10.
    3) Currently i am able to open the File_Dialog and browse throught the clients machine
    But when ever user selects any file and says Open, i am not able to retrieve the file name. wHEN-CUSTOM-ITEM-EVENT is not
    firing. I am sure how we can invoke this CUSTOM-ITEM-EVENT.
    To devlop the form i have referred PERWSIMG.fmb - of Oracle (Apps) HRMS which uploads the employee photo in the Database.
    Hence i have used the same java code / Implementaion Class.
    Please help...
    Regards
    Sameer

    Hi Francois,
    You were right. I re-loaded the zip file and the original version works. Odd, as I don't remember ever modifying those files.
    But my original issue still remains.
    The only code I've added is this:
    Color mycolor = this.getBackground() ;
    setBackground(mycolor);to the CalendarFrame constructor. How could this be causing the trigger to not fire?
    Could it be the way I created the bean? I copied all the java files to my project, attached the libraries, created a deployment profile. Everything compiles without errors or warnings, and the jar is created without issues. The java console doesn't give any errors either.
    Thanks for all your help,
    A
    Edited by: Abigail Parmar on Mar 26, 2009 1:01 PM

  • List Item event receiver not working: SharePoint 2010

    Hi,
    I have ceated one custom list and also created a Event reciever solution using Visual Studio 2010.
    In the event reciever I added ItemAdded, ItemUpdated events and did some my business related coding.
    It was worked very well when I add/edit the list item.
    But, now suddenly it stopped working!, I i really don't know what went wrong suddenly.
    Only thing I did is, created one more solution event reciver and added some more columns to the list.
    I then reverted all these changes and deleted the new event reciever from the site solution.
    I am able to build and deploy the solution in VS 2010, and I could see the solution in site solution but events are not firing when I created/edited the list items
    Any idea what went wrong and how can I get it back to work.
    It has spoiled my all the work and I am unable to proceed.
    Please let me know if anyone have any inputs.
    I also tried following things: restart visual studio and deploy again, restart IIS, restart system itself, actvate-deactivate solution manually in site, GAC the dll manually.
    But nothing has worked for me.
    One more thing, I am using this solution as Sandbox solution and when I tried to make Sandbox as false and then deploy it gave me error like:
    "Error occurred in deployment step 'Activate Features': Operation is not valid due to the current state of the object."
    Is this something related to my above problem?
    Thanks, Sharath

    Check Event receivers using powershell:-
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $spWeb = Get-SPWeb -Identity "sitename"
    $spList = $spWeb.Lists["yourlistname"]
    $spList.EventReceivers | Select assembly,name
    Replace "sitename" with your site url and "yourlistname" with list name.
    Once you confirm  the event receivers, use below to delete them
    Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
    $spWeb = Get-SPWeb -Identity "your site url"
    $spList = $spWeb.Lists["TrackTravel"]
    $evts = $spList.EventReceivers | where {$_.Assembly -eq ""your assembly"}
    $evts
    if ($evts.Count -gt 0) {
                foreach ($evt in $evts) {
                    Write-Host("Deleting..." + $spList.RootFolder.ServerRelativeUrl + ", " + $evt.Type)
                    $evt.Delete()
    Once you run this, you can now redeploy your solution.
    http://social.technet.microsoft.com/Forums/en/sharepoint2010general/thread/a911a64f-b4cb-49a8-ad61-899d4e418c2a
    ganesh

Maybe you are looking for