inside index.html<button data-bind='click: addfilename.bind($data, "temp")'>testing</button>
inside DataModel.java@Function public static void addfilename(Data model, String temp) {model.setMessage(temp);}
--it show null value in message after pressing the 'testing' buttonI use netbeans IDE to write this code....help please
You received this message because you are subscribed to the Google Groups "DukeScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dukescript+...@googlegroups.com.
Visit this group at https://groups.google.com/group/dukescript.
To view this discussion on the web visit https://groups.google.com/d/msgid/dukescript/e201ce95-1a20-432e-bf72-5eecf0017a1b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I want to add name dynamic, just use "temp" for testing. Could you mind to get me some suggestions. I try to put some dynamic value from html to duke script code. Thx thx
//@Function static void testingfilenames(Data model,final String model1) {@Functionpublic static void addfilenames(Data model, String temp) {//model.setMessage(model.getMyMessage());Dialogs.confirmByUser(temp, new Runnable() {@Overridepublic void run() {}});