Posts by gemerich • 143 points
11 posts
-
1
votes1
answer826
viewsA: Error deserialize JSON - How to Resolve?
Good morning. The problem was solved, the structure of my JSON was incorrect: Correct: { "titulo": "Combatendo a Fome", "categoria_id": {"id":"1"}, "descricao": "Projeto Destinado a distribuição…
-
0
votes1
answer826
viewsQ: Error deserialize JSON - How to Resolve?
I’m using jpa and I have these two entities: @Entity @JsonIdentityInfo( generator = ObjectIdGenerators.PropertyGenerator.class, property = "id") public class Categoria implements Serializable { @Id…
-
0
votes1
answer150
viewsQ: REST/JAVA+ANGULAR2 authentication
I have a java Rest api and need to perform an authentication (login/password). I’m basing myself on this java code that uses Jwt: http://www.totalcross.com/blog/seguranca-com-jwt-e-java/ My question…
-
0
votes1
answer545
viewsQ: Cancel Event Click Jquery preventDefault
Hello, I am not able to use addClass when I give a replay on my page using ajax. What happens is that it adds the class to my html element for a moment, but the behavior is as if the page is being…
-
1
votes0
answers65
viewsQ: Return Value with Moneymask
I have a function that performs a calculation and changes the value of my component. But I would like her to return the real value already with the Mask, I’m using the MaskMoney but you’re returning…
-
3
votes4
answers1314
viewsQ: Position div below other after browser decrease
My question is how to position the black div below the red when the browser is resized? .teste2 { float:right; width: 200px; height: 100px; margin-top: -100px; background-color:black; } #teste {…
-
3
votes1
answer112
viewsQ: How to assign a function to an Object Array?
Guys I have this php function returning this string: function retornaGeoCod(){ for($i = 0; $i < 2; $i++){ echo '{ "lat":"-19.4746845", "long":"-44.159503", "local":"Prudente de Morais"},'; } }…
-
2
votes1
answer100
viewsQ: Do Not Repeat Values
I’m using google maps api and I’m kind of a layman at js. My map shows markers and in each marker I will display an infowindow or information balloon. The code below is doing this, but is repeating…
-
3
votes1
answer63
viewsQ: Recover Value Array
I have an array of strings. I’m trying to recover the value of Allotment, but I’m not getting it. Take a look at the code: var cord = ["-19.45738,-44.2416695"]; for(var i = 0; i<cord.length;…
javascriptasked gemerich 143 -
0
votes2
answers196
viewsQ: Javascript Checkbox All
Personal need to mark all checkbox of my system using javascript, however want to mark the checkbox through id, how do I do this? I’m doing it this way, but it’s not working: function…
-
0
votes0
answers39
viewsQ: Checkbox All Specific
I’m using javascript on a "Mark All" button to mark all checkbox of my system, however, now I would like to mark only the checkbox of a specific block or of a specific enterprise that defines each…