Posts by adventistaam • 3,354 points
330 posts
-
0
votes1
answer1999
viewsQ: Archive . Keystore and . jks Android
I realized that Google has the service Manage your app Signing Keys, it is possible to replace my key with google key. For that I must follow a few steps that is: Download the PEPK tool to export…
androidasked adventistaam 3,354 -
0
votes1
answer549
viewsA: Generate report only with data passed via Ireports parameter
In ireport, you can add parameter via code or via application: Follow an example via code <parameter name="cdmov" class="java.lang.Object" isForPrompting="false">…
-
2
votes2
answers642
viewsA: Get TD value by clicking on table
You need to make him find where the click was Dry suggestion: $("tr").on('click',function() { var horario; var tableData = $(this).children("td").map(function() { return $(this).text(); }).get();…
-
1
votes0
answers61
viewsQ: Buy App Functionality (In Billing)
I would like to make my app have the option to buy functionality. Like I made two apps, one paid (full) and one free (with advertisement). I would like the person clicking to buy to remove the…
-
1
votes2
answers157
viewsA: How to delete data from database?
Hello, Isabel! In your combobox is sending the id value and in delete you are trying to delete by name. echo '<option value="'.$prod['txtid'].'">'.$prod['txtNome'].'</option>'; If you…
-
1
votes2
answers1749
viewsA: Update HTML Table with PHP
Following the idea that the friend skylights gave I would do so: In Your HTML You’ll need to have the spine ID <table class="table"> <tr> <tr> ... <td align="center"…
-
1
votes1
answer159
viewsQ: Update warn change
You can tell if a value has been changed in a direct table in the application? Like I gave a UPDATE tabela SET valor = 1 WHERE id = 2; And in the application appear the message: O Valor foi alterado…
-
1
votes2
answers700
viewsA: How to install/run a signed app to view the error log?
Good. Thanks to friend’s comment ramaral I was able to solve the problem. I installed the app via adb from Android Sdk. How? Following that answer here: Running the following command on the…
-
2
votes2
answers700
viewsQ: How to install/run a signed app to view the error log?
I am developing an app and direct testo on mobile (LGE API Level 16) . When testo, runs normal. But when I generated a signed apk, and try to install this apk on the same phone it just says:…
-
1
votes1
answer115
viewsA: Adding an external variable to the php class
The suggestion I give you is to use the getters and setters Since you’re using Object Orientation, it’s easier: class.usuario.php: class usuario { private $nome; public function getNome(){ return…
-
1
votes1
answer99
viewsQ: Reply from PHP Excel in JSON
I’m trying to get an answer to whether the Phpexcel already downloaded, to then proceed with my algorithm. I tried to put in my phpexcel file the following line before Exit; echo…
-
0
votes1
answer151
viewsA: Transition between clicks on href bootstrap link
I decided as follows. I don’t know if it’s good practice, but it worked. $('.btn-news').on('click', function () { var news = $('.noticias'); news.fadeOut(); var id = $(this).data('id'); switch (id){…
-
0
votes1
answer151
viewsQ: Transition between clicks on href bootstrap link
I would like that when clicking on the contents, it would disappear smoothly and show the other content. Only the way I’m doing it, he shows up, disappears and shows up. var codigo = 0;…
-
0
votes1
answer45
viewsQ: Remove jquery tab bottom line
I’m trying to remove the bottom line of a tab, but I haven’t been able to Follow this tutorial and nothing. When placing my code, the line cuts the text <html lang="en"> <head> <meta…
-
0
votes1
answer111
viewsQ: Gif loading when searching
Hello I am implementing that self-cmplete And I would like that while the system searches the items, it show a gif by clicking on the corner of the input. <!doctype html> <html…
-
1
votes1
answer402
viewsA: create Trigger mysql
Try changing the INSERT: INSERT INTO logs SET acao = 'update', nPedido = OLD.nPedido, status = OLD.status, modificadoem = NOW(); for INSERT INTO logs (acao, nPedido, status, modificagem) VALUES…
-
0
votes1
answer42
viewsQ: jQuery Store one item at a time
I have following code. There are several options But just one option I’d like to disavow I click one to check then another Finally when I find the option I want, then click on the button…
-
0
votes1
answer144
viewsQ: Text form in $('span.text'). text();
I would like to format text in the following line: $('span.texto').text('Enviamos um email para email@email'); I’d like you to stay: We send an email to email I tried to…
-
-5
votes1
answer118
viewsQ: System for legalized market
I have developed a system for the market that can be used for the shop too, I would like to know what to do to make the system legalized. I have to register? I have to go to SEFAZ? Which document…
-
4
votes2
answers868
viewsA: Execute() from PDO returns false
Change that public $dns = 'mysql:host=localhost;dbname'; for $dns = 'mysql:host=localhost;dbname=seubanco'; See if it solves.…
-
0
votes1
answer61
viewsA: Page does not load for cause and transaction
First to run your transaction you have to instantiate a connection: private $connection = null; public function insert (Bairro $bairro){ $this->connection = null; $teste = false;…
-
1
votes1
answer720
viewsQ: Display specific error! java.sql.Sqlexception'
Hello I am as following code: <c:set var="exception" value="${requestScope['java.sql.SQLException']}"/> <p class="alert alert-danger"><b>Ops!</b> Erro: <br><br>…
-
0
votes1
answer35
viewsQ: Addevent in the table
I have the script below: <script type="text/javascript" src="https://addevent.com/libs/atc/1.6.1/atc.min.js" async defer></script> <div title="Add to Calendar" class="addeventatc">…
-
0
votes1
answer37
viewsQ: Send Add Calendar Button with Phpmailer
I have this script. <!-- AddEvent --> <script type="text/javascript" src="https://addevent.com/libs/atc/1.6.1/atc.min.js" async defer></script> <div title="Add to Calendar"…
-
-2
votes2
answers1669
viewsQ: Convert string to JSON
I got the following object: 1,2,3,4,5,6 I would like to convert it to JSON to recover in php to perform a for loop: {"id":"1"} {"id":"2"} {"id":"3"} {"id":"4"} {"id":"5"} {"id":"6"} I take this…
-
0
votes1
answer1445
viewsQ: Compare Data Oracle
I have the following column in oracle DATA_FILTRO 01/04/2017 10:27:15 I would like to compare the month and year: SELECT DATA_FILTRO FROM TABELA WHERE TO_CHAR(DATA_FILTRO,'MM/YYYY') ='04/2017' In…
-
0
votes1
answer37
viewsA: I can’t take table value and use in ajas
And if you do so? <td id="despesa"><?php echo $dados['cod_despesa']; ?></td> <td id="janeiro" data-toggle="modal" data-id="<?php echo $dados['cod_despesa']; ?>"…
-
0
votes1
answer2333
viewsQ: Datepicker Month and Year
Following the reply of this question, I tried to implement in a text field a modal this same command, but it comes deformed. <script> $(".datepicker").datepicker( { format: "mm-yyyy",…
-
1
votes1
answer749
viewsA: Display username after logging in
In your php, first of all, put the line session_start(); Example: <?php session_start(); require('config.php'); //INICIA A CONFIG PHP config_start(); ?> And on your index too <?php…
phpanswered adventistaam 3,354 -
1
votes1
answer231
viewsQ: Uses Tree line by line
I have the following code: $('#tree1').treed(); I would like every row of my table to be a tree. But only the first line works. I’m trying to use the "Bootstrap Treeview" and nothing calling it so:…
-
1
votes1
answer973
viewsA: compare two dates in jQuery
You can compare the full date. Example var dtInicio = document.getElementById("data_abertura").value; var dtFim = document.getElementById("data_encerramento").value; var dtBegin =…
jqueryanswered adventistaam 3,354 -
1
votes1
answer733
viewsA: How to use iReport with Oracle?
I usually do like this: I’m going on option Tools in the menu bar; Then on the option Ireport and on the tab Classpath Then click add Jars, then you locate the oracle driver. Located and added,…
-
1
votes1
answer765
viewsA: Pass variable to Javascript for Springmvc Controller
I got! Use the method like this: @RequestMapping("/empresa") public @ResponseBody String empresa (@RequestParam(value = "usuario", required=false) String usuario){ Usuario_Controller uc = new…
-
0
votes1
answer765
viewsQ: Pass variable to Javascript for Springmvc Controller
I would like to pass a (or more) variable to the Springmvc controller login.html <form id="form-login" method="post"> <div class="log-input"> <div class="log-input-left"> <input…
-
0
votes1
answer317
viewsQ: Map Home Page Springmvc
Hello! I would like to map a home page using springmvc I have this method: Man Controller public class Treinamento { @RequestMapping("/inicio") public String inicio(){ return "index"; } } in my web…
-
2
votes1
answer78
viewsQ: Gson Return Array of One Position
Hello I have the method : @RequestMapping("/olaMundo") public String iniciando(Model model, Cadastro cadastro){ CadastroDAO dao = new CadastroDAO(); dao.adiciona(cadastro);…
-
0
votes1
answer68
viewsA: UPDATE SET Does not work on Mariadb
Look at you As I code the neighborhood zone is int the system was getting the name and at the time of giving the update not worked It was simply because in the combobox I put the words together…
-
1
votes1
answer68
viewsQ: UPDATE SET Does not work on Mariadb
I have the following code on phpmyadmin, Mariadb UPDATE bairro SET NM_BAIRRO = 'Bairro' ,CD_CIDADE = 1 ,CD_ZONA = 1 WHERE CD_BAIRRO = 1 Someone can tell me, just because this command doesn’t work?…
-
2
votes1
answer13534
viewsQ: Procedure Oracle return query lines
I have the following table: CREATE TABLE CARRO ( CD_CARRO INT ,DONO VARCHAR(20) ,MARCA VARCHAR2(20) ); The Inserts INSERT INTO CARRO VALUES (1,'VICENTE','FERRARI'); INSERT INTO CARRO VALUES…
-
0
votes0
answers1634
viewsQ: Close PHP Session
Hello! In my php file I have the code page php. session_start(); $valor = isset($_SESSION['usuario']) ? 'S' : 'N'; if($valor == 'N'){ header('location: .'); } echo "Sesssao: ".$valor; to exit, in…
-
-2
votes1
answer983
viewsQ: Recover JSON in PHP
I saw many forums but still not solved for me HTML <div class="form-group col-xs-12 col-sm-5 col-md-6 col-lg-6"> <label for="banco">Banco</label> <select id="banco"…
-
1
votes3
answers939
viewsQ: Javascript set value in Modal Bootstrap
I have the following javascript code: function chamarModal(valor) { $('span.nome').text(valor); $('#pagamento-modal').modal(); } How do I set this variable content valor in my modal bootstrap? I…
-
0
votes1
answer66
viewsQ: IF Mariadb phpmyadmin
I’m trying to create a Rigger using phpmyadmin with Mariadb bank but when it gets on the line if it gives a message: unrecognized statement type. (near IF) Trigger is the one: SET @TOTAL = (SELECT…
-
1
votes1
answer881
viewsQ: Upload Multiple jQuery PHP Files
I would like to send multiple files via post using jQuery, I tested several codes and could not, I would like you to help me. I have this form: HTML - index.html <div class="arquivo"…
-
0
votes1
answer645
viewsA: Ajax with java, via jsp
If you want to call Servlet in jquery it’s simple <label for="municipio"><font style="color: red">*</font> Municípios</label> <select class="chosen-select…
-
0
votes0
answers74
viewsQ: Remote page access via https internal network
Follow that tutorial to install the https on localhost. But I would like to access my projects as well, only over the network, just as I do using the http I tried to follow the same pattern I use on…
-
0
votes2
answers883
viewsQ: Browse variable type php array
I have a $array variable that contains array values that were received from a JSON.stringify(venc) [ {"Nº da Parc":"1","Data do pagamento":"06/04/2017","valor a pagar":"R$ 50,00"}, {"Nº da…
-
0
votes3
answers1880
viewsQ: Send data from an html table to php
Hello I have a table <table> <thead> <th>Codigo</th> <th>Nome</th> </thead> <tr>`insira o código aqui` <td>1</td>…
-
0
votes3
answers2105
viewsQ: Use external file function without giving include
I have a function getHeader() in the archive include.php. It is possible to call this function in my file index.php without having to give a include, similar to Wordpress?…
-
2
votes0
answers1328
viewsQ: Error: could not Extract Resultset
I have this method: public List<AvaCriterio> getList(){ List<AvaCriterio> lista = null; try{ Session session = HibernateUtil.getSessionFactory().openSession();…