Posts by Eduardo Krakhecke • 935 points
99 posts
-
1
votes1
answer205
viewsA: Error making a GET, Javascript, Angular, Spring, Java request
To resolve this error, the following has been done: In relations @OneToMany and @ManyToOne an annotation was placed @JsonIgnore and was imported the jar Jackson-databind. Apparently solved the…
-
1
votes1
answer205
viewsQ: Error making a GET, Javascript, Angular, Spring, Java request
I have an error opening the screen with the bank search results. error is in image below. Debugging, the data is coming from the database. In the other image, the server log appears My class…
-
0
votes1
answer303
viewsQ: Error validating Java user, Spring
I have an error validating the user next to the database. I’ve debugged and the data (which you see from the front end) is being received by the API. The method that makes the search in the database…
-
0
votes1
answer383
viewsA: Block navigation until token login is validated, using Spring, Angularjs and Javascript
One solution I found was to make a Java command in the home.js file if(localStorage.getItem("userToken")==null){ $q.when(); $location.path("/login"); window.location.reload(true); } When someone…
-
1
votes1
answer383
viewsQ: Block navigation until token login is validated, using Spring, Angularjs and Javascript
I have a question.. I have implemented a login validation using JWT. It works all right, generates the token within the requests. However, on the login page, if in the URL I put the next page the…
-
0
votes1
answer254
viewsA: Relationship JPA, Spring, Angular,
I found the following solution: In the Equipment class of the model folder I changed the relation I did so: @ManyToOne @JoinColumn(name = "CLIENTE_ID") private Cliente cliente; In the Equipment…
-
0
votes1
answer254
viewsQ: Relationship JPA, Spring, Angular,
I have a client record and I want to associate with this client a relationship of equipment but is not saving the relationship. on the model layer of the customer class I did so @OneToMany(cascade =…
-
0
votes3
answers1468
viewsQ: Add a div by clicking the button
I have a situation here.. I need to add a div with a registration when the user clicks on a particular button. The page starts with the div. PS: I saw some similar answers but it didn’t help my…
-
2
votes1
answer454
viewsA: Java program does not find the Jasper report path
Two were the mistakes: as the windows of that machine is configured not to show the file extension, the file name was divergent, so I renamed the file to only orcamento. The second error was in the…
-
3
votes1
answer454
viewsQ: Java program does not find the Jasper report path
I made a small program in java to generate budget reports, I used for both Jasper Ireport, made, tested, generated the budgets all running on my computer. When I installed it on a friend’s computer…
-
2
votes1
answer220
viewsA: Error generating report with parameter id
The problem was in the sql of jasperReport was initially so: SELECT * FROM orcamento WHERE id= $P{Id}; so I switched to $P{id}; and solved the problem.…
-
0
votes1
answer220
viewsQ: Error generating report with parameter id
I am making a small system to print a budget by passing the id as parameter. The following situation occurs; By netbeans step id when prompted and normal report appears. But when I do generate the…
-
1
votes1
answer547
viewsQ: visualizarImg() is not defined at Htmlinputelement.onchange
I’ve seen some similar topics, followed the recommendations and was unsuccessful, so I open up a new topic. This error occurs when I upload an image and at the time of displaying it this message…
-
1
votes1
answer379
viewsQ: Date field not saved in Spring and Angular database
I am doing a small CRUD and na when I save the data the data fields Start and dataFim do not save in the database. PS: I did the debug and the dates are going through the save method. <div…
-
1
votes0
answers80
viewsQ: Display database image in datatable
I saved an image in the database and want to display in dataTable PS: I know that it is not good practice to store image within the database, this practice was done for study purposes. <h:form…
-
0
votes2
answers453
viewsQ: Inserting data using JPA
I need help saving the data of an application using JPA. I followed a tutorial that only helped in the implementation of login but did not show how to save the data. In this case, I am trying to…
-
1
votes1
answer61
viewsQ: Ireport report showing up without data
I am making a report with Ireport and passing a parameter with date range my sql in the report SELECT * FROM venda WHERE data between (venda.data = $P{dataInicial}) AND (venda.data = $P{dataFinal})…
-
-1
votes1
answer112
viewsQ: Search by date does not work
I am trying to do a search in the mysql database doing a filter by date and is not bringing any results. On the screen below I was able to search for the other criteria This is the code that’s doing…
-
-1
votes1
answer53
viewsQ: Problem getting date from screen
I have a small error when picking a jtextfield date, error occurs: String cannot be converted to date Follows my code: public TelaControle getVendaFromTela() throws ParseException { Venda vDaTela =…
-
-3
votes3
answers518
viewsQ: How do I fill address data through CNPJ?
I am setting up a customer registration via Web and would like to know if it is possible to fill in, automatically, the address data by filling in the CNPJ field?
javascriptasked Eduardo Krakhecke 935 -
0
votes1
answer1487
viewsQ: Increase icon size in browser tab
I would like to slightly increase the size of my icon in the browser tab, as I have attached the image and as you can see it is smaller than the standard. <link rel="shortcut icon"…
-
2
votes3
answers11617
viewsQ: Problems with special characters Html5 bootstrap
I’m having problems with my html, the page does not recognize the special characters. <!DOCTYPE html> <html > <head> <title>Verde</title> <meta charset="utf-8">…
-
0
votes2
answers3966
viewsQ: I need to put a button next to an input of type select, how to do?
I need to put a button next to a select type input. My code: <div class="form-group col-md-2"> <label for="inpIdPortador">ID Portador:</label> <select class="form-control"…
-
0
votes1
answer3811
viewsQ: Javascript for a flowchart
I’m setting up a flow chart on the web and I need Javascript to run the flow chart. Does anyone have any idea where I can find a FREE Javascript of Flowchart? I’d need something like this:…
-
1
votes1
answer547
viewsQ: How do I change the color of the Progressive bar when an error occurs?
How do I change the color of the Progressive bar when an error occurs ? <div id="divMenu"></div> <div id="divModals"></div> <div class="container"> <label…
-
0
votes0
answers91
viewsQ: Validation of Java Web Fields
I am doing a field validation in my project, however I programmed for the empty field error to appear only in the "name" field because I am still working on it. But the error message is showing up…
-
2
votes1
answer228
viewsQ: Search View without having to click enter to show the result
made a search on my list however it needs me to click enter to complete the search and show the results. I would like the result to come automatically when typing. Thank you. My code: ........…
-
2
votes2
answers3769
viewsQ: Select theme in Android Studio
When I select a theme in Android Studio, like this Holo I changed, it changes the preview but when I run the application on my device does not change anything. Anyone can help ?…
-
0
votes1
answer1055
viewsQ: Search View in a Listview
I am trying to implement a Search View in a List View of my project. I saw some tutorials but I could not implement any because there was always an error here and there by the peculiarities of each…
-
2
votes1
answer777
viewsQ: Error changing table SQLITE - in such column
I included a new column in a table. I reinstalled the application and at the time of saving the data there is a message saying that there is a pathImage column, in my case in the clients table. I…
-
0
votes1
answer714
viewsA: Error saving SQLITE: table .. has in column named
I reinstalled the application and it worked perfectly. Thank you all.
-
0
votes1
answer714
viewsQ: Error saving SQLITE: table .. has in column named
Error when saving the image path in SQLITE. Says it does not have a column named pathImage in the products table attached to the image with the error for better understanding. My Dao Product Class:…
-
0
votes1
answer40
viewsQ: Imageview error cannot be converted to Byte[]
I am mounting an application to which you want to save the image in the SQLITE Database. I am not able to proceed because the following error occurs ImageView cannot be converted to Byte[] I ask to…
-
1
votes1
answer61
viewsQ: Importing images from Google to the Android app
I’m building an App in which I want it to allow, through a button, I choose images from the gallery and include and save inside the application. But I have a problem IMAGE_GALLERY_REQUEST because…
-
1
votes1
answer137
viewsQ: How do I apply monetary mask to my listview?
I would like to know how to implement my monetary mask on ListView products. I ask you to be the most specific and detailed as I do not have much experience. Thank you. public class ProdutoAdapter…
-
1
votes1
answer93
viewsQ: Error summing Edit Text fields using Onfocuschangelistener
I’m trying to get my application to calculate the fields EditText cost price plus profit percentage and when clicking on the sales price field the result already appears, but instead of appearing…
-
0
votes1
answer997
viewsQ: To create a summation method where the result appears in the Edit text field
I am creating an application and would like the result of the cost price operation plus profit percentage to appear in the sales price result and the latter cannot be edited at the time of saving…
-
3
votes1
answer181
viewsQ: How to download and import android v7-appcompat bookstore to Netbeans?
I’d like to know how to import to a project using Netbeans, the v7-appcompat android library. I’m using a study code and Net Beans isn’t recognizing some lines of code. public class MainActivity…
-
1
votes1
answer188
viewsQ: Incompatibility of type blob and byte sqlite
I’m making an application to save the image in sqlite. But you are acknowledging the following error in my dao class: incompatible types byte cannnot be converted to byte. My Classes: import…
-
5
votes1
answer3875
viewsQ: How do I save an image to the database in Sqlite?
How do I save an image to Sqlite? I ask you to be as specific as possible because I don’t have much experience. In case I want to include a table row to save the image. import br.gestaoBd.Login;…
-
3
votes1
answer404
viewsQ: Error in monetary mask, saved with the right digits but at display time 2 digits are missing
Colleagues! When I save the product gets the correct digits as on the screen above. However, when I enter the list of products and click on the product Scissors it opens on the registration screen…
-
2
votes1
answer1405
viewsQ: I wonder if it is possible to have a phone mask in a text View
I would like to know how to have a phone mask in a text View field. In my case I have a listview with contacts where in each line of this listview appears the name of the contact and the phone. I’d…
-
1
votes1
answer2809
viewsQ: How do I alphabetize my list?
I have a ListView and I’d like to alphabetize the names of the clients. I urge you to be as specific as possible because I don’t have much experience. import static android.R.id.list; import…
-
0
votes1
answer338
viewsQ: How do I change the image of each item in my list ?
I want to change the image of each item on my list.. how do I do ? I appreciate the understanding that I don’t have much experience. Thank you. My code Below. import android.app.Activity; import…
-
0
votes1
answer102
viewsQ: Error calling data from a list to a registration screen
From now on I appreciate the understanding of all because I am not very experienced.I am with an error when loading the customer data from a list I want that, when clicking on add customer, I come…
-
0
votes1
answer49
viewsQ: My application saves blank data, I would like validation to prevent saving empty fields
I would like my Edittext field validations to prevent saving null fields. I am beginner in the area and ask for everyone’s understanding. Thank you very much. import android.app.Activity; import…
-
1
votes1
answer123
viewsQ: If and Else problem when validating Edittext fields in the android app
I’m a little confused to do a field validation here on my People Register. The following error appears: Else without if on line 84. I don’t have much experience and I appreciate the understanding of…
-
0
votes1
answer76
viewsQ: How do I format the actual values of my Android application?
I want editText values to appear in real.. how do I format within my current code conditions? import android.app.Activity; import android.app.AlertDialog; import android.content.DialogInterface;…
-
3
votes2
answers187
viewsQ: Error save data from sqlite register
I am in error when saving data from a people register in Javanullpointerexception sqlite: invalid int:(51)3452-2470. This error started to occur after I applied a mask. Follow the codes below.…