Posts by sergioBertolazzo • 282 points
14 posts
-
1
votes2
answers1166
viewsQ: How to make an HTML form responsive
I have an HTML and CSS form that is perfect on my site, but when I try to open it on a mobile device (mobile or tablet) it is totally distorted. I am using Bootstrap as a CSS framework. My code:…
-
1
votes2
answers540
viewsQ: Where to store profile images that the user uploaded?
I have a JAVA application that needs to store profile images that the user sent. //no meu LOCALHOST eu uso esse caminho e funciona perfeitamente: File arquivo = novo…
-
1
votes2
answers703
viewsA: pass several parameters in the ireport
check the type of the variable $P{codigo} in the Jasper, to work with the value "1,2,3" inside it, it must be of the type String. And to work on SQL your query string has to stay: SELECT * FROM…
-
2
votes4
answers456
viewsA: Take html from a created variable
try this, it works perfectly for me: var dadosexemplo = input1.prop('outerHTML') + input1_2.prop('outerHTML');
-
1
votes1
answer584
viewsA: How do I get back a Boolean after a form.Ubmit?
You can solve this using the method ajax of JQUERY. $.ajax({ type: 'POST', url : 'ServletName',//aqui você poe o nome do servlet async: false, data: { param1 : value1, //aqui param2 : value2, //vao…
-
2
votes1
answer75
viewsA: Screen Registration - Repeat users
You need to do this back-end validation: It would be necessary to create a search engine to be executed when the user clicked on the button register, then, before you perform the Insert in the…
-
0
votes3
answers191
viewsA: Has the standard Java output function accepted several parameters?
Try to replace the code: System.out.println("Existem ", total_alunos, " alunos na classe."); for System.out.println("Existem "+ total_alunos + " alunos na classe."); the exit will be: There are 5…
javaanswered sergioBertolazzo 282 -
1
votes1
answer288
viewsA: About Jasper Ireports, I need to sort columns coming from the database to be displayed sorted in the report
Try to take a look at this link: https://solutiondesign.com/blog/-/blogs/building-dynamic-columns-in-jasperrepor-1 It exemplifies the creation of dynamic columns with the jar Dynamic Jasper. I…
-
1
votes2
answers70
viewsA: Switching from double parameters to Jasper report
If everything is working fine, and the error only occurs when you pass the two parameters, your error is in the query. If you look at your query this getting like this: he.tipo = 'entrada or tipo =…
-
1
votes4
answers6235
viewsA: Inserting image with Jasperreport via parameters
I went through the same problem, so I solved it this way: <image hAlign="Right" vAlign="Middle"> <reportElement style="StyleSeta" x="1236" y="1" width="10" height="16"…
-
1
votes1
answer465
viewsA: Image . png in Jasper report
I went through the same problem, so I solved it this way: <image hAlign="Right" vAlign="Middle"> <reportElement style="StyleSeta" x="1236" y="1" width="10" height="16"…
-
1
votes2
answers1096
viewsA: Dynamic Color in Textfield in Jasper Reports
I already went through this same problem, I needed to paint each line of the report pair red, so I found following the solution: <style name="style_fundo_vermelho" mode="Opaque">…
-
1
votes1
answer43
viewsA: How can I print an image only in the last row of a table in Jasper Reports
I was able to find the solution to this problem with the use of the internal variable of Jasper: $V{REPORT_COUNT}.intValue() It works like a line counter from the detail range of your table, so I…
-
1
votes1
answer43
viewsQ: How can I print an image only in the last row of a table in Jasper Reports
I have a table that comes out in PDF on Jasper Reports and I need a boolean expression to print an image only in the last row of the table. Someone can help me?