Questions tagged [dukescript]

DukeScript is a framework for creating cross-platform mobile, desktop and web applications. DukeScript applications are plain Java applications that internally use HTML5 technologies and JavaScript for rendering.

DukeScript is a framework for creating cross-platform mobile, desktop and web applications. DukeScript applications are plain applications that internally use HTML5 technologies and for rendering.

Official documentation.

29 questions
0
votes
1 answer

How to bind events on dinamically created html?

I have a project in wich when you click tags, the information in the mid section will change by calling a function that changes the current value of the model that is shown as HTML in that specific section. If the generated HTML has more tags, how…
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
1 answer

How to integrate admob to Dukescript generated apk?

How do you add AdMob advertising functionality to your dukescript generated android project? Let's say for example that I addeded android to the Hello World example and that the app is already published so I can add some ad units trough admob site,…
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
1 answer

Is it possible to dynamically insert an element into an HTML page using Dukescript

I would like to dynamically add/remove elements from a DukeScript page - in response to user actions. Is this possible?
munyengm
  • 15,029
  • 4
  • 24
  • 34
0
votes
1 answer

Package DukeScript client artifacts in a war and serve from a web container (such as Tomcat)

I've followed the instructions here to create the sample DukeScript "Words" app. Everything works fine. I'd now like to serve the application using a web container. Is there an example of how to package the whole thing so that it can be deployed in…
munyengm
  • 15,029
  • 4
  • 24
  • 34
0
votes
1 answer

How to solve drag and drop in DukeScript?

The goal is that if you drag the picture from one section (#rightbox) to the another one (#leftbox) and you drop it, then a text appears in a text field. My HTML until now:
user3435407
  • 1,019
  • 4
  • 15
  • 31
0
votes
1 answer

How to handle routing in a DukeScript web application

DukeScript looks like a life saver for we Java guys! I am considering it for a serious project. Was curious to know whether it's production ready and well documented. Also, liked to know what would be the best way to support routing in a web…
Sanjay
  • 8,755
  • 7
  • 46
  • 62
0
votes
1 answer

JavaFX webview: How to forward System.out and System.err to the Firebug Lite console?

I've found several examples on how to pipe and redirect messages from System.out and System.err. Having decided to develop an application using the JavaFX Webview and Dukescript, I've found useful having one place where to display all messages, i.e.…
ZiglioUK
  • 2,573
  • 4
  • 27
  • 32
0
votes
1 answer

Can we use Dukescript as an applet replacement?

I read that DukeScript, a technology meant to bring Java to every client without the need of a plug-in. Can this technology used as an applet replacement?
Vijeta Rana
  • 15
  • 1
  • 4
0
votes
1 answer

DukeScript, why using @JavaScriptResource rather than importing a js resource with It loads and that's awesome but it has no…

ZiglioUK
  • 2,573
  • 4
  • 27
  • 32
-1
votes
1 answer

Knockout Bindings are not being applied when using angular templates

I'm trying to port an angular example to dukescript and navigation behaves as spected, but when tried to apply bindings nothing happened. I've tried both with the script tag an in external files with the same results and knockoutjs bindings are not…
1
2