Posts by Kai • 145 points
23 posts
-
0
votes0
answers97
viewsQ: Filtering Results before rendering, with value returned from an api as a filter parameter
I have a form, which has two related fields, a group and a subgroup, so when I upload the data from the api to popular the screen, I get all the groups and all the subgroups, stored in a state and…
-
0
votes1
answer14
views -
-1
votes1
answer14
viewsQ: Problems integrating Bitbucket pipelines with Heroku
I have a problem integrating pipelines of bitbucket with Heroku, I set the file normally, and when it goes to part of the build in Heroku it appears this message: -----> Building on the Heroku-20…
-
0
votes1
answer62
viewsQ: How popular is an object loaded with populate in Mongoose?
I have a doubt, if I already have a query being populated in Mongoose, and it is populated with a model that also has relationship, there is a way to popular it too? For example: I have my model of…
-
0
votes0
answers130
viewsQ: Mongoparseerror: Invalid Connection string Express+Mongo
I’m using for the first time the express and the Mongo, it works normally locally, no authentication, but when I went to cloud, in the Umbler hosting it started to show error Jan 07 14:05:19 } Jan…
-
1
votes0
answers510
viewsQ: How to pass a list of the child component to the parent component with Vue and Blade php
I have a problem, I need to access the list I create in the component selectprodutos and it persists, but the sending is made of another Component called formulario. They shall be arranged in the…
-
1
votes2
answers252
viewsA: Delete firebase firestore collections
by clicking on the three points of the collection you can delete the collection with everything inside it…
-
0
votes1
answer1294
viewsQ: How to transform the observable of json into datasource for Angular Material 2
It is returning normally from the database, but when it passes to datasource it is empty Component import { Component, OnInit} from '@angular/core'; import { Tcp } from '../tcp'; import { TcpService…
-
0
votes2
answers295
viewsQ: How to create an array with results obtained through an observable<any[]> TYPESCRIPT
Well, I get a key array,: addprd(a:string){ this.prdarray.push(a); } After adding the keys I want to use in the search I use the following medoto: queryProd(as:string){ const prdN…
-
0
votes2
answers687
viewsA: Angular 2: My component does not work on index
Use that selector to get her inside In your case, on the line where you want to place the Nav use <app-navbar></app-navbar>
-
0
votes1
answer83
viewsQ: $watch in Typescript
I need that after I start the application it runs a set of functions every 20 seconds or each time q a json is updated,in angular 1 had the $watch that could be used for such functionality,in…
-
1
votes2
answers248
viewsQ: I cannot print object attribute in log
Well, I have a class: export class Usuario{ private id : string; private bluetoothMAC: string; private cpf: string; private nome: string; private oficinaVisitadas: Oficina[]; private cacheMAC:…
-
0
votes1
answer398
viewsQ: Array of recovered data from a Response
have a service Rest q returns Macs coming from a scan,the json template and this: { "macs": [ { "mac": "9C:5C:F9:66:73:34" }, { "mac": "B8:A3:E0:72:9E:EA" }, { "mac": "00:E0:4C:2A:26:60" }, { "mac":…
-
0
votes1
answer1226
viewsQ: How to create an object and fill with data returned from Firebse?
Gist Referring to the question I have an Event class, and a method q is called snapdbEvents(), but when I put the object inside and try to define the values of the variables in the object occurs the…
-
0
votes0
answers72
viewsQ: How to check the value in 3rd layer in Firebase with angularfire2?
I can check the values up to the second layer, when it arrives at the third place where the array of objects comes, I cannot print the key value "fileName" How can I return the value for the…
-
0
votes1
answer2038
viewsA: How to work with select and options at angular 2
No Two-way databind <select (change)="onChange($event.target.value)"> <option *ngFor="let i of values">{{i}}</option> </select> onChange(eventValue) {…
-
0
votes1
answer2038
viewsQ: How to work with select and options at angular 2
have 2 fields select,precise q when I select a value automatically it select an array of options for the other Home Component eventAt:string='' @Output() selecionaEvento = new…
-
1
votes0
answers263
viewsQ: How to make a repeat structure in jasperreport
I have a report about a feedback,I can print the fields that have only one information,but in the case of the answers (which would be varied by proofs,usually one per question) I can not Follow the…
-
0
votes1
answer358
viewsQ: How to generate a pdf with Primefaces 5.3 using dataexport
This is my screen to generate the pdf <p:panel style="margin-left:30%" id="pnlTituloGabarito"> <p:commandButton value="Export to PDF" ajax="false"> <p:dataExporter type="pdf"…
-
0
votes1
answer104
viewsQ: Prime faces,play data from a datatable for a dialog
screen contact <?xml version="1.0" encoding="utf-8" ?> <p:growl autoUpdate="true"/> <p:panel header="Formulário" id="panel"> <h:panelGrid columns="2"> <h:outputText…
-
0
votes2
answers102
views -
0
votes1
answer818
viewsQ: How to take a screenshot save to the project folder and save the path to the Mysql database?
So I have a jsp with form,it converts the image to B64 and sends as string pro Servlet Servlet converts to b643 String stt = request.getParameter("base64img"); try{ String parts[] = stt.split(",");…
-
3
votes2
answers782
viewsQ: How to use JUNIT to test void methods of my DAO class
Hello I have a DAO class and I want to implement tests with JUNIT, but many of the methods have the return void. Here’s a piece of the class that makes up the DAO package public class ExemplarDAO {…