Interesting questions
-
0
votes1
answer48
viewsInsert users into different databases
I have two databases. Database A, and Database B. The user makes his registration in the database system A. I want to create a trigger for the same time, this registration also go to the database B,…
-
11
votes3
answers3508
viewsHow to make a site multilingual?
I have a site made in PHP, now I came up with the obligation to make the site multilingual. I need to translate titles, menus and error messages. User added texts do not need to be translated. I’ve…
-
1
votes1
answer499
viewsForm validation with MVC Dataannotations
I’m trying to validate forms with use of Dataannotation, I tried direct on model or in my viewmodel and none of them works. View Model: public class CieloViewModelTransacaoPartial {…
-
1
votes1
answer53
viewsError doing email query in bank
I am getting an error in Netbeans when making a query in an SQL database that validates user login from email: package Modelo; import java.sql.Connection; import java.sql.PreparedStatement; import…
-
0
votes0
answers110
viewsPersist child objects with parent id 1:N
Guys I’m having difficulty in relationships with Hibernate, I have a 1:N relationship between Provider and Address (1 provider may have N addresses). My problem is this, when I try to persist a…
-
1
votes0
answers73
viewsMethods call using RMI in JAVA
I’m starting to work with remote procedures in JAVA and I’m having trouble calling methods in sequence. In the code below, when I invoke the sayHello() method through the stub, the code works…
-
-2
votes1
answer1219
viewsInsert foreach value into a variable
I am trying unsuccessfully to create a variable with the foreach variables for database insertion, the values are checkbox marked, I am trying this way: // buscando os produtos foreach…
-
0
votes1
answer38
viewsHow do I assign a function to Contextmenustrip in c#?
How do I assign a function to a Contextmenustrip that is on a Notifyicon? I have the following code: private void Thread_Notify_MouseClick(object sender, MouseEventArgs e) {…
-
1
votes0
answers43
viewsMake Crosstab columns have a dynamic width | Jasperreports
I’m working with DynamicJasper to generate a report with a Crosstab with dynamic columns, but I’m having a problem, the table you’re generating is exceeding the page width limit and some columns are…
-
0
votes1
answer103
viewsClear value of an id with jquery
Colleagues. I have a select that is bringing the stocks from a database. I’m capturing it this way: <select name='estoque' id='estoqueProdutos'> <option value='1'>1</option>…
jqueryasked 9 years, 7 months ago user24136 -
1
votes1
answer128
viewshow to change the date format to d/m/a in php wamp
I created a registration system and data queries for the registry office where I work, however, the dates are being displayed in the a/m/d format and I want to change to the national format, but I…
-
6
votes4
answers130
viewsHow to format this array?
I have the following array: $dados = array( '0' => array( 'id_assinante' => $id, 'nome' => 'Aluguel' ), '1' => array( 'id_assinante' => $id, 'nome' => 'Água' ), '2' => array(…
-
0
votes1
answer368
viewsSpring Boot + JPA + Websecurity - How to save User + Profile?
Hello, it’s been a few days that I’m breaking my head to be able to register a user and its role. The information should be recorded in different entities and I can’t make that relationship. I can…
-
-4
votes2
answers65
viewsDelete a variable the program receives in input.split(" ") in Python
I am working on a calculator that needs to receive an operation (such as SUM, DIV, LOG10 etc.) and operators on the same line, eg: SUM 2 4 But when I get LOG10 or ROOT the user will only type an…
pythonasked 5 years, 5 months ago Isabela Pereira dos Santos 1 -
1
votes1
answer84
viewsDoctrine prepare->execute
Hi, I’m doing this consultation with Doctrine $retorno = $em->getConnection()->prepare(" SELECT t.id_programa_fidelidade_diario, t.loja, t.nota, t.data, t.ecf, t.operador, o.nome,…
-
0
votes2
answers586
viewsChecking multiple <select> of same "name" if it is empty with Jquery
I tried several ways but was unsuccessful in creating a window.Alert(); with Return false; if no select field of name="producto_qtd[]" is selected or if it does not exist, but unsuccessfully, I…
-
0
votes1
answer124
viewsI cannot validate the current computer time with IF ELSE, on Dart
I’m trying to do a validation on Dart, where my function timevalider() has a variable of type dynamic, where he fits in with what I put in. I’m doing the following assignment time = new…
-
1
votes0
answers64
viewsChart in Asp.net
I am developing an Asp.net site where I need to upload files (.mat), and receive values in a list to plot line charts, with many points (about 200,000 points) on a single page. The issue of graphic…
-
0
votes2
answers132
viewsPermanent focus on a field - WPF
I have an application with several fields, but I would like to leave the focus only on one specific and not allow the withdrawal of the same in any situation. Force the focus always in this field,…
-
0
votes1
answer290
viewsHow to inject a dependency of a service of its own into a certain syntax?
Imagine a traditional service injection in an Angularjs application <!DOCTYPE html> <html> <script…