Posts by Iago Cavalcante • 104 points
17 posts
-
0
votes4
answers3254
viewsA: GIT error: pathspec 'master' Did not match any file(s) known to git
In that case you can make one git fetch and see what is returned from the remote environment and then give a git branch to list the branchs that exist on your site.
gitanswered Iago Cavalcante 104 -
0
votes3
answers86
viewsA: vuejs returns student object null when trying to search student by id
This has the face of scope problem (this), you can solve by doing so: methods: { async updateStudent() { try { const url = http://localhost:5000/students/student const { data } = await…
-
0
votes1
answer395
viewsA: Vuejs - attaching a PDF file for download
Because it is a project with Vue cli 2 > it is necessary to create the file Vue.config.js module.exports = { configureWebpack: { module: { rules: [ { test: /\.(pdf)(\?.*)?$/, use: [ { loader:…
-
-1
votes2
answers443
viewsA: Display date correctly on a Jtable
I think you just need to format the date, doing so: SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yy"); for(Alunos a: aluDao.read()){///adiciona linha na tabela modelo.addRow(new…
-
0
votes1
answer134
viewsA: Error creating graph with API data - Axios/Vue
Your code should be inside the Vuejs mount method, so it will execute the ajax execution, the moment it assembles the whole component. This is the code that is working, I recommend you study the…
-
0
votes3
answers210
viewsA: Load Tomcat into Java Desktop application
For this case, recommend you use the embedded Jetty, you can start the server along with the start of the application. You just need to set up and understand a few things, if you have no difficulty…
-
0
votes2
answers80
viewsA: Am I resizing and setting the HTML page "correctly"?
As the colleague commented, you are writing html in an outdated way, to improve understanding, you need to study responsiveness, semantic web and new techniques of writing layouts with css, using…
-
0
votes2
answers115
viewsA: Manipulating audio properties in HTML/JS
you can use a call lib jsmediatags, with it you can capture the file information, even the artwork. You use it as follows, you can see other ways in the link I passed and if you want to know how lib…
-
1
votes1
answer55
viewsA: Extract image RGB values
I tested some things here on the machine and debugging found that the existing error is this Uncaught DOMException: Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has…
javascriptanswered Iago Cavalcante 104 -
0
votes1
answer99
viewsA: how to connect javascript to webservice?
I suggest you study how to return a JSON using Jaava and then try to connect, take the date from Alert and place a console.log() console.log(data) Another suggestion is to look if there is an error…
javascriptanswered Iago Cavalcante 104 -
0
votes1
answer46
viewsA: Automatically save to bank after changing select value
That’s exactly what you’re thinking, in the onchange method, you’ll take the value and send it to your backend, to a power route, preferably using AJAX, so you won’t have to reload the entire table…
-
0
votes1
answer460
viewsA: nodejs + Mongoose how do for one query need another?
I’m not sure if I understand very well what you want, but to bring the information of a related model, I usually use so in consultation: ComicBook.aggregate([ { $lookup: { from: "publisher",…
-
1
votes1
answer414
viewsA: How popular is Chartjs Chart with Vuejs and Axios?
I advise using a Vue-chartjs flame package https://vue-chartjs.org/ and create Wrappers on top of it, if you don’t want to use it, you can create a boolean variable in date, called hasData: false…
-
0
votes1
answer475
viewsA: Automatic scroll Vue.Js
If there is no impediment for you, I advise installing the package https://www.npmjs.com/package/vue-scrollto and if you want to know how to do the implementation on your own, read the source code…
-
0
votes1
answer257
viewsA: Close a modal after completing the action in the quasar framework
props: { abrirModal: { type: Boolean, default: false } }, computed: { modalControl: { get () { return this.abrirModal }, set (value) { this.$emit('update:abrirModal', value) } } }, methods: {…
-
1
votes1
answer88
viewsA: Classes, Mixins or the Two?
I don’t see much of the advantage of using a class only with getters and setters, but I see an advantage in using the services, an approach that helped clarify the ideas regarding this were these…
-
0
votes2
answers3704
viewsA: Receiving the login id
According to a user of pagseguro developers forum in the transparent checkout example topic, this error occurs due to you not being allowed to perform transparent checkout in production environment,…
phpanswered Iago Cavalcante 104