All Questions

5
answers

How to refresh a datatable and not the entire window?

I am developing a project with bootstrap, php pdo and mysql, I have a datatable that reads from mysql, I have a button that says "New Revenue", it already makes the entry but I want to refresh or update the datatable so that it loads the new dat...
asked on 02.10.2016 / 02:42
1
answer

Primefaces: EventBusFactory.getDefault () returns null

I am developing an application with Primefaces that uses the pub / sub model provided by this framework. Technology stack: tomcat 8 java 8 primefaces 6 atmosphere-runtime 2.4.7 In the web.xml file, I define the servlet for Pu...
asked on 13.10.2016 / 16:47
2
answers

Redirecting in Ruby on Rails

I am new to Ruby on Rails and would like to know how I can do to redirect from the% share% action to the% share%. I would like the page "show.html.erb" to be displayed after saving the article created from the page "new.html.erb" .     
asked on 08.11.2016 / 01:52
1
answer

mysqli_fetch_object () expects parameter 1

I have a problem with my php code that sends me the following error    "Warning: mysqli_fetch_object () expects parameter 1 to be   mysqli_result, boolean ", This is my php code where I get an error. <?php include("connecti...
asked on 25.08.2016 / 16:49
1
answer

Avoid temporary copies in call to lambdas

I have the following class: class Utf8Writer { struct ZoneData { uint32_t begin; // codepoint inicial. uint32_t end; // codepoint final. }; const ZoneData *findCodepoint( uint32_t cp, FontId fid ); }; const ZoneData *Utf8Writer...
asked on 14.05.2018 / 11:15
2
answers

Alternative column to use in a JOIN in MySQL

I have a table called liturgia_calendario with the following structure: calendario_id ff_yy ff_mm ff_dd id_liturgia pre 1 2018 06 01 198 0 2 201...
asked on 02.06.2018 / 14:10
2
answers

I would like to apply for phone numbers in MySQL

I need help As in SQL you can format phone numbers, with a N_Cel varchar(8) check((N_Cel)like '[2|7|8|5][0-9][0-9][0-9][0-9][0-9][0-9][0-9]') NOT NULL, I want to do the same in MySQL but it makes a mistake, could someone explain to me?...
asked on 29.06.2018 / 23:39
3
answers

How to fix the error [Warning] multi-character character constant [-Wmultichar] in C ++

I'm starting to make a program in C ++ from a store, but it marks the error [Warning] multi-character character constant [-Wmultichar] in the part that I marked with *** : main () { int Coke, Sabritas, Pepsi, Gamesa, marca, Ma...
asked on 23.03.2018 / 04:18
1
answer

Read binary file in C and pass it through JNI to java

Hello, the program that I have works but I know how it is that C can read binary files, supposedly I know that with rb it is reading binary files but in the part of C, a < strong> NewStringUTF , which makes that when you read some special char...
asked on 26.10.2016 / 19:02
2
answers

Doubt about the class vector

In an array the name of the array is a pointer to the array. So in iArray and &iArray[0] you get the same value. What I do not understand very well, is that it is happening when I try to repeat this same with myvector ....
asked on 10.05.2018 / 00:58