Questions tagged as 'model-view-controller'

1
answer

I do not see the initial ViewController in appDelegate swift

I'm used to defining in the application appDelegate the viewController with which the application starts, for example: func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptions...
asked by 15.06.2018 / 04:41
0
answers

asp.net-mvc persist state views to return to previous states

I write the post because I have been thinking about how to solve a problem that I have to solve and I do not know how to approach it ... (I feel the brick, it's very conceptual all ...). The fact is that I'm with an application that has 5 mai...
asked by 13.04.2018 / 09:39
0
answers

Insert in bd with cakephp

Each time I reload the page, it re-inserts the data, but when updating the page, the input left me with the information that had been entered, so I had to clean the input with js when loading the page. $(document).ready(function () { $("....
asked by 09.04.2018 / 23:51
0
answers

How to receive a list of a partial view controller (ViewModel)

I have a partial view which receives a list from a controller, that view has a model (ViewModel) ... The problem is that the list does not arrive or does not result in the view .. //ViewModel namespace Proyecto_Libreria.Entidades { public...
asked by 08.03.2018 / 15:45
0
answers

AngularJS does not recognize the controller

When I open the page it does not throw a 'true' as it should, but it shows me {{ 2 > 1 }} as if it did not recognize the controller. What can I do? Do I have an error? I have to say that I am still learning how the recent version...
asked by 09.02.2018 / 14:24
0
answers

Translate a sentence from Mysql to to Eloquent, laravel drivers 5.4

Hello I still do not know much about how to pass the queries to laravel, I have the following (which runs perfectly what I want in Mysql): query in mysql    'select distinct a.temario as Event, count (b.id) as Participants from   events a,...
asked by 04.11.2017 / 18:05
1
answer

How to create an element that contains one or more elements from different Tables in my Django database

I have the following Tables: Ticket , Manager and Services Ticket has information such as creation date, manager, services and more. manager that has 2 fields name and percentage. and the services table that has 2 services and pric...
asked by 15.10.2017 / 23:52
3
answers

2 models in a view razor asp.net mvc

Good morning I have the following problem create a model to put in another two models to show their data in a single view if I put public List<Producto> Productos {get; private set;} public DetalleEntrega Detalle {get; private set;}...
asked by 31.08.2017 / 16:31
1
answer

Data list is no longer displayed

I have a problem, when visualizing the data assigned to a specific type of role, the data of the others are no longer displayed, the field is set. I have the following:     // Load the Role and the associated permissions according to the ID...
asked by 30.03.2017 / 21:42