Questions tagged as 'mvc'

0
answers

MVC, problems when passing data from a View to a Controller

I have a class PaneClient , which uses CardLayout and "above" this view are other 2 views: paneAttributeSet and paneRegisterClient . The problem is when I try to call the method getFieldData() from the control...
asked by 06.11.2018 / 12:47
2
answers

Validate registered user

I am trying with Ajax to show if the user exists in the database so as not to have two registered users with the same name. What I do is through the event change of jQuery show with a span if the user exists or not in...
asked by 27.03.2018 / 20:56
1
answer

Graphics with Highcharts, JSON and CodeIgniter

Someone to help me how to make a Grafica using Highcharts in CodeIgniter using JSON. url:('<?= base_url(); ?>index.php/ejemplo/ejemDatos/datos', function (data) { // create the chart Highcharts.stockChart('datos', { //datos es el id...
asked by 07.08.2017 / 23:29
1
answer

Problems with TempData message

I am calling a method that according to the final result shows a message or another by means of tempdata var departamentos = Repositorios.RepositorioPersonal.getDepartamentos(); if (departamentos.Count > 0) { foreach (var grabar in dep...
asked by 06.10.2016 / 10:43
1
answer

Why does it fail to call a function in php if I have already declared the file with an include in my html?

What friends my problem is that I try to call a php function in an html and I get this error: Fatal error: Call to undefined function family () I have the include already declared calling the file that contains the function but still persists,...
asked by 19.12.2017 / 19:55
1
answer

How can I connect a view and a controller [closed]

Context I'm learning symfony2 ?     
asked by 15.03.2016 / 09:29
1
answer

Doubt about MVC + DAO in JAVA

Good morning, I wanted to ask about how "Compulsory" it is to use a controller for each view and NOT a controller for all views. My problem is that I was doing a practice where they asked us to implement the MVC + DAO design patterns in Jav...
asked by 27.11.2018 / 19:49
4
answers

MVC View Conditions

I need my program to do the following flow control, but the else does not detect it, it's as if it was not written. Code: <table class="table"> <thead> <tr> <th&...
asked by 24.01.2018 / 12:10
3
answers

Rows of DataTable Bootstrap in a single line ASP.net MVC

I want all the rows to be in one line. As you can see below, I have a view where I get a dynamic datatable that was fed by a Json, I do not know the name of the rows or columns so I can not put a fixed width to all columns <table id="exa...
asked by 08.02.2017 / 20:11
2
answers

Concatenate a PHP variable in a MYSQL query

I'm doing a query SQL in PHP using MVC . I'm doing a function which has a parameter and this is used in the query SQL . This is the code and up to this point it works for me. public function miFuncion($u){ $stm = $t...
asked by 04.01.2019 / 16:52