Hello to the hole Bonita community, I’m new in Bonita 7.2, any help will be appreciated.
This is the problem:
I creates a widget that is a table, and I need to pass a list of complex values, but I get an Angular Error.
This is the code of the widget:
//Variable of the form with a JSON value to initilize, but I can’t see it in the widget
//
datosTabla=
[
{
“select”: “true”,
“NDPName”: “NDP1”,
“OEM”: “CHOAM Inc.”,
“version”: “01”,
“dateAdded”: “Jan 1, 2013”,
“validUntil”: “Jan 1, 2014”
},
{
“select”: “false”,
“NDPName”: “NDP2”,
“OEM”: “Tyrell Corp.”,
“version”: “01”,
“dateAdded”: “Jan 1, 2014”,
“validUntil”: “Jan 1, 2015”
}
]
function ($scope) {
$scope.modelList = $scope.datosTablaLocal;
}
Error:
rror: [$parse:syntax] http://errors.angularjs.org/1.3.18/$parse/syntax?p0=panel&p1=is%20an%20unexpected%20token&p2=7&p3=panel%20panel-default&p4=panel-default
at Error (native)
at http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/vendor.min.js:6:417
at lb.throwError (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/vendor.min.js:192:113)
at lb.parse (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/vendor.min.js:190:406)
at http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/vendor.min.js:110:366
at new n (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/runtime.min.js:1:10017)
at Object.create (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/runtime.min.js:1:8209)
at http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/runtime.min.js:1:12401
at Array.forEach (native)
at Object.create (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.2/RevisarCamposNotificacion/content/js/runtime.min.js:1:12373)
(anonymous function) @ vendor.min.js:102