Posts by Gabriel Cardoso • 40 points
13 posts
-
1
votes2
answers830
viewsA: Unhandledpromiserejectionwarning: Sequelizedatabaseerror: Table 'salao. Users' doesn’t exist
The recommended is to use the option tableName when declaring your Model. sequelize.define('users', { id: Sequelize.INTEGER, name: Sequelize.STRING, ... }, { tableName: 'users' });…
-
0
votes1
answer144
viewsA: Extension to improve Atom productivity
has the ide-php package, it supports the PHP language for Atom-IDE, but you should also install the Atom-ide-ui package to expose the functionality within Atom. Here is the link to the ide-php…
-
0
votes2
answers72
viewsA: How to include dates even if there is no data
For null fields I use this way WHERE c.id_modelo_produto IS NULL OR c.id_modelo_produto IS NOT NULL ORDER BY c.id_componente DESC
-
0
votes2
answers75
viewsA: Getting HTML table data from JSP
Good morning Lucas, When loading the air tickets, load the Ids as well, 'cause you’re gonna need them; In the "buy" link, call a method passing the ID as a parameter of the passage; In the method,…
-
0
votes1
answer155
viewsQ: How to remove#from Angularjs URL
The URL of my application is like this 'http://localhost/ssga/#/login'. I’m trying to get '#' out of the URL, I’ve tried several ways but I’m not getting it. I have the following code. config.js:…
-
0
votes2
answers53
viewsA: Delete data from Database
This is happening because the data you are trying to delete is tied with the other table. Then you need to change or delete this data by removing the mooring (The field that has the primary key from…
-
0
votes2
answers3232
viewsA: How to implement an Alert in the angular HTML page?
In the media-register file.component.html tries to do this.. <!DOCTYPE html> <html> <body> <input type="button" value="Button" onclick="alerta()"/> <script> function…
angularanswered Gabriel Cardoso 40 -
0
votes1
answer172
viewsA: After registration, datatable is not updated
Try it like this <p:commandButton value="#{msg['salvar']}" action="#{encomendaController.salvar}" ajax="true"…
-
1
votes1
answer656
viewsA: Use label instead of href
Puts the style on the link. ul li a { display: block; width: 80%; height: 80%; margin: 0 auto; margin-top: 3px; border: rgb(0,0,0) 1px solid; background-color: rgb(200,200,200); } ul li a:hover + a…
-
0
votes1
answer298
viewsQ: Clear form after registration (Javaserver Faces)
After having made a registration, it clears the form normally, but when I change page and return to the registration page, the fields are filled with the values I previously registered. The scoped…
-
0
votes2
answers478
viewsA: Update in datatable after you have updated data
Problem solved. what was wrong was because in my database I was using printer.name and in my dialog I was using printer.id_Lotacoes, so in one I was using id and in the other the description.
-
0
votes1
answer951
viewsA: Primeface components do not appear
Try adding the jar here... On top of the project click with the right mouse button and go to Build Path next Configure Build Path, on the screen that opened, on the tab Libraries goes on Add…
-
0
votes2
answers478
viewsQ: Update in datatable after you have updated data
Speak guys, I have a problem updating a column in my datatable after an edit. I use a dialog to edit the desired data. Everything is saving in the database, the problem is when updating the table,…