Posts by sounobre • 359 points
23 posts
-
0
votes1
answer37
viewsQ: Aid with update performance
I have the following situation: I have to update some ids with the where in a requisition number, but are between two banks, firebirds, different. I did this: while not qry1.eof do begin…
-
0
votes2
answers276
viewsQ: Reports with Jasper Ports
Good evening guys! To create reports with Jasper I need to have classes with templates? Since I already have a populated bank and I only want the reports, creating filters and tals...
-
3
votes1
answer448
viewsQ: Distinct Count no fastreport
How to make a Distinct Count in the Fastreport? I have the report: Name - sex John - m John - m Maria - f In the Count normal, the result would be 3, but I want one that only takes the number of…
-
1
votes1
answer165
viewsQ: Filter passes before login Servlet
Good evening guys, I have a question, I don’t even know if I need to post the code to solve. The filter is being called before the login Servlet, that is, with that the user is never logged in. How…
-
0
votes2
answers70
viewsA: Switching from double parameters to Jasper report
@sergioBertolazzo , really you are right, but one thing I was not calling me was in ! do p{}... then it would never go the way I wanted or make a ternary.... after I put p!{} everything became…
-
0
votes2
answers70
viewsQ: Switching from double parameters to Jasper report
I’m making a report that passes as parameters: Start date, end date and type (which may be: in, out or in and out). Everything works fine until I try to get the report that takes in and out... I’ve…
-
0
votes1
answer815
viewsQ: Load data from a method list to Servlet
Good afternoon people! I have this method in Servlet that returns a list of values. How do I load the values it has, with jquery?…
-
0
votes2
answers2673
viewsA: Remove tab(tab) from sweeping
I got it this way: trim(both from replace(campo, ascii_char(9), ' ')) Thank you all!
-
2
votes2
answers2673
viewsQ: Remove tab(tab) from sweeping
Good afternoon, you guys! I’m trying in every way, but I can’t get a tab at the end of a varchar in Firebird. Someone knows how to do? From now on, thank you. Editing to get more specific: Ex.:…
-
1
votes2
answers118
views -
3
votes2
answers118
views -
1
votes1
answer663
views -
0
votes2
answers1507
views -
6
votes2
answers1536
viewsQ: Format Date Return with Date and Non-string Format
I’m trying to return a date that is recorded right in the bank (1986-04-30 17:02:00), I try to convert this date to appear only "30/04/1986", but no use. The most I can get back is Wed Apr 30…
-
2
votes3
answers722
viewsQ: Count in Firebird 3.0 Bigint X Firebird 2.5 Integer
In my system, after the migration of Firebird 2.5 to the 3.0, many reports and other functions began to give problem stating that the expected was Integer and the current is LargeInt. I took a look…
-
0
votes1
answer244
viewsQ: How to show a confirmation message after checking in Servlet?
Good afternoon, you guys! By clicking the Change button, I perform a check to see if the data in the database remains the same. How do I return a confirmation window if the results are not the same?…
-
1
votes2
answers2062
viewsQ: Pass values from a table to a modal dialog (JSP)
Good afternoon, you guys! I’m trying to pass values from a table to a modal window, but I’m not getting... I tried something from jquery, but I don’t know what I might be doing wrong... I’ll post…
-
1
votes1
answer349
viewsA: Hide button (p:commandbutton), Primefaces, with PF api
I found in the Primefaces forum that it is not possible to hide using PF, p:commandbutton does not have this possibility. I did it in jquery anyway.
-
1
votes1
answer349
viewsQ: Hide button (p:commandbutton), Primefaces, with PF api
I’m trying to accomplish something seemingly simple, but I’m taking a hell of a beating... Studying, I read that Primefaces has a javascript / jquery api, so I decided to take a look. Turns out I…
-
1
votes3
answers355
viewsA: Primefaces Datatable Edit does not send updated value for editing
I managed to solve. In fact the problem was in my get list products... after inserting an if and Else, testing if product list was null, it worked normally. The cool is, as the friend indicated,…
-
0
votes1
answer76
viewsQ: Hibernate returns many queries and overwrites my changes
Good afternoon guys, I am trying to make a change in a datatable, when clicking on rowEditor, the value is sent correctly, however, I do not know why, It is being held many queries with Hibernate. I…
-
0
votes3
answers355
viewsA: Primefaces Datatable Edit does not send updated value for editing
@Nadinael Silva Teixeira Thanks for the help, posting here a piece of code and the return... I really appreciate the help pBean public List<Produto> getListaproduto() { try{…
-
0
votes3
answers355
viewsQ: Primefaces Datatable Edit does not send updated value for editing
I am trying to update through the Edit datatable of the first faces, but it does not send the updated inputtext value to the bean. The process occurs almost correctly, the value is sent and updated,…