Questions tagged as 'mvc'

1
answer

save variable without being "cleaned" when doing return view C #

I have a small problem, it turns out that I am doing two filters in my project (One by date and the other by company). The filter by date works perfect I change it by date and it filters well but that date that I send it I want it to be stored i...
asked by 17.07.2018 / 18:33
1
answer

Connect thymeleaf with a list of objects

I am currently using these technologies SPRING MVC HIBERNATE JPA THYMELEAF JACKSON JSON create a form where you sent a recipe-type object @GeneratedValue(strategy = GenerationType.AUTO) @Id private int id; private String nom...
asked by 06.06.2018 / 07:52
2
answers

Asp.net C # identity 3 layers - session replacement in VS 2017

Query, formerly when I was programming in asp.net form, I did it with sessions, now that I am working with asp.net mvc 5 in n layers, how can I get, for example, the ID or Full Name of the user logged in from any part of the application?     
asked by 09.05.2018 / 07:24
2
answers

Save record in the database with ajax?

Good evening developers I am trying to save a record in my database using ajax, jquery although I am somewhat stuck on how to start there, I received a tip using this code: <html> <head> <meta name="viewport" content="width=...
asked by 03.04.2018 / 02:51
2
answers

Empty list of PDO + MVC + PHP records

I am working on a Project Management System under the MVC pattern and the problem is when I print the records of my database in the CRUD, all the rows that correspond to my "winners" table are appreciated but empty Thanks in advance here I enclo...
asked by 08.03.2018 / 03:37
2
answers

pass the value of a select to another select

I have two views, view1 = victims and view2 = reporter that are the same only change the name and the id of the person entered 1 = victim and 3 = whistleblower. as a complainant I have a check that when checked would have to pull the victim's...
asked by 19.02.2018 / 16:28
2
answers

Send an image with Ajax and Jquery in MVC c #

I am working in MVC and I want to send an image through Ajax with Jquery, I have been able to send text data but until now I do not know how to send the image, because when I put it to see what data it sent me it comes out as null This is the...
asked by 16.04.2018 / 04:08
1
answer

Get access to iframe content?

What kind of friends I hope you can support me with some doubts I have. I am uploading a page in an iframe , and when I try to access the contentDocument it returns the following error DOMException: Blocked a frame with origin " link "fr...
asked by 16.11.2017 / 01:48
1
answer

Problems with session_start (): Can not send session cache limiter

I'm doing a login using the MVC model in PHP and I have a problem of    Warning: session_start (): Can not send session cache limiter - headers already sent (output started at C: \ xampp \ htdocs \ backEndEmisoraSanJoseObrero \ views \ module...
asked by 22.11.2017 / 23:19
1
answer

How to consult records between two related tables in laravel

I want to make the query of a section table and of it to show the data of another table that is related, called semesters. I need help on how to consult it in the controller and how to display the data in the view My controller public...
asked by 06.11.2017 / 21:30