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
4
votes
3 answers

How to use DukeScript with Eclipse?

Is there any tutorial for using DukeScript with Eclipse? I can find only a description for using with NetBeans.
Horcrux7
  • 23,758
  • 21
  • 98
  • 156
2
votes
1 answer

How to debug problems with the javafx native bundle for Windows?

I'm trying to package a JavaFX/DukeScript application into native bundles. For Windows that's achieved with Inno Setup, that's what the javafxpackager uses. I can't find much documentation about it, so I'll create a question and provide the answers…
ZiglioUK
  • 2,573
  • 4
  • 27
  • 32
1
vote
1 answer

How can I embed a Dukescript App into a JavaFX Scene?

I want to embed a dukescript app inside a Swing App so I think that I have to embed a panel to support JavaFX rendering. final JFXPanel fxPanel = new JFXPanel(); Scene scene = createScene(); fxPanel.setScene(scene); To be able to render Dukescript…
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
1
vote
1 answer

How do I deploy a Dukescript Jersey Based Server to a production enviroment?

I'm trying out Dukescript based on the "CRUD with JerseyFaces" in netbeans, and I realise the when the web module is built via maven, a jar file is generated. How do you suggest I may deploy my web application to lets say the Wildfly Application…
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
1
vote
1 answer

How to find variable in a String list in DukeScript

I have created a search word example but it seems that is not doing the string search when the button is clicked against a constant properly. HTML:

Java Dictionary


0
votes
0 answers

bck2brwsr-maven-plugin produces Illegal argument

I'm compiling a maven multimodule project created with dukescript, it works like a charm in my local with Oracle's Java 8; however when running on travis CI with OpenJDK 11 the console shows me the following error [ERROR] Failed to execute goal…
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
1 answer

How can I define writable computed observables in Dukescript?

I'm trying to replicate the example 1 on Dukescript, the example consists on modifying the generated full name and automatically modify the first name and last name fields on the data model. This is my code so far HTML:
First name:
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
2 answers

packaging dukescript as native windows app

Recently I read on Dukescript page DukeScript’s is pure client technology: You write your application and it’s business logic in Java which is compiled to Java bytecode. The bytecode is running in a normal JVM. If you deploy the application to …
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
1 answer

How can I navigate through views in controls.js

I was trying the Hello demo And wanted to create another page to navigate to. How can I do that? Here is what I've thought: var AppForm1 = new ngControls({ Label1: { Type: 'weLabel', L: 20, T: 20, Data: { Text:…
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
2 answers

DukeScript: Android start an intent

We would like to know if it is possible to get the context of Duksecript Android presenter so we can call external elements? Intent intent = new Intent(Intent.ACTION_MAIN, null); intent.addCategory(Intent.CATEGORY_LAUNCHER); final…
Ed_Hill
  • 3
  • 4
0
votes
0 answers

Chocolate chip UI Navigation not working on Dukescript

I decided to include chocolatechip-ui because of its navigation features, but it seems not to be working. As you may see in this web example it works, but it doesn't on Dukescript. .icon.help { background-image:…
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
1 answer

What does browser.bootstrap stand for in dukescript projects?

Every time I generate a new dukescript project using knockoutjs sample code, this appears in some comment: browser.bootstrap Does it have some use? Is it necessary?
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
1 answer

Trying to insert data non related to model produces null

I'm trying to type some numbers that are not directly related to the model based on this example. My code HTML:
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
0
votes
2 answers

java.lang.Throwable: ReferenceError: event is not defined

How to get clicked element text trough javascript's event.target.value?. I found this knockoutjs example and want to port it to Dukescript. Here's my try: HTML

Ruslan López
  • 4,433
  • 2
  • 26
  • 37

0
votes
2 answers

Sending constant parameters to change a model field in dukescript

How can I send any parameter to change something in the model? I tried with setters but failed, and when tried to do it from the view I got a strange behaviour. This is as far as I'm now. HTML: Selected name:
Ruslan López
  • 4,433
  • 2
  • 26
  • 37
1
2