1) In "data view - edit mappings" i created a javascript variable (with a second option being to create a local storage variable).
2) I connected a response parameter with this javascript variable.
3) "Edit js" with the javascript variable, I put in code to show an alert window.
4) Saved and tested the application. Showing me the alert window.
5) deleted the javascript variable in the "data view - edit mappings" view.
6) Saved and tested: application STILL SHOWS me the alert window that i created in the javascript variable, but which i deleted.
When i look into the browser source code, the code is still there in the Tiggzi created code:
/*************************
* NONVISUAL COMPONENTS *
*************************/
var datasources = [];
contacts1 = new Tiggr.DataSource(ContactsService, {
'onComplete': function(jqXHR, textStatus) {
$t.refreshScreenFormElements("j_31");
},
'onSuccess': function(data) {},
'onError': function(jqXHR, textStatus, errorThrown) {},
'responseMapping': [{
'PATH': ['$'],
'TRANSFORMATION': function(value, element) {
if (value.id == localStorage.getItem("ID")) {
alert("ja");
}
So behind the screens in the source, Tiggzi is still using this deleted javascript variable, still connected to the service response (I connected a response parameter '$' to the javascript variable).
Deleting the browser cache, using a completely different browser, logging in and out, does not help.