Questions tagged as 'controller'

1
answer

Working with Factory

I am developing a system for a cafeteria, where it will have to register the cities and within the cities the districts with their due freights, the problem is occurring the first time that occurs the registration of the first neighborhood of th...
asked by 20.01.2016 / 14:18
1
answer

controller name with hyphen in cakephp 2x url

I'm working google SEO on my site, and I realized that in word separations, a hyphen is better than an underline, or words together, but I realized that at first cakephp does not accept that it creates controllers in this way curso-no-exterio...
asked by 03.12.2015 / 12:47
0
answers

How to use Web api for controllers and MVC for view (Front-end)?

Hello, my problem is the following, I'm doing a test for stage and the guy asked to do an ASP.NET project with mvc only for views, and web api just for controllers and another layer for the bank only that I I could not do the mvc recognize the c...
asked by 22.12.2015 / 00:17
0
answers

ERROR when selecting a simulation

I have a subscription problem. I have a screen that retrieves cycles that are open according to the course of the user and for each cycle of this already has a saved simulation, that is, a relationship. BEAN: @PostConstruct private vo...
asked by 05.11.2015 / 16:06
1
answer

Capture the value entered in the input to submit using jQuery

I need to lock the shopping cart of a shop made in Prestashop, until the person types the email, or logs in after inserting merchandise into the cart. Then I made the following implementation in Control: protected function processChangeProd...
asked by 01.03.2016 / 15:11
0
answers

Cakephp 3 RSS error

I want to make an RSS generator, I followed the tutorial on link . But things are not working as they should, because according to the documentation, when I access the route of the item with the .rss extension, it should return the RSS, in my c...
asked by 26.09.2015 / 22:36
1
answer

Using Factory and Controller to handle Json

On this site Andrew McGivery I found this very interesting example: .controller('UserCtrl', function($scope, $stateParams, userService) { var user = userService.getUser($scope.id); }) .factory('userService', function($http) {...
asked by 23.09.2015 / 15:12
1
answer

Include a fxml via code by a controller

Hello, I have the following question. I have two fxml: UserList.fxml and UserProperties.fxml. You need to include the UserList inside UserProperties, but it can not be by fxml, as this will not always happen, only if a certain condition is true....
asked by 27.01.2015 / 13:49
0
answers

Help with where in Laravel

Hi everyone, I wanted your help in a where. In my system it is like this, I am on the photo gallery page of the Resort (id = 1), on this page I can register the photos of the month / year of the development (the steps of the work). When I reg...
asked by 17.01.2015 / 17:47
1
answer

How to get an Array on all view pages

I have a view that is called by a master page , the problem is that I pass a array and the second page called, but the data does not arrive as expected. ex. //controller index class Index{ public function index(){ $data = arra...
asked by 11.07.2014 / 14:58