Questions tagged as 'model-view-controller'

0
answers

Driver fails to call PHP model

How about, I'm a bit green in this, I was creating an api with php following the mvc model, I had managed to connect to the base using PDO, I did my controller std, my users ctrl, user model and my index, it works well with only one (users), but...
asked by 16.05.2017 / 03:29
3
answers

I can not insert in BD with CodeIgniter

I have a view with a Modal PopUp form when the accept button is executed, it does not insert in the database or mark any error, I hope you can help me. VIEW: <!-- Modal (PopUp registro de nuevo cliente) --> <div class="modal fa...
asked by 25.05.2016 / 02:21
3
answers

Multiple models in an ASP NET MVC view [duplicated]

Hello friends I'm still stuck with this, someone can help me out ... This is my error: These are my models and my htmlCs //kyo es el nombre de mi vista, este es el controller //GET: Home/kyo [Authorize]...
asked by 14.09.2017 / 20:02
3
answers

HTTP Error 404.0 Not Found

Good day mates I have this code of the contrlador and the view in asp.net mvc but when clicking on edit I get this error and verify to have created the view, I think it does not identify by id but in my code in the controller what I put it to go...
asked by 28.06.2017 / 00:16
1
answer

Internationalize variable in controllers?

Good, I would like to internationalize a variable in a controller. I have a form in which I fill some data and depending on the data I enter in the form I want to give value to a property of the entity that I show the form. I put you in situatio...
asked by 21.12.2017 / 17:53
1
answer

Can not insert the value NULL into column 'Name'

Hello, I am working with ASP.NET trying to make a new object of categories from other classes and as I am passing all relevant parameters of both classes. But apparently I'm missing something I do not know if it's because of what I'm going t...
asked by 29.11.2017 / 18:45
1
answer

One controller for each Tab - TabPane JavaFx

I have a TabPane with 5 tabs, each tab has a large number of controls, what I want is to assign each Tab / Tab its own controller, the scene builder only allows me to add a controller to the top panel (the root panel) , the idea of this is to fu...
asked by 18.09.2017 / 07:51
1
answer

Multi Models in an ASP NET MVC view

Hi, I'm new to C # and MVC ASP NET and I have the following complication. I'm trying to flatten the data of different models in a single view to use this data in a form, to all this I found that I can (mix?) Two models or more in a parent model...
asked by 11.09.2017 / 23:16
0
answers

Problem with express route

This is my server: const express = require('express'); const morgan = require('morgan'); const app = express(); const { mongoose } = require('./database'); // Settings app.set('port', process.env.PORT || 3000); var port = app.get('port'); /...
asked by 23.12.2018 / 01:55
1
answer

How do I load a driver before loading a js file?

I'm doing a small guided tutorial for a web page, I'm using a library called introjs , which helps a lot for that task. But I have a small problem, the web page is created with MVC Razor, and the menu part is dynamic, and it is loaded from t...
asked by 17.07.2018 / 00:45