I have a page which uses cufon and asp:UpdatePanel. After ajax callback the new content does not replace tags with cufon. I've tried:
<script type="text/javascript">
alert('Cufon refresh start!');
Cufon.refresh();
alert('Cufon must be ok!');
</script>
But don't get any alert or cufon replacement.
...
I have a function which returns another function which returns a boolean value, on this i do validation which is causing unusual behavior.
The code in the function is as follows:
$.post( "classes/InsertCustomer.php",
{ iResult: theResult.valid },
function(data)
{
alert(data);
});
return true;
When this runs, the post ...
the tl;dr version: using Server.Execute() to retrieve the raw html of a web page returns an empty string if called during a callback, but works fine during a postback.
I am writing some calendaring functionality where I need to send out notification emails to attendees when an appointment is created, changed, or deleted. The text of th...
Hi,
I am new to the Java / Hibernate / Seam way of development but I appear to have a strange issue with Hibernate and concurrent threads.
I have a application scoped Seam component which is executed via EJB timers at a set interval (Orchestrator.java) calling the method startProcessingWorkloads.
This method has a injected EntityManag...
I am making twitter application in which i open browser for user authentication and i pass call_back URL when launching authentication browser
problem is after authenticating it is calling again oncreate of TWitterShare class instead calling onNewIntent method, why is that ? my another class working fine i am unable to find difference a...
EDIT
Ok, I've got it, it's not serializable.........so, how do I go about serializing it?
Scenario
I have a custom BindableDictionary
that I use to bind with a grid
control for automatically updating
the grid when the underlying
datasource changes.
I now want to extend my application
to use WCF, so that when the
server-side has fin...
The callback function of the JQuery.post() is called with JQuery 1.3.2 but not with 1.4.2. Tried to find what changed between the versions without successs.
<html>
<head>
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"
></script>
<script type="text/javascript">
function f() {
v...
I want to implement a class in c++ that has a callback.
So I think I need a method that has 2 arguments:
the target object. (let's say
*myObj)
the pointer to a member function of
the target object. (so i can do
*myObj->memberFunc(); )
The conditions are:
myObj can be from any class.
the member function that is gonna be the callba...
Hi all,
I am a little perplexed and I have been working on this for hours and googling without any real leads. I want to create a callback in objective-c for my iPhone app utilizing the @selector.
Class 1:
- (void) someMethod {
// create selector
SEL successCallback = @selector(successMethod);
// call some service with c...
I have an array of URLs I'm running thru an included preg_replace_callback function, the idea being that each loop will yield a new result.
Problem is that it keeps outputting only the first result, as if it stalls after processing the first URL.
Here is the code:
if (!function_exists('name')) {
function name($match)
{
return($match[1...
i have an object that is used for calling callback functions ----- static jobject o;
i have assigned the callback function to that object through a pointer, env -----
o=env->NewGlobalRef(callback);
The same pointer, env, points towards the function CallVoidMethod( ) that uses JNI to reach to the java code.
env->CallVoidMethod(o, meth...
During the most recent google io there was a presentation about implementing restful client applications. Unfortunately it was only a high level discussion with no source code of the implementation. There is one sticking point for me that I can't seem to find any information about and it's not necessary to have seen the presentation to b...
I run into problems to pass a javascript object context into the callback handler of a JSONP ajax request, when the ajax provider predefines its callback. (Flickr is the service provider).
I'll give a simplified example:
function Person(anId) {
this.name;
this.id = anId;
var self = this;
this.loadName = function() {
$.ajax({
...
Can I implement multiple callback interfaces in C++ for Java?
...
I need help on what I think should be an ActiveRecord Callback.
What I am trying to achieve is, each time a particular record is saved, ActiveRecord actually saves 2 records in the same table.
I will stay away from why I want this, it should be good enough to know that each transaction needs 2 separate but similar records saved in the ...
Please refer the code below:
typedef void (*TimerCallback)(int RequestID_in, void* AdditionalParameter_in);
class MyTimer
{
public:
MyTimer(){}
bool schedule( int Interval_in, TimerCallback TimerCallback_in, void* AdditionalParameter_in)
{
//some logic
return true;
}
};
names...
I'd like to have a DIV fade in after fading another out. Because the one DIV is inside of the other, I need the parent DIV to fade out completely (clearing any other content that might be showing) before the child DIV then fades in. I tried using the jQuery callback function in my code below to no avail.
$('#viewer a').click(function(e)...
So I have a web app where both users and non-users can submit links to content. My web app is a site where users receive donations to content so I make sure that users verify that they are the owner of a website before receiving donations.
So when users submit a link from their own site they get a form with a select field of all the sit...
Hi there,
I have a general interest in the following question and would like to hear your opinion.
Setting: Imagine an API that provides a Callback-Interface Cb, that is you can create a Cb object and register it on the API. The API will call methods of your object in some other thread.
This could be the case where you want to receive...
Hi all,
I know there have been other questions on getting JavaScript / Flex ExternalInterface to play nicely, but I've what I think is a weird one. It works perfectly in every browser except Safari (on a Mac). Chrome, IE, Firefox - all ok, but Safari, nope it just wont fire. I've copied my code below, can anyone see why it doesn't work i...