Posts by Leonardo Bugoni • 75 points
10 posts
-
2
votes2
answers4342
viewsA: Sublime Text 3 does not recognize commands in PHP
The sublime does not run php, not even Bluefish as I recall, what you can do is set the default php syntax that comes with the sublime, or download some that has ways to complete the functions. I…
sublime-text-3answered Leonardo Bugoni 75 -
2
votes2
answers90
viewsQ: How to leave a radiobutton marked as default on Ember
I have these two Components radio-button. I’d like to leave the Pessoa Física marked/checked as default. How do I do this in Emberjs ?. <div> <label>Pessoa Física</label>…
-
0
votes3
answers471
viewsA: Does the CSS "! Important" property influence website performance?
Yes and no, of course add a notation ! Mportant will increase the size of the code, but nothing noticeable, not time of execution I believe the difference is not noticeable, but of course this is a…
cssanswered Leonardo Bugoni 75 -
0
votes2
answers148
viewsA: How to leave an entire page clickable linked to a button?
You can link a click event to the window or Document, with javascript, so when anywhere on the screen or document is clicked this event will be executed $(window).click(function() {…
-
0
votes1
answer272
viewsA: Unable to build Entity manager Factory
The mistake was the lack of a department along with those of the Maven. mysql mysql-Connector-java 6.0.6
-
0
votes1
answer272
viewsQ: Unable to build Entity manager Factory
<persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence…
-
0
votes0
answers79
viewsQ: How to update object using Entity manager?
to create I used: public void adiciona(Produto produto) { em.getTransaction().begin(); em.persist(produto); em.getTransaction().commit(); } to remove I used: public void remove(Produto produto) {…
-
1
votes2
answers347
viewsA: Error in DELETE method, to delete a data from a table
The method is correct. The error was in the JSP form. The correct one is the following: <form action="<c:url value='/produto/remove?id=${produto.id}'/>" method="POST"> <input…
-
1
votes2
answers347
viewsQ: Error in DELETE method, to delete a data from a table
I am trying to make a method to delete an entry from a table with Java and jsp, but is giving error 405. I will attach the codes. Productodao.java.: public void remove(Produto produto) {…
-
1
votes2
answers752
viewsQ: How to create an event where when the user presses the space key something happens?
For now I have only this bit of code: personagemPular.on("keyup",function(){ I wanted to trade this keyup for pressing space. And I’m also using a area text in HTML to receive keyboard entries, as I…