All Questions

1
answer

Error creating bean with name 'adminServiceDAOImpl': Unsatisfied dependency expressed through field 'adminDao';

hi how I have this error:    Error creating bean with name 'adminServiceDAOImpl': Unsatisfied   dependence expressed through field 'adminDao'; public interface AdminDao { public boolean save(Admin admin); public List<Admin>...
asked on 25.06.2018 / 19:59
1
answer

How to operate a gif loading when using the window.location.href when downloading a document?

I have the following click event, which when exporting a pdf, is downloaded, but I wanted to place a gif animation loading while it is generated. I've tried to do it like this: $("#export_pdf").click(function (e) { e.preventDefault();...
asked on 02.07.2018 / 21:49
3
answers

The length of the string exceeds the value set in the maxJsonLenght property

I am sending a picture on Base64 through Ajax, this is because I am using an Apache Cordova PlugIn to take pictures. The result in Base64 is sent to the MVC server in a JsonResult. The problem is that when the string is very long the server retu...
asked on 21.06.2018 / 19:01
1
answer

How to give focus to a button in HTML

How do I give the focus to a button after I have a form with several buttons For example, I click on Coca Cola 12 Onz. That is a button but then I would like the green button that says Save (ENTER) every time I select a product to get the...
asked on 17.07.2018 / 16:54
2
answers

problems when inserting in a bd

I have 2 tables in my database one of them is cards and the other type cards basically after normalizing the table cards I am left with a type fk that links to the card type pk, then insert data in this last one like this its structure more down...
asked on 30.07.2018 / 03:37
1
answer

Laravel / Eloquent query between unrelated tables (Many to many)

My problem is that I have a many to many relationship between the subject and teacher table, therefore, I have a detail or intermediate table ( teacherSubject ). I must show in Teacher the subject blade teacher that they are related...
asked on 13.06.2018 / 22:08
1
answer

ifelse with two conditions

I want to create a new variable from two dataframes, as long as two conditions are met. The df 1 and the 2 have two common variables, but only the df 1 contains a variable that I would like to join the df 2. I tried to use the vectorized functio...
asked on 30.07.2018 / 11:00
1
answer

PostgreSQL external db in Django

I have a Django project and I use a postgresql database in local and it goes perfectly with the module psycopg2, now, I put an external database and when I do a migrate it gives the following error. django.db.utils.OperationalError: FATAL: no...
asked on 10.05.2016 / 11:47
1
answer

How to remove the subquery in creating a MySQL view

I have this query in MySQL Select t.grupo, Sum(servicios.cantidad) As total From (select distinct clv_servicio, grupo from actuacion) as t Join servicios On t.clv_servicio = servicios.id_servicos Group By t.grupo That works correctly but...
asked on 04.05.2016 / 20:44
1
answer

Add new row to a Gridview Devexpress with data from a SQL query

The mechanics is the following, I click on a button and I bring some data to my BD, some of these I must add them to a grid but as a new row is to say that I can read other button and I keep adding. It is a menu and the produc...
asked on 11.05.2016 / 15:54