Flyer53/jsPanel

Ajax Call to PHP with Java Applet

Closed this issue · 2 comments

Hi there, been using your plugin, its great, unfortunately, I'm having a problem with it.
I'm doing an AJAX call to a PHP that contains and applet in Java, and so far the data arrives ok to that PHP, but the Applet isn't displayed, any clues to what can be causing it?

Hi there ...
well, I never did anything with Java. So I can only make wild guesses...
A quick google search didn't produce anything of help either. Only a lot of cases where people have problems with loading a Java applet with ajax, but no answers really.

Do you get any error message that might be of help?
What ajax callbacks do you use? The old ons like "success", "complete", "error" or the newer callback functions .done(), .fail(), .always()? I don't know whether it makes a difference but it's worth a try I think. Did you try the beta of jsPanel version 2? There you can pass callback functions to .done(), .fail(), .always() directly in the configuration object of jsPanel.

Sorry that I can't help more :(

@Flyer53 The Ajax post, results ok, the strange this thing is that when I get the reply from the server, the Java Applet is started, but I've got no results on screen. Basicly when I make the AJAX request, I should get a popup from the java Applet loaded in the response PHP asking me for a password.
I'm starting to think that it maybe be DOM issues, in the mean time I'll look into it a bit more.