Posts by aleestevao • 41 points
5 posts
-
1
votes1
answer187
viewsQ: Java Class Constructor Fix to Sonar
I need to correct some differences in sonar. I have these builders, getters and setters: public EmpregadoContrato() { // construtor padrão } public EmpregadoContrato(Integer id) { this.id = id; }…
-
0
votes1
answer110
viewsQ: How to call ng-Blur query function before printing from PDF in Angularjs
I have a field CPF (text) where I consult a function consultaNome for return the NAME of CPF and I have the button 'Generate PDF' where I need to print out the CPF and NAME that was returned. I’m…
-
0
votes1
answer137
viewsQ: How to disable button and enable only after selecting combos
I have a button (Transfer) and I would like when the user enters the screen it is disabled and only after the selection of combos (Combo1 and Combo2) the button is enabled. I’m working with JSF.…
-
0
votes2
answers1300
viewsQ: How to replace a string in Jquery or Javascript
I have the message "- Do you really want to transfer the questions from..." How do I remove (replace) from the beginning of a message the dash "-" ? Follow the function that prints the message:…
-
-1
votes1
answer415
viewsQ: Unit test of an SQL query in Junit
I need some help to do the unit test on Junit. How to do the @Test method below: public static StringBuilder findSQLPA() { StringBuilder sql = new StringBuilder(); sql.append(" select…