0
votes
0answers
12 views
Pass javascript object to java's JsonObject
I am trying to pass some simple javascript object from my Parse.com cloud function (back-end)to my android application.
Here is the code of the javascript class:
function Rate()
{
this.avgRate = ...
0
votes
0answers
15 views
GWT HasWidgets.clear() infinite loop
I have written a Google Web Toolkit based application, and it seems to be able to get into some infinite loop on occasion. I'm finding it difficult to reliably reproduce the problem, although it has ...
0
votes
0answers
14 views
Selecting javascript generated elements in an iframe Selenium 2
I'm trying to select one of the odds buttons in this site, as if going to make a bet: http://www.12bet.co.uk/EuroSite/Euro_Index.aspx?20110303
I'm using Selenium 2 with Java language bindings. I can ...
-2
votes
0answers
22 views
PPT to PNG Serverside [closed]
Is there a way to convert PowerPoint files (.PPT) from a specific folder into a .PNG from the server and then display the PNG files.
I've read about ways to do it with PHP but can this be done with ...
0
votes
1answer
21 views
gwt-voices - wav file not playing
I followed this gwt-voices quickstart https://code.google.com/p/gwt-voices/wiki/GettingStarted to create and run simple gwt-voices project.
My problem is that the sound is not played when I run my ...
0
votes
1answer
31 views
How to get specific value from string like in the query string
I have li with text id=452/name=Vova/Price=457$
i need in clien build var id,name,price and to each one get the right text that i can work with them
This will look will look like this
var id=452
...
-1
votes
1answer
56 views
World generation from a string [closed]
I'm planning a small game in Javascript and I'd like to generate XY coordinates of objects in a 2D world, along with a size (just a random integer). I tried researching it but can only find things ...
2
votes
0answers
31 views
Call by reference a Java applet function from JavaScript
When I call a Java applet function by reference from JavaScript code, it doesn't work correctly. The signatures are as stated below:
// Java Code:
public class A extends Applet{
public void ...
0
votes
1answer
15 views
Google maps mashup unexpected error
I am making a mashup between google maps and songkick, however i am running into an error that i dont understand. The program connects via an applet to get a list of concerts and locations. Then it ...
1
vote
5answers
53 views
Am I able to use JavaScript with the Java SDK?
I want to create a mod for Minecraft, and I am aware it uses Java. I am currently learning JavaScript, and was wondering if I am able to use JavaScript for the SDK.
0
votes
0answers
8 views
Rhino/Java Scripting API, returning XML Document as JSON?
I am writing a Java class that will be exposed in a Javascript, using the Rhino API in Java. One of the methods needs to take an XML source and convert it to a JSON, for use in a Javascript.
The ...
0
votes
0answers
6 views
Primefaces Drag and Drop from DataGrid
I'm using Primefaces Drag and Drop to drag from a DataGrid to another component. The problem is that when you drag an item from a datagrid, the item is not visible as soon as it leaves the cell.
...
-1
votes
1answer
40 views
Convert list of java object in javascript arraylist
I have a question: I have a java object that's a List and I want pass it to javascript for populate the source of a jquery autocomplete.
From jsp I pass the object present in the session by this tag
...
1
vote
1answer
19 views
Do I need to cleanup Rhino ScriptableObject instances?
I am using Rhino in a project, which requires that I create a number of ScriptableObjects, which are used for a short time, and then discarded. Will doing this create a memory leak?
The code is ...
-1
votes
1answer
40 views
handle unterminated string constant in javascript
When my sql server SP returning string with new line character and in my jsp I pass it to script function and display it in alert box it throws :
function sample(notes){
alert(notes);
}
Error:
...