Posts by Marquin Ferreira • 362 points
29 posts
-
1
votes0
answers75
viewsQ: Include state in a component instance (React Native)
I have the following problem trying to change the state of my Modalchat component: ExceptionsManager.js:82 Warning: Can't call setState on a component that is not yet mounted. This is a no-op, but…
-
0
votes1
answer137
viewsQ: ireport - Error using Print When Expression
I have a problem generating the report, the function does not work print when expression, always the report shows that line with the value null I’m doing so in line…
-
0
votes1
answer98
viewsQ: Mount Query with JOINS
I have a query executed on DB2: SELECT f.* FROM Fat f INNER EFat ef ON f.id = ef.id AND f.seq = ef.seq How do I reverse it in Java? I tried this way, but it’s wrong, all my classes are with their…
-
0
votes0
answers49
viewsQ: Slow reading of a very large string
I’m missing a lot of performace doing a decodeBase64, when I have a very large file type 30MB, it takes a long time to read the data received from the front. Is there any way to improve the reading…
-
0
votes2
answers40
viewsA: Error executing function passed via parameter in javascript
You could also use some Javascript functions to run a function just once, then read about the Throttle and Debounceat that link: Throttling and Debouncing…
-
2
votes2
answers59
viewsA: Error in this in a typescript function
*********SOLUTION*************** export const throttle = (func: Function, limit: number) => { let inThrottle: boolean; return function () { const args = arguments; if (!inThrottle) {…
typescriptanswered Marquin Ferreira 362 -
2
votes2
answers59
viewsQ: Error in this in a typescript function
I have error in the function below: export const throttle = (func: Function, limit: number) => { let inThrottle: boolean; return function () { const args = arguments; const context = this; if…
typescriptasked Marquin Ferreira 362 -
1
votes1
answer38
viewsA: Problem with Nullpointerexception
The problem is due to your objMap is empty when it enters within the method the objMap.size() its size is zero or less
-
1
votes2
answers99
viewsQ: Doubt REST - POST
I wonder if it is possible after the resolution of the Promise of a POST if I can get the result and turn into an array Ex: axios.post(http://localhost:5000/api/horario/,{ Nome: nome, Horario:…
-
2
votes1
answer82
viewsQ: Errors with version . NET Core
I have an error in the .NET. I have already installed the . NET Core 1.1.2 and . NET Core 2.0.0, but I have this error and I cannot solve it. Error: It was not possible to find any compatible…
asp.net-coreasked Marquin Ferreira 362 -
0
votes1
answer1644
viewsQ: Mount calendar with React
I’m having a question of how to analyze the amount of days a month for a certain calendar, I have to set up a "Nav" with the weekly days of each month, but the problem is when I arrive on the last…
-
1
votes0
answers196
viewsQ: Java swing - exercise
I’m having doubts about Container, I’d like to know if the form I’ve made is correct. public class Exercicio2 { public static void main(String[] args) { JLabel lblTitulo = new JLabel(); JLabel…
-
0
votes1
answer723
viewsQ: How to adjust span next to Labels?
I’m wondering how to line up the spans beside the labels as an example: Mine is like this: Below is my html: <!DOCTYPE html> <html> <body> <div class="outputs"> <ul>…
-
-2
votes4
answers7619
viewsQ: Remove Focus/Outline from input (CSS)
How to remove this input Focus/Outline? This is my HTML I’m using Reactjs, Bootstrap-React <div className="viewInstrument-table-heading"> <div className="table-heading1">…
-
6
votes3
answers4549
viewsQ: Align span right inside div
I’m doubtful how to align a text within span as an example: This is my HTML I need to leave it like this, left text aligned on the right and left text aligned on the right, as an example: HTML:…
-
1
votes1
answer1358
viewsQ: Change regional to "en" datepicker with Angularjs
I would like to change the Reginal to "en" on my datepicker, I am using Angularjs. <input type="text" ng-model="date" jqdatepicker /> <br/> {{ date }} var myApp= angular.module('app',…
angularjsasked Marquin Ferreira 362 -
1
votes2
answers635
viewsQ: Doubt - insert html mask
Hello, I need to put a mask on as follows: I have a field: <input type="text" required maxlength="4" name="minimumGrade" id="minimumGrade" ng-model="capacity.minimumGrade"> And I need that in…
-
0
votes0
answers37
viewsQ: Error - $dialogs.confirm
I have a problem to use the $dialog angular, before it was working normally, and then started appearing the error below: angular.min.js:118 TypeError: $dialogs.confirm is not a function at…
angularjsasked Marquin Ferreira 362 -
0
votes1
answer394
viewsQ: Filling in automatic data - JSF
I need to have my inputs filled automatically, after selecting the combo. I have done the method to go through the database and retrieve the necessary information, but does not fill... Can anyone…
-
0
votes1
answer300
viewsQ: Error - JSF and Primefaces
Error trying to register user, the following message appears: accordion:dtNasc: '22-02-1990' could not be understood as a date. XHTML: <p:outputLabel class="lt" value="Data de Nascimento:" />…
-
0
votes1
answer52
viewsQ: Doubt (hibernate) - JSF
I’m making an employee register, and this register already has departments registered in the bank. So, at this point I walk through the database to present the data in the view, but when I finish…
-
4
votes1
answer126
viewsQ: Error in JSF converter
I’m having trouble converting JSF, always returns null. Convert Project: @FacesConverter("projetoConverter") public class ProjetoConverter implements Converter { @Override public Object…
-
0
votes0
answers415
viewsQ: Error like @Manytomany (com.sun.Jdi.Invocationexception occurred invoking method) - JSF
Galley, am trying problem to change an employee’s password, in my Manytomany is giving an error: com.sun.Jdi.Invocationexception occurred invoking method Can someone help me? Functionbean…
-
0
votes1
answer1076
viewsQ: How to make a regular expression to validate JSF password
I need a regular expression to validate password as below: The password must be in the default: Ipe@1234 (letters, special characters and numbers) I’m using this below, only it does not validate,…
-
-3
votes1
answer36
viewsQ: My button does not work when I put f:validateRegex
Without f:validateRegex the button works normally, but after you put f:validateRegex to validate the input data, it doesn’t work anymore, someone can help? Follow the code attached, I can’t format…
-
-1
votes1
answer97
viewsA: Error to open link in Chrome and IE browsers
@Service public class Envioemailservicoimpl Implements Envioemailservico { @Override public void enviarEmail(String id) { String destinatarioEmail = null; Properties props = new Properties();…
-
-1
votes1
answer97
viewsQ: Error to open link in Chrome and IE browsers
I’m using Javamail to send a link to reset the password, but when I click on the link and it only opens in Firefox, I can’t open it in Chrome or IE, only if I copy the link and put it in the URL,…
-
0
votes1
answer988
viewsQ: How to get URL value
Help me... I’m stuck on the following question... I need to get the id of the user that comes through the URL parameter, as below: localhost:8080/Sgc/pages/generationNew.xhtml? id=3 But I don’t know…
javaasked Marquin Ferreira 362 -
2
votes2
answers405
viewsQ: Error sending email using Javamail
Could someone help me fix this error? I can’t send the email to the inbox. Follow the code below: @Service public class EnvioEmailServicoImpl implements EnvioEmailServico { @Override public void…
javaasked Marquin Ferreira 362