You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my widget (I know this code is wrong but It's for be more clear of what I would like to do)
I'm able to get the valu of the config (like name or even value) but If I change by checking or un-checking my checkbox, value won't change in my logs
onGetData: function wfTab_wfTabFilter__onGetData(payload) {
var url = AlfConstants.PROXY_URI+"wfTab/filter";
var test = lang.getObject("filtre", false, payload);
// var checkboxValue = payload.getValue();
this.alfLog("warn", "value of the checkbox" +checkboxValue);
The text was updated successfully, but these errors were encountered:
RedRaccoon
changed the title
Can't get the value of widgets
Can't get the dynamics value of widgets
Jan 29, 2016
Your model is being defined in a WebScript that is running on the server. The value of checkbox.config.value will be whatever it is defined in that WebScript. When the page loads that will be translated into JavaScript running on the client ... the "filtre" attribute will be fixed to whatever it was set to in the WebScript - you cannot reference a JavaScript variable defined and executed on the server from within the browser.
I have a webscript wich get all the workflow I wan't to show, I want to add args depending on checkbox
In my widget (I know this code is wrong but It's for be more clear of what I would like to do)
I'm able to get the valu of the config (like name or even value) but If I change by checking or un-checking my checkbox, value won't change in my logs
The text was updated successfully, but these errors were encountered: