events

Properties dictionary for Events in the Google Wave Python API

The Google Wave documentation contains the Robot Events, but doesn't list what values will be put into the properties dictionary. Is this documented anywhere? ...

Javascript Inline Events or Adding Events Afterwards

Hello, I have a question, which I can't seem to decide on my own so I'll ask here. The question is simple: whether use inline Javascript events or adding them afterward. The theory in the background isn't that simple though: I have a JS object that returns HTML. Whenever you create this object, the returned HTML will be used for anothe...

Can DB2 tell a web-app when a table data is updated?

I have a table of non trivial size on a DB2 database that is updated X times a day per user input in another application. This table is also read by my web-app to display some info to another set of users. I have a large number of users on my web app and they need to do lots of fuzzy string lookups with data that is up-to-the-minute accu...

Recurring Calendar Events that don't expire

I'm looking for a library in PHP (or better yet in ruby) to handle an events calendar. I've looked a dozens of them and every one breaks down when it comes to recurring events. Many require and end date and most create every recurring event as a entry in a database or something. Every suggestion I get is to use the Google calendar which...

retrieving data needed for ajax call for multiple lines

Hi, I have a table with many rows. When u click on these rows they open up more detail about the row you click in. This could be based on an int or string. I have wired jQuery up to anchor tags on each row which the user will click on. However previously when using javascript inline you would pass something like this: <a href="javascr...

Browser ContextMenu event

Does anyone have any insight as to the future browser support of the right-click event on the document object? I see that Opera (2.3% of users) currently doesn't support it. Thanks, Bill ...

AS3 dispatch events to objects not related on the display list

So, events bubble up the display list. That's great if that's what you want. But what if you have objects on the stage that are not related that need to listen for events from each other? A simplified example: var objA = new ObjA; addChild(objA); var objB = new ObjB; addChild(objB); var objC = new ObjC; objB.addChild(objC); Object B...

Qt4.5: Using event-loop based localsocket before app.exec

I'm facing a practical problem with Qt. I'm using a class that communicates with QLocalSocket to another process (pipes/unix sockets) and I need to do that communication before other events occur, that is before app.exec() starts (or more precisely,as soon as app starts). The class that I'm using needs an eventloop so it does not work i...

How to keep the filterBy value of rich:datatable in session scope?

Is it possible to keep the filterBy value of a rich:datatable rich:column filterBy="..." in SESSION scope? ...

WPF: Grid layout - how can I get row and column of element with MouseMove or similar events, when cursor is over empty cell?

Hello, As I stated in title to this question - I have an WPF Grid based layout with two header rows and few empty ones. Grid has about 100 columns. I am trying to achieve the situation, in which I will be able to highlight the cell of empty row, when mouse is over it (and fire an event, when user will click this cell). I sketched my ...

Prevent onclick action with jQuery

there are some links with onclick event actions <a href="#" onclick="alert('panic!')">Let's panic</a> <a href="#" onclick="alert('panic!')" disabled="disabled">I can't panic no more</a> I need prevent event actons execution on links with disabled attribute without removing onclick actions. $('a[disabled]').click(function(e){ e.sto...

Position An Injected DIV Using JQuery's "Load" Function

I'm pulling some info from a database then putting it into a DIV and injecting all that in to my page. The problem I have is positioning the newly injected DIV after it has finished loading. Here's my jQuery: $j(document).ready(function() { $('a#load-content').click(function(event) { event.preventDefault(); var productId...

Custom Actionscript 3.0 Events: Build separate Classes for different purposes or use one for all?

I'm using custom Events in Actionscript 3.0 for the first time and I'm unsure about how to best design them. I need a couple of Events. Some of them need to transport different kinds of data and some don't. Now I don't know whether I should use a single class to implement them all or use separate classes for different kinds of purposes. ...

How do I force and event to resolve from within another event

I have a Winforms App (.NET 3.X) That runs a method in a class to process some data. The method periodically raises a StatusUpdate event with a count of the number of items processed. I have a ToolStripStatuslabel on the Form that i would like to update with the count. The problem is that status label never updates with this count until ...

Flash-AS3: Calling a function in a Class from another Class (Part 2) via DispatchEvent

Hey this question is in reply to Joel Hooks's comment on an older question of mine (How to call a function in a Class from another Class?) I was able to fix my own problem using a public static var to reference one of my Classes, so in the other class I just needed to use the this keyword so it could be called. instance = this; // in N...

How to...Add Client Side function to button that postsback?

I have a button that closes a modal dialog box on an ASP.NET Ajax form. How do a add a client side function to be called on the same button click? currently firebug has this for the onclick javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$DefaultContent$btnPaymentActionDetailClose", "", true, "", "", false, f...

Build a Google Suggest box and respond to keyboard events without jQuery

I need to build a Google Suggest style drop-down box, but unfortunately am unable to use jQuery or Prototype due to various licensing restrictions. Pretty much the only thing I can use is public-domain stuff that I can modify and am not required to attribute ownership of someone else to. In any case, I can handle the AJAX stuff fine, a...

Events tab randomly appears and disappears in VS 2008

I know it's a minor annoyance.. but it's still an annoyance and it baffles me.. About 3 months ago I was using VS 2008 and when I went to the "Properties" tab there was the little lightning bolt for events(in design mode). Then it suddenly went away.. about a week later I discovered that if I didn't have the properties tab "stickied", th...

C# Custom Event Handler

Hi - I am a person learning c#, and I have a program with a Parent form and a Child form. I want the child form to raise an event so that the Parent form can do something. I copied some code, but I am not smart enough to see what is wrong. I don't know how to correctly code the event in the child form. The error is DatasourceUpdated is n...

Cancelling Windows Forms Events

I have a windows form. It has a ComboBox and a DataGrid I have a Leave event on my combobox and I have a double click event on my datagrid row The idea is that on leaving the combobox, if the value of the combo box changed than use the new value to reload the datagrid. Let's say the combobox is displaying a value of 1 and for that va...