All Questions

2
answers

DataTable component of primefaces is not updated correctly

I try to refresh the dataTabale component of primefaces when I delete a record from the table, however, when I click on the delete button, sometimes the table is updated and sometimes not, then I have to manually refresh the entire page to see t...
asked on 27.06.2018 / 12:24
2
answers

Mysql get all the records of related tables from many to many

I have 3 tables and I need to list all the options along with all the posts that have or do not have options, I have actually done it, but it is showing me only the posts that have options but those that do not have options do not show them to m...
asked on 28.06.2018 / 18:10
2
answers

Problem when counting with decimals on Android

I want to get 5% of any number and it has occurred to me in the following way: public class Main4Activity extends AppCompatActivity { EditText uno; TextView tres, tresinvisible, multiplica, divide, haciendocuenta, haciendocuenta2;...
asked on 18.05.2017 / 00:02
1
answer

Problems with merge and dplyr

I am joining two data.frames huge by a common variable using merge , and the data.frame final% has many more lines than the initial ones, which suggests that you are duplicating observations. I'm using: df3 <- merge(df1, df2,...
asked on 26.06.2018 / 07:16
1
answer

Select with empty fields when you can not find

Assuming I have these two tables with the following records cliente id nombre 1 c1 2 c2 3 c3 4 c4 5 c5 tabla2 id_cli dato 1 d1 3 d3 10 d10 If this selection is made it shows us the...
asked on 12.05.2017 / 11:44
2
answers

Default date in an input

I have this snippet of code that shows a datepicker with the use of Jquery $(function () { $('#orderDate').datepicker({ dateFormat: 'dd-mm-yy' }) }) $("#orderDate").datepicker().datepicker("setD...
asked on 24.05.2017 / 09:39
2
answers

Add content to a file without overwriting the content

I would like to be able to solve the doubt of how to make it possible that when restarting the console do not overwrite and continue writing at the end of the line: import java.io.*; public class RedirectSystemOut { public static void main(...
asked on 09.05.2017 / 10:57
2
answers

Up and down volume of an audio channel with the physical buttons on Android

I would like to synchronize the physical buttons of volume up and down synchronized with a specific audio channel. When clicking, the dialogue of the image will be shown, with the seekbar icon and increase or decrease the volume.     
asked on 15.05.2017 / 13:40
3
answers

document.querySelect arguments

I have the following sample code: ul = document.getElementById("list"); li = document.querySelector("#list li"); cuerpo = document.body; ul.addEventListener("click", function(event) { console.log("Clicked on ul"); }); li.addE...
asked on 18.05.2017 / 16:30
2
answers

Get ViewPager index displayed on Android screen

I have a ViewPager located at the bottom of my app, and I'm trying to get its index, id or any reference to the ViewPager that is displayed on the screen so that depending on which is displayed, the button they share makes an action u another in...
asked on 25.05.2017 / 08:20