Questions tagged [handlers]

225 questions
1
vote
3 answers

What is the proper syntax for relative paths in web.config?

I have a site structure like this: And I'd like to use a relative path to my test_isapi.dll in the web.config for the ISAPI application. I've tried replacing C:\TestSite1\TestSite2\ISAPI\test_isapi.dll with the following relative paths with no…
invertigo
  • 6,336
  • 5
  • 39
  • 64
1
vote
1 answer

Cant pass data $.ajax to ashx handler

I've this piece of code that calls my handler, but i cant receive data in my handler, can you help? //CLIENT SIDE $("#saveChanges").click(function () { $.ajax({ url: "../handlers/adminSaveResults.ashx", type: "POST", …
Severiano
  • 1,083
  • 3
  • 25
  • 54
1
vote
1 answer

Troubles with creating an event handler

Hey I'm new to using event handlers and the like and I'm having a few problems with getting one working This is in my namespace: public delegate void buttonChange(object sender, EventArgs e); This is the form before main: public static event…
1
vote
1 answer

Javascript Retrieve a value from an array for the Cart?

So I have an array that is filled with menu options: var entreescontent=new Array(); entreescontent[0]="Taco Plate"; entreescontent[1]=4.50; entreescontent[2]="Three tacos of your choice of beef,chicken,pork,or veggie. Served with a side of…
KARINA
  • 13
  • 2
1
vote
2 answers

Generic AsyncTask with Error Handling and progress dialog

please tell me best way to write this. I need one generic AsyncTask for webservice call with all possible errror handling. Also a callback for updating UI/ showing error message. I have found few approches : by adding Generic parameter to async…
R World
  • 766
  • 9
  • 26
1
vote
2 answers

CQRS run handlers in specific order

I have a running order for 2 handlers Deleting and Reordering pictures and would like some advises for the best solution. On the UI some pictures are deleted, the user clicks on the deleted button. The whole flow, delete command up to an event…
mosu
  • 587
  • 2
  • 8
  • 20
1
vote
2 answers

precedence over event handlers

I am not sure if this is a good question or not but I would love to hear some inputs on this. Imagine there are 2 kinds of events: A: a mouse click B: mouse is currently inside a box Also, imagine there are 2 kinds of event handler functions: f:…
Evan Pu
  • 2,099
  • 5
  • 21
  • 36
1
vote
1 answer

Cancel click handler from mousedown handler

I’m trying to prevent a click handler from firing based on a condition inside the mousdown handler for the same element. Consider this: var bool = true; $('button').click(function() { console.log('clicked'); }).mousedown(function(e) { bool =…
David Hellsing
  • 106,495
  • 44
  • 176
  • 212
1
vote
1 answer

java.lang.AbstractMethodError when adding Header to Java 4 JAX-RPC SOAP Handler

I have to write a JAX-RPC SOAP message Handler in Java 4, and I need to add a security header to the message. At present, when I try to send a message I get a java.lang.AbstractMethodError:…
m0rv4i
  • 425
  • 2
  • 8
  • 20
1
vote
1 answer

Issues with signals in django

I am using signals to send a mail and is working fine(right now I am testing it and providing the static email address). But I want to use Dynamic values of model fields in my mail function. e.g. If admin changes anything from admin dashboard in…
Inforian
  • 1,716
  • 5
  • 21
  • 42
1
vote
1 answer

Gwan : Debug option for C

I have a signal 11 after a while with a c script in a connection handlers. I have no memory problem and unit test work well ! I'd like to know if there is a debug mode with gwan for c scripts ? and how to activate it ? Thanks by advance Regards
1
vote
1 answer

3 Threads + 3 Handlers don't work

I have 3 threads and 1 handler in each thread. But it only works one, the other 2 handlers clear the textview completely. Code: Thread getServerStatus = new Thread() { public void run() { …
Phil
  • 943
  • 2
  • 6
  • 18
1
vote
1 answer

how can i get the values of the current item in sharepoint 2010

I have a list(registration) with fields like username,pwd ,name,age etc. i want to send a mail to admin with all the fields (username,pwd,age etc...) when a new item is added to the custom list.i tried by using added event but i am unable to get…
user1716577
  • 29
  • 1
  • 7
1
vote
1 answer

G-Wan and default hello handler?

I'm trying out the handlers shipped with g-wan but i cant seem to locate any good documentation on this subject. I have renamed the main_hello.c__ to main_hello.c and restarted g-wan. But how do i se the result of the handler? It seems nothing is…
Yo-L
  • 487
  • 1
  • 4
  • 12
1
vote
1 answer

How send xml without any transformation in SOAPHandler

IBM WebSphere Jax-WS RI framework. I have a chunckHandler. I need send a one line xml response to client. i make oneline xml. Debuging shows whats all ok - xml is onelined. But before send the framework make a "pretty-print" output. It needed for…
Sotona
  • 158
  • 11