Questions tagged [handlers]
225 questions
1
vote
1 answer
Failed to load Image from database
I have a file upload and download using ajaxFileUploader and 2 handlers.
ajaxFileUploader code:
$.ajaxFileUpload
(
{
url: 'AjaxFileUploader.ashx?user=' + userId,
secureuri: false,
fileElementId:…

Luke Villanueva
- 2,030
- 8
- 44
- 94
1
vote
2 answers
How to delay a dynamic view change using the ViewPager?
This is my first post here and my first try to explain a coding problem in english.. So please stay gentle while reading this :).
I have two questions about the ViewPager.
First:
If I pass a List of Fragments to the PagerAdapter it will show the…

Steve Benett
- 12,843
- 7
- 59
- 79
1
vote
1 answer
shared write_error method in all Tornado handlers?
I'm using tornado, and have a bunch of handlers that map to different urls. For example :
#mainfile.py
#imports
#...
application = tornado.web.Application([
(r"/", DefaultHandler),
(r"/somepath", SomepathHandler),
], debug=True)
if…

L-R
- 1,214
- 1
- 19
- 40
1
vote
2 answers
How to group data objects in matlab figures
I am working on making a simple interactive plotter in Matlab. What I am doing is simple:
I use the command:
[x,y] = ginput(1)
to pin-point the location (x,y). Then, I use this point as a seed point to plot a curve and also I add some arrows…

MomoPP
- 599
- 2
- 6
- 14
1
vote
2 answers
No event handlers are called on the second page when changing page in jQuery Mobile
I use jQuery Mobile in my application. I have and index.html page, and I try to add another page to my application. So on the index.html page I have a link to the Camera.html page:
Take a photo // A. version
When I click…

Zsido Maria-Aliz
- 23
- 4
0
votes
1 answer
Looking for a way to do a callback from within the Android Handler
This is my first StackOverflow question, so I apologize for any ambiguity if there's any.
I am looking for a way to receive a callback from an Android handler.
For example, if the handler is called from within the activity, what's the proper way to…

ymotov
- 1,449
- 3
- 17
- 28
0
votes
1 answer
Uncaught ReferenceError: Handler is not defined
I get this error using c# handlers (.ashx) :
ProviderGrid.js:23 Uncaught ReferenceError: Handler is not defined
Here it's my handler file :
<%@ WebHandler Language="C#" Class="dashVidence.Handler" %>
using System;
using System.Web;
namespace…

user1295977
- 1
- 1
0
votes
1 answer
Logging with MYSQL Handlers
I'm hoping this isn't just duplicating this question.
I have read the documentation but I don't think I fully understand how to use this properly yet.
I would like to catch errors thrown in my stored procedures and log those errors in a table. This…

Ruairi O'Brien
- 1,209
- 5
- 18
- 33
0
votes
1 answer
Creating class encapsulating handlers in C# and .NET. Good practice?
I have a class with plenty of handlers for some controls that require exactly the same parameters. Those handlers are linked in runtime and also need to be linked from other classes, for example, a factory class to create the controls.
What I want…

Ed.
- 846
- 6
- 24
0
votes
2 answers
.NET - Remove all listener event handlers from a object
I have a objectRaiser which can publish events, for example the event "PropertyChanged".
I have too another objectListener, which listen the raised events from first objectRaiser.
How I can remove the event handlers listeneds by objectListener from…

nullPointer
- 11
- 2
0
votes
1 answer
how to let the user modify only his own content?
im coding a website using js and c#.
i link between them using generic handlers.
what i want to do is letting the user delete (or edit general) his own content, whereas same data is shown to everyone.
for example - as logged-in user in this…

Yaniv
- 1,906
- 2
- 16
- 23
0
votes
2 answers
SiteMap for the search engines
I have to make an api call and get the response. This response contains more than 4000 urls.
I have to list all these urls in the sitemap for the search engines to crawl easily. I have to write a handler for doing this task. Can someone suggest me…

TJK
- 441
- 4
- 11
- 27
0
votes
2 answers
Thread won't stop in onPause
I'm trying to stop my thread in my onPause() but the thread still runs and gets the notification that is sent when the thread expires. It seems I have everything set right... My notifcation works fine and comes up after the 8000 sleep.. but if the…

user961389
- 423
- 2
- 8
- 19
0
votes
3 answers
Working with threads in blackberry
I am using threads in blackberry to perform web service calls. I want to get notified as soon as the call gets a response back. I was using
Handlers
in android. I didnt find anything similar in blackberry.
Here is the code I am using to run the…

Zach
- 9,989
- 19
- 70
- 107
0
votes
1 answer
Is it possible to add an a handler to JUL on AppEngine?
I have an AppEngine application with Java.
I am using JUL (java.util.logging) to log the server side logs.
I am creating a facade call CustomLogger in which it creates a JUL logger in the constructor using the factory:
@Inject
public CustomLogger(…

user_1357
- 7,766
- 13
- 63
- 106