Posts by Emerson Vieira • 315 points
15 posts
-
0
votes1
answer20
viewsA: Nodejs + Moongose + Typescript
The _id expects a String. You need to define its type as a String.
-
0
votes1
answer40
viewsQ: My asynchronous function does not return the value where it is called, but within its scope is working right. Reactjs + google maps
import React, { Component } from "react"; import { Map, GoogleApiWrapper, Marker } from "google-maps-react"; import { MAPS_API_TOKEN, GEOCODE_API_TOKEN } from "../Enviroments/dev"; import Geocode…
-
0
votes1
answer57
viewsQ: Error creating Django filter
I am trying to create a filter but get error: Related Field got invalid lookup: icontains msm if I use the related_name before the attribute n works. class…
-
1
votes1
answer351
viewsQ: Is there any way to block the rendering of a particular component in React?
I need to block the rendering of a certain type of component, for example: <td>{props.children}</td> I need to capture the component that can be passed to Children and block its…
-
1
votes3
answers280
viewsA: How Django URL works
Dude, when you generate a Django project, it builds an initial structure that serves as a base for you to start using Django admin. This app is an app that Django will use, so you’ll have urls for…
-
5
votes2
answers954
viewsA: What’s the difference between Vue and Vue-cli
Vuejs is a front-end framework that facilitates and accelerates development for web applications, it is written in Javascript and has a great community. Vue CLI is a command line tool made by the…
vue.jsanswered Emerson Vieira 315 -
0
votes1
answer1200
viewsA: Custom buttons and paging together in Datatable
I think due to the size that pagination might be, I think it is not possible to leave the export buttons and pagination together at the top. The closest you have to what you said is:…
javascriptanswered Emerson Vieira 315 -
2
votes2
answers139
viewsA: Everything I do with Jquery I can do with Javascript?
Yes, I do. But you’ll get a few more work. jQuery saves you a lot of work, so it is very used. But you can do the things you want.
-
0
votes1
answer158
viewsQ: DYNAMIC ROLES with Spring Security?
I have a system where everyone who accesses has a user standard ROLE, but if a user is assigned a secretary type task, the user’s ROLE will be SECRETARIO, users can assign tasks and therefore…
-
1
votes2
answers374
viewsA: Java lambdas are equivalent to Javascript Closures?
A lambda is just an anonymous function. A function that is defined without a name. And closures is, according to the Wikipedia: A closure usually occurs when a function is declared within the body…
-
2
votes2
answers642
viewsA: I removed branchs (Git), but they "continue" there, how to remove it for good?
To delete the remote branch: git push nome_do_origin nome_da_branch --delete To delete the local branch: git branch -D nome_da_branch…
-
1
votes3
answers2919
viewsA: Define multiple "id" in an HTML tag
I don’t think you can do that friend. You can use more than one class(already created) in a class of a tag.
-
0
votes1
answer69
viewsQ: How can I keep a component dynamically created with jQuery on the page?
How to keep an element dynamically created with jQuery on the page? When I refresh or return to the page, the element is removed.
jqueryasked Emerson Vieira 315 -
1
votes1
answer371
viewsQ: Instantiate an object from a Spring-managed class
Does anyone know how to instantiate an object from a Spring-managed class (e.g., a Jparepository class) in a class not managed by Spring?
springasked Emerson Vieira 315 -
4
votes1
answer112
viewsQ: Angularjs in "Big" project
I read by the literature that Angularjs is made for single page. And if I use the same for a larger application, with several screens. What would be the negative impacts of using Angularjs? And if I…