actions

django admin actions on all the filtered objects

Admin actions can act on the selected objects in the list page. Is it possible to act on all the filtered objects? For example if the admin search for Product names that start with "T-shirt" which results with 400 products and want to increase the price of all of them by 10%. If the admin can only modify a single page of result at a tim...

MVC: actions that don't exist

Hi there, Ihaven't done much MVC and still learning the hard way on how to do things. MVC 1 and C# The Problem I want to provide a customer with a link such as www.temp.com/redirects/cust100?id=123&url=www.nothere.com from the URL i know it will go to the controller of "redirects" but there isn't an Action of "cust100". How do i creat...

Avoiding large controllers in MVC

Controllers can become large and unwieldy when they contain large numbers of actions. Is this a significant problem in real-world use, and if so what are the strategies to mitigate it (or is is good enough to simply keep the action-count down per controller)? Off the top of my head I can envisage the controller offloading the logic to a...

How to load photoshop action with JavaScript?

Hello! How do I load photoshop's action using its javascript scripting language? Mostly curious in this action steps: Add Noise Distribution: gaussian Percent: 2% With Monochromatic Texturizer Texture Type: Canvas Scaling: 100 Relief: 3 Without Invert T...

Rails Nested editing form for self-referential HABTM Active Record Object

OK, this one is a doozy. I have an ActiveRecord object that, among other things, includes a relationships as follows: class Sample < ActiveRecord::Base has_and_belongs_to_many :related_samples, :class_name => "Sample", :join_table => "related_samples", :for...

target-action cocoa touch

Hi there, I want to add at-runtime some behaviour to some controls: Suppose we have a UISwitch. The next thing I want to do, is reading an UIML file and add some action to the UISwitch. This action is described in the UIML document. UIML is an XML document. Suppose we have an interface with 1 switch and 1 textfield. When changing the ...

Help with Boost Grammar

I have been using the following win32 console code to try to parse a B Machine Grammar embedded within C++ using Boost Spirit grammar template. I am a relatively new Boost user. The code compiles, but when I run the .exe file produced by VC++2008, the program partially parses the input file. I believe the problem is with my grammar defin...

Unable to associate the custom action file build in C# with the Wix project

Hi, I have a specific requirement. I am using a wix project and here I have a dialog box asking for the web application name and port number. After entering something when the user clicks on the next button I want to validate that the port number should not be used by some other application and if it does the setup should show a warning...

Unable to associate the custom action file build in C# with the Wix project

Hi, I have a specific requirement. I am using a wix project and here I have a dialog box asking for the web application name and port number. After entering something when the user clicks on the next button I want to validate that the port number should not be used by some other application and if it does the setup should show a warning...

admin panel recent actions

hello I was wondering if I can get django admin (logged as super user) to display in some kind of "recent actions box", changes other users (non super users) made? Thanx, Luka ...

NetBeans Platform - getActions() on TopComponent not working correctly

Hi all, I am overriding the getActions() method to customize the behavior of the popup menu when my TopComponent tab is right clicked. The problem is, the actions I specify are not coming out correctly. @Override public Action[] getActions() { return new Action[]{new A(), new B()}; } I would expect that when I right click, my ac...

Symfony 1.4 change admin generator actions or templates

Hi, how can I modify admin generated modules (acions and templates)? They are stored in cache but I need to modify them (templates!). Is it possible at all? Greetings ...

Need help creating flash animation with clickable buttons at the end.

Very inexperienced with Flash, but I hope this is simple enough for someone to walk me through. I'm ultimately trying to create a flash page for an html website that has a brief five-second animation during which 3 buttons fade in (buttons then become clickable after the animation is over). The animation part is done. Right now, I am ...

QT: user selects actions

http://img804.imageshack.us/img804/4258/uisketch.png Hello, I am trying to a make a UI, like in the sketch picture (spam prevention made me to post only the link). What should be the boxes type? QListView (boxes should be scrollable)? I have tried that, but I couldn`t manage to add any action to "available actions". I have tried to play...

Visual studio deploy application custom action

;Hello I am trying the deploy an application with visual studio and I have a problem with custom actions. I would like to launch a .exe during the installation, and it does not work. I have addded the .exe to the MSI and in the custom action view, I added the file .. pretty simple. I cant see how it cannot work. I tried to do the same wi...

Multiple Actions to 1 button in iPhone sdk

What I'm trying to do is, I have a button that opens up the photo library so the user can choose the photo and then the photo is then displayed on another view (another .xib file). How can I do this? Right now, I have both the photo library action and change view action pointing towards the button and its crashing due to both actions hap...

Two actions from the same form

I need to have a form execute two scripts so that means two different actions from the same form. I've tried some javascripts that use form.submit() from an onClick action on a submit button. But one of the two actions is an ASPX script that goes to Dynamics CRM. Any suggestions? ...

How MVC fill Id parameter?

Hello, today I've got some interesting observation, that I need to explain. I've got my Person class that is described as above: public class Person { public int Id { get; set; } public string FirstName { get; set; } public string LastName { get; set; } } now in my MVC2 application I've got PersonController with following ed...

symfony : how to execute an action via a _partial

Hello, in my application, I have a menu which is a partial (_menu.php) I need in my menu which is on the entire application, to have access to that : $this->user = $this->getUser()->getGuardUser(); $this->unread = Doctrine::getTable('sfSocialMessageRcpt')->countUnreadMessages($this->user); But how to create an action for my partial...