Main page of my website consists of multiple blocks such as last offers, last news, last articles and so on. Each block has controls like \"show more\" or \"refresh\" so that when user clicks, the blo
I am stuck with access 2 services methods from one controller. I want to create a Task but same time I want to create new Role and assign its auto increment id to Task\'s roleId(foreign key). It is a
I\'m working on a rails project in which I use CanCan to authorize my resources. When a user is not signed in and tries to submit a \"talk\" (via an ajax form submission), CanCan correctly raises a 40
We are using MVC3 and we are trying to create a method in a Controller named UserSesionManager. This method is called from
For example, suppose I had a blog and anybody could read the articles, read the comments, and flag any comment as inappropriate. How do I prevent non-signed-in users from clicking the \"Flag Comment\"
I\'m using jQuery UI Tabs with Ajax and I am getting an error: Failed to load resource: the server responded with a status of 404 (Not Found)
Using CakePHP, I am finding that I\'m duplicating so开发者_如何转开发me code between controller actions.I have a dozen or so actions (belonging to various controllers) that all need to run the same qu
I have two files with @controller annotation the first contains @RequestMapping(\"students\") annotation and mapped methods like @RequestMapping(\"Add Student\",method=RequestMethod.post)
a quick question, I have been dabbling with XCode off late and am trying to understand the View Controller, while I get the nitty gritty of it, one thing I fail to see is where the View Controller cl
I have a following View Method in an ASP.NET MVC 3 Controller that retrieves data from Amazon SimpleDb, stores it in a list and then stores that list object in a session. But at the line where I am st