Posts by Almer Nakano • 86 points
8 posts
-
1
votes1
answer217
viewsA: Client sending String[] instead of Bigdecimal to server when changing
For his Mistake: org.springframework.validation.Beanpropertybindingresult: 3 errors Field error in Object 'A' on field 'B[1]. C[0]. attribute': Rejected value [190.67,190.67]; ...(Other errors not…
-
0
votes1
answer51
viewsA: Error between Directive and controller
Do it this way: angular.module('').directive('SuaDiretiva', function() { return { restrict: 'A', templateUrl: 'botao.html', scope: { idade: '=', }, controller: _SeuController } }); var…
-
0
votes4
answers949
viewsA: Change select element value (Ajax + php) with innerHTML
To insert options in your select do as follows: municipios = document.getElementById('municipio'); municipios.options[municipios.options.length] = new Option('Texto', 'Valor'); and to reset the…
-
1
votes2
answers89
viewsA: Eternal loop boot using Angularjs
Alex, to finish the loop just one call: return desbloqueioCartaoService.buscarCPF(vm.cpf).then(function(response){ vm.loading = false; //seu codigo },function(_error) { vm.loading = false; }); What…
-
1
votes1
answer270
viewsA: How to put a color on the tr of a Dynamically Selected Radio
Look what you can do is this. From what I’ve seen, you own ${item.idAgenda}, assign id to your Row and record in your selection method. document.formConsulta.agendaSelecionada.value= idAgenda; Then…
-
1
votes2
answers1484
viewsA: Create a multi-category filter using a <select>
You can do something like this: $("#filtro").change(function(){ for(var i =0; i< selectElement.children.length; i++){ //iterar sobre as options para filtrar } }); And in case of all you can…
-
0
votes1
answer59
viewsA: Angularjs - Call Directive when remodeling page
You can use $watch, as in this example: app.directive('myDirective', ['$window', function ($window) { return { link: link, restrict: 'E', template: '<div>window size: {{width}}px</div>'…
-
3
votes1
answer569
viewsA: How to pass an Angularjs value to the JAVA controller
Good afternoon Alex, Something I noticed in your code is that you are calling your function by an ng-click even having a form, I suggest you make your request in Submit of the same. If I understand…