Posts by aleestevao • 133 points
15 posts
-
0
votes1
answer54
viewsQ: Correct formatting for date
I am formatting the start date of a list according to the code below, and in the database the dates registered in "2018-11-01" and "2018-11-02" are being listed respectively with the dates in…
angularjsasked aleestevao 133 -
0
votes0
answers69
viewsQ: Passing character limit to text field
I have a combo "Person Type" with options (1 - Physical | 2 - Legal) and I need to limit the default character size to be filled in the text field "CPF/CNPJ". In fact, I need to validate the text…
-
7
votes2
answers22159
viewsQ: How to change time zone (GMT) date and time in JS
I need to update the // data e hora atual a região let data = new Date(); console.log(data); // Está retornando Fri Nov 16 2018 17:04:08 GMT-0200 (Horário brasileiro de verão) var dataBase =…
-
0
votes1
answer112
viewsQ: How to Do Treatment to Prevent Nullpointer Error
I need to create a treatment for, if no investment fund record is found, avoid error and nullpointer. You’re making me wrong again: java.lang.Illegalargumentexception: id to load is required for…
javaasked aleestevao 133 -
1
votes0
answers22
viewsQ: I need to save parameters in several tables
I’m returning some parameters and need to dismember these parameters saving in two tables. Follow the initial code: lamina.controller.js function salvar() { // remove a mensagem de sucesso delete…
-
0
votes2
answers3264
viewsQ: Convert the timestamp result to the formed Date and Time
I need to convert the timestamp result (eg 121242343543) to the format 2018-11-09T16:36:01. Controller.js: function salvar() { var dataBase = new Date().getTime(); // salva no banco var simulacao =…
-
-2
votes2
answers68
viewsQ: Turn the value into String for Integer
I need to fix this mistake: "Can not deserialize value of type java.lang.Integer from String "R$5,000.00": not a Valid Integer value". I need to transform the string parameter (R$ 5,000.00) to…
javascriptasked aleestevao 133 -
0
votes1
answer34
viewsQ: Update tbody when selecting option in ng-options
I need to update a div after selecting the ng-option option. Controller.js $scope.prop = { "type": "select", "name": "Service", "value": "CDI", "values": [ "CDI", "IBOVESPA"] }; index.html <label…
-
1
votes0
answers18
viewsQ: Pentaho - Error when trying to write to an Oracle table
I created a process in PDI that makes a query in a Postgres table (step Table Input) and then selects the desired fields (step Select value) to then execute the insertion of the metadata of these…
pentaho-kettleasked aleestevao 133 -
1
votes0
answers75
viewsQ: Calling in PHP the Jasperreports file with Oracle database
I have some files generated by Jasperreports (.jrxml) consulting an Oracle database. My question is in direct execution with parameterized in PHP (codeigniter framework), MVC standard. I have tried…
-
0
votes0
answers102
viewsQ: Nan non-numeric number return in PHP
I’m having problems in displaying the data of a budget already imputed in the database. When accessing the detail is displaying the R$ NaN in the currency fields. Code of some functions:…
-
0
votes1
answer167
viewsQ: Error in PHP zip code query
I am trying to fix in PHP the URL that queries the ZIP code, when typing the ZIP CODE XXXXX-XXX the URL is displaying the characters amp; that are causing error in XML output. Correct consultation:…
-
0
votes1
answer291
viewsQ: Create an Oracle Agent/Job for Postgresql
I wonder if it is possible to create an agent/job in Oracle to query the data of a given table and insert the data from this table to another table that is in Postgresql. Or if I can through…
-
1
votes2
answers200
viewsA: Combobox without formatting Bootstrap / Firefox
The SELECT field varies according to the browser the visitor is using. You can use some methods to create a custom setting for the field. Method with CSS "Appearance" Considered the most "correct"…
-
0
votes2
answers40
viewsQ: Returning the total with the date in a query with the SUM
I need to return a sum of the value field of the table m and together with it the date of the initial field of the field sale_date, and showing Aggregate Function error: SELECT sum(m.value),…