Calling applet method.

1
We are using applet to get some data from smart card. We want to update object by this data, actually we are able to display this data to the entity's attribute text-box (by using JS). But while we are trying to save, the attribute value is not saving and become empty after clicking on default save button.
asked
2 answers
2

You are saying that you are able to display the data in the textbox? Do you mean that with the use of javascript you just updated the textbox or did you actually save the data to a mendix object via the api?

answered
0

Take a look at the color text box widget. This is quite small and changes a text field as well.

Probably something like:

    this.connect(this.inputbox, 'onchange', dojo.hitch(this, this.changing));
        // add to user interface
        this.domNode.appendChild(this.inputbox);
    },
    changing: function () {
        this.hasChanged = true;
        this.onChange();
    },
answered