I have an error when I map a form variable (JSON) to a table(HTML table tag). The form variable is a collection of complex data.

1
0
-1

Hello to the hole Bonita community, I’m new in Bonita 7.2, any help will be appreciated.
I hope you a nice day.
This is the problem:

I created a custom Widget with an HTML table, I use a parameter, a Collection of Complex Data that I pass to the widget and I try to show it in the wdget But I always get an error.
I'm watching the vaue of the collection in a text field and it is a correct JSON.
This is the tempalte code:

<table data-toggle="table" calss="table table-striped table-bordered dataTable">
     <tbody>
        <tr>
           <th></th>
           <th>Reporting Entity</th>
           <th>Reporting entity name</th>
           <th>Job Profile</th>
           <th>Reporters code</th>
           <th>First Name</th>
           <th>Last Name</th>
           <th>Email</th>
        </tr>
        <tr ng-repeat="model in datosTablaLocal">
              <td>
                 <input type="radio" name="groupName" ng-model="model.selected" />
              </td>
             <td>{{ model.entidadReportante }}</td>
             <td>{{ model.nombreEntidadReportante }}</td>
             <td>{{ model.departamento }}</td>
             <td>{{ model.perfilReportante }}</td>
             <td>{{ model.codigoReportante }}</td>
             <td>{{ model.nombre }}</td>
             <td>{{ model.apellidos }}</td>
             <td>{{ model.email }}</td>
         </tr>
     </tbody>
</table>

This is the controller code:

function ($scope) {
    $scope.datosTablaLocal = $scope.properties.datosTablaLocal;
}

The JSON Code:

[
  {
    "persistenceId": 111,
    "persistenceVersion": 1,
    "notificationId": "11",
    "entidadReportante": "Spain Other Aircraft Ground Handling Organization",
    "nombreEntidadReportante": "Atlantica",
    "departamento": "Operaciones Vuelo",
    "perfilReportante": "Tripulante de Vuelo",
    "codigoReportante": "Y15678909",
    "nombre": "Marta",
    "apellidos": "López Sánches",
    "email": "mlopez@naysa.es",
    "viaReporte": "Rapida",
    "fechaLocalCreacionReporte": "11-07-2016",
    "horaLocalCreacionReporte": "12:00:00",
    "tiempoDeReporteDesdeOcurrencia": "2",
    "narrativaOriginal": "Narrativa ",
    "lenguaje": "Leng",
    "nombreAdjuntos": "Adjuntos",
    "tipoReporte": "Tipo 1",
    "id": "211212",
    "fechaCreacion": "08-07-2016",
    "usuCreador": "C78715649",
    "fum": "9-10-2015",
    "uum": "G45678098",
    "fechaLocalCompletaCreacion": "5-5-2016",
    "selected": false
  }
]

THE ERROR, ANGULAR JS:

vendor.min.js:102 Error: [$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.3/RevisarCamposNotificacion/content/js/vendor.min.js:6:417
    at lb.throwError (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.3/RevisarCamposNotificacion/content/js/vendor.min.js:192:113)
    at lb.parse (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.3/RevisarCamposNotificacion/content/js/vendor.min.js:190:406)
    at http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.3/RevisarCamposNotificacion/content/js/vendor.min.js:110:366
    at new n (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.3/RevisarCamposNotificacion/content/js/runtime.min.js:1:10017)
    at Object.create (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.3/RevisarCamposNotificacion/content/js/runtime.min.js:1:8209)
    at http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.3/RevisarCamposNotificacion/content/js/runtime.min.js:1:12401
    at Array.forEach (native)
    at Object.create (http://localhost:8080/bonita/portal/resource/taskInstance/RegistroSimpleNotificacion/5.3/RevisarCamposNotificacion/content/js/runtime.min.js:1:12373) <div pb-property-values="59c870ab-b357-45f3-b176-25f60338efb0" class="ng-scope">(anonymous function) @ vendor.min.js:102(anonymous function) @ vendor.min.js:76Xc @ vendor.min.js:70x @ vendor.min.js:59g @ vendor.min.js:51g @ vendor.min.js:51x @ vendor.min.js:59g @ vendor.min.js:51(anonymous function) @ vendor.min.js:51(anonymous function) @ vendor.min.js:52l @ vendor.min.js:56(anonymous function) @ vendor.min.js:217m.$digest @ vendor.min.js:124m.$apply @ vendor.min.js:127(anonymous function) @ vendor.min.js:17e @ vendor.min.js:36d @ vendor.min.js:17xc @ vendor.min.js:18Od @ vendor.min.js:17(anonymous function) @ vendor.min.js:252a @ vendor.min.js:165c @ vendor.min.js:32
No answers yet.
Notifications