Questions tagged as 'mvc'

1
answer

Fatal error: Call a member function result () on a non-object

Hello. After hours trying to solve this problem and research I did about the problem, I came to ask you how I can remedy this issue. The error is:    Fatal error: Call to a member function result () on a non-object in /home/iaulas/public_h...
asked by 17.12.2015 / 04:34
1
answer

abstract methods of the same signature

Hello, I'm building for my college work a WebService based on MVC architecture. For a better understanding of the problem I will explain a little how the classes are currently: The abstract class Model has as one of the abstract methods the...
asked by 27.10.2015 / 12:57
1
answer

How to apply the 3-tier concept with GridView C #?

I have a project where I present a Gridview in an ASP.NET C # Webforms project. I tried to apply the 3 layer concept in this way, but the page only reload and the grid does not appear on the page. Follow the code example below: publi...
asked by 05.08.2015 / 19:25
1
answer

Insert controller into the application from the requested template

I'm creating an angular application where, on the home page, I use a controller to do some validation before proceeding with the application login. My question is, do I have to "instantiate" the controllers of each template only when I request t...
asked by 15.05.2015 / 17:35
1
answer

Using the Codeigniter Helper (Download_helper)

Good evening! I'm using the force_download() function to download a file. However, I need to do the same procedure, but with several files downloaded at the same time. I implemented a code, the logic I used is not performing such a proced...
asked by 21.04.2015 / 01:55
1
answer

Get URL parameter

I need a code that when I click on the image, this image will open in a new tab. So far I've been able to do that when I click on top of my image it opens another tab with the path of the image in the URL. How do I get that path that is in the U...
asked by 01.07.2015 / 14:54
2
answers

Open another page in JQuery modal

I have a problem that I can not resolve in any way. Well, I have a project in Asp.NET MVC as follows: Home Model public class Objeto { public Objeto() { } public Objeto(string nome, double valor, double perc...
asked by 13.04.2015 / 17:03
2
answers

Include_once and directional directories - php

I'm having problems with include in relation to directories, because when I call a class from another directory that contains another include the paths are different. I need to know if there is any way to unify these includes and always call the...
asked by 06.01.2015 / 21:21
1
answer

CodeIgniter - Query in database PostgreSQL (multi database)

Well, I'm developing an app that lists. The listing is produced by querying a database. The list x is generated only by the query in the database x, the listing y, generated only by the query in the database, and so on. Neither one result should...
asked by 28.01.2015 / 12:49
1
answer

Given handle of a specific field cakephp

I'm starting now with CakePHP, and I'd like to know how to get the value of a specific field. For example, I have the name and email fields. How do I get the value of the field name? PS: I know you have the method $this->data , bu...
asked by 09.12.2014 / 21:43