Questions tagged as 'mvc'

0
answers

Problem in validating the Data.Annotations

I'm creating a login screen in ASP.NET.Core MVC, and I'm using validations via Data.Annotations , however they are not being applied correctly on the screen. Following codes: View: @model PCI.EV.Models.Clientes <script src='http...
asked by 18.01.2018 / 17:54
0
answers

Query in .NET Core

I'm learning the MVC logic applied in .NET Core but I have some doubts about doing CRUD process, more specifically Query . How can I make the click of the button communicate with a Controller and the same, request the information for th...
asked by 16.01.2018 / 15:01
0
answers

Spring Validator Interface compare with a given value

I have a class Savings that contains the info input by the user in a form: public class Savings{ private int numberOfTimes; private double value; ... } and a controller that calls the validator () method from the Spring Validator...
asked by 15.01.2018 / 19:25
0
answers

MVC Layer Data Manipulation

Good morning everyone. I have a question / problem. I'm using php and javaScript / Jquery with the default MVC and DAO projects. I want to know how do I get the data from the database that is in DAO using AJAX and send it to VIEW...
asked by 24.01.2018 / 14:15
1
answer

Use different CSS in each view

I'm developing a site using the MVC standard, I wonder if it's possible to use a different CSS in each view. If so, how?     
asked by 06.01.2018 / 11:20
1
answer

.txt does not show old messages, takes only the last one and displays

What the application consists of: saves the result of a question (qtd hit and qtd error) strong> on another screen. What the application is doing : Saves everything and only displays the result of the moment the application opens, it ig...
asked by 29.12.2017 / 22:32
0
answers

Return Image (Database Blob)

I can not return the images from a controller. Below I explain all the encoding: I created a controller, and a view for this controller that returns the image that is in an Oracle blob field. It worked, usually with the controller and view be...
asked by 04.01.2018 / 00:45
1
answer

JavaScript function not defined after $ .getScript ('');

I need to load an .js file after an ajax call. I've been looking for and found $.getScript('') to call my file, it opens, everything works fine, but the functions defined in that file are not being found. I have a clicklistener functio...
asked by 27.11.2017 / 13:51
1
answer

Laravel Auth :: Atempt () always returns false

I tried to authenticate, but always returns false in the Auth::attempt() method of Laravel: $prontuario = Input::get('prontuario'); $senha = Input::get('senhas'); if (Auth::attempt(['prontuario' => $prontuario, 'senha' =>...
asked by 03.11.2016 / 00:50
1
answer

UTF-8 Not working on all pages

I'm having trouble using charset='UTF-8' . I am developing a site for a college project using MVC and as a default I declare utf-8 in a view to be used as the default for other views, however on most pages unicode works, and in othe...
asked by 14.11.2017 / 15:34