Questions tagged [jsobject]

JSObject is a class of the Java UI library JavaFX. The class is used to manipulate Javascript objects from Java code.

JSObject is a class of the Java UI library JavaFX. The class is used to manipulate Javascript objects from Java code.

101 questions
0
votes
1 answer

How to push array into json object in Firebase set() function?

I want to push new item to my firebase database. Json object should look like this: var newItem = { 'address': "Кабанбай батыр, 53", 'cityId': 1, 'courierName': "Максат", 'dispatcherId':…
0
votes
1 answer

Update the Jsobject key of key value in Scala

I knew we can update the JsObject by key, however, how can I update the key of key in JsObject. For example, val queryText = (Json.parse(normalQuery) \"query" \"query_string" \"query").as[String] I can get the string value, however, how can I…
user48135
  • 481
  • 5
  • 13
0
votes
0 answers

Starting applet from java code. Javascript invocation error

I need to test an applet on an html page, but I have two restrictions: I have no any source code and I can't use decompiled codes in my Java application. I must emulate user behaviour in this applet. In this case I have to use the htmunit library…
glarus089
  • 93
  • 1
  • 7
0
votes
2 answers

Store object value based on another object key/value

I have a website that reads like a book, first page to the next to the next to the previous page. Think of this as a forward and back page flip in a book. Its not the previous page in the browser, its within the pages themselves. Like you are…
Alan
  • 49
  • 10
0
votes
1 answer

JSObject to JSArray

I'm trying to read all URLs from a html document. I am using the following code: Dim html As String = "var linksArray = new Array(); " & "for (var i = 0; i <…
AntonioC
  • 437
  • 2
  • 5
  • 16
0
votes
1 answer

Grabbing Data from a Single JS Object with multiple ID's be index'd by search engines

If i build a webpage that grabs data from a single JS object to fill out the page depending on what ID is sent in the URL, would this data be indexible by search engines? Basically i have a single page design with a header, description, and hero…
f00d
  • 581
  • 1
  • 6
  • 21
0
votes
1 answer

Is there any way to know if the user has rejected the applet?

I am working on a web application. I first check whether Java is enabled or not on the browser. Now only if Java is enabled I load the applet, else I do not load the applet. Now I have two cases: If the user accepts the applet, show div1 If the…
user3213851
  • 1,068
  • 2
  • 12
  • 24
0
votes
1 answer

Javascript: Get this prototype object name

.. Class.prototype.property = function(){ return(this.prototypeobject.name); } .. oClass = new Class(); alert(oClass.property()); It's simple(or maybe not?). I just want to get the current prototype object name as String. Note:…
Sylnois
  • 1,589
  • 6
  • 23
  • 47
0
votes
3 answers

JS : Objects into array

i'm trying to create object named client. and put it into a array. And after this, read the name of the 1st client. Exemple : client1 {nom : "marco", prenom : "chedel", adresseMail : "ssss@ggg.com"}; and put this client into an array like…
e1che
  • 1,241
  • 1
  • 17
  • 34
0
votes
1 answer

How do I fill a handsontable from a javafx WebView using a JSObject?

I try to use the api method loadData (data: Array). The handsontable has two text columns. I get the JSObject calling: JSObject jsTable = (JSObject) webView.getEngine(). executeScript("$('#example').handsontable('getInstance')"); I construct the…
Miggs
  • 11
  • 1
  • 3
0
votes
0 answers

JSObject returns null

I have a JSF page with two applets, both applets communicate with JSF by javascript, each applet communicate with external devices and get images coded base64
Hernan Bernal
  • 39
  • 1
  • 7
0
votes
2 answers

Creating array of JSONs from php

I am having trouble creating correct format of JSON to pass it to js from php. I am using extjs and in my tree, I need to add children: var treePanel = Ext.create('Ext.tree.Panel', { id: 'tree-panel', region: 'north', split: true, …
Brian
  • 4,958
  • 8
  • 40
  • 56
0
votes
0 answers

Convert .js file to javascript object Android

Weather webservice is returning .js file. How to get this to java object so I could get something like this going: var data1 = new Array(); for(var i = 0; i < jsObject.series[0].data.length;i++){ data1.push(jsObject.series[0].data[i].y); Currently…
0
votes
1 answer

Passing function( has call back function(has argument)) as object attribute

i have showProfile function which is accept callback function . The callback function has also an argment which is an object. showProfile(call_back_fn) invoke it : showProfile(function(obj){console.log(obj)}) I want to set this function as an…
Abdennour TOUMI
  • 87,526
  • 38
  • 249
  • 254
0
votes
1 answer

What are the security reasons for disabling plugin.jar /JSObject

I am developing an applet and wonder what are the exact security reasons why 'plugin.jar' is not accessible like the rest of the Java libraries and why JSObject also is disabled for security reasons. The only statement I can find, is that it is…
enRGi
  • 71
  • 2