Hello!
Please assist me: How to assign an up arrow keyboard shortcut to action or menu item, and keep it actual for navigating the list control (e.g. ListBox/Virtual Treeview/other) at the same time?
Thanks!
...
Greetings,
I have a custom action inside an MSI installer that makes some changes to some configuration file. my requirement is to run the installation in silent mode so I am using msiexec.
Here is the command:
msiexec /i myInstaller.msi /l* out.txt myContextParameter=value1
myContextParameter is never passed to the custom action so ...
I have a Rails application which has an action which is invoked frequently enough to be inconvenient when I am developing, as it results in a lot of extra log output I don't care about. How can I get rails not to log anything (controller, action, parameters, complection time, etc.) for just this one action? I'd like to conditionalize i...
I am about to refactor a Swing application from using ActionListeners to Action classes because I realized that a lot of my menu items are going to be used in a toolbar as well.
Right now I have a class called ImportExport which deals with the state of the underlying model and then displays the appropriate user dialogs. ImportExport has...
I have a 92 page catalogue (one image per page, multiple products per image) and no product codes on the image for each product.
Does anyone know of a photoshop action to allow entry of a stock code (<15chars text), that will create a filled, outline box with the text inside? It will be awful to have to do them by hand - there are hund...
I would like different a different action to handle a request depending on query parameters values.
For example:
mydomain.com/controller/action?version=1&msg=hello
and
mydomain.com/controller/action?version=2&msg=5
should go to a different handlers based on the version value.
The list of query params required/optional, as well as...
Hi,
I've got a functioning form with a sfWidgetFormChoice that acts as a list of checkboxes. I'm able to set the checkboxes to "ticked" by default with the following:
'status' => new sfWidgetFormChoice(array('choices' => array(1, 2, 3), 'multiple' => true, 'expanded' => true), array('checked' => 'checked'))
... where the checkboxes a...
Hello,
I have several UIBarButtonItems, and I want to set the action when you press it programmaticly. How can I do this? Please give in-depth instructions since i just started to work with the SDK.
EDIT: if it would be possible non-programmaticly, please also reply :)
The action is going to Google.com, and the button is the search bu...
Hi all,
I'm trying to implement a client for National Rail Enquiries' SOAP Service (http://www.livedepartureboards.co.uk/ldbws/).
I stick the WSDL (http://realtime.nationalrail.co.uk/ldbws/wsdl.aspx) into http://soapclient.com/soaptest.html, but I get back the error message "Unable to handle request without a valid action parameter. Pl...
Hi all
I am using color picker where the colors will initialised dynamically.If the color picker contains only one color i am unable to trap that color on change event. if it contains more then one color i am able to get the particular color from picker. So please reply if any one knows how to get the color if picker is having only one ...
Is there a simpler way of writing this:
map.old_site_cusom_packages '/customs_packages_options.html', :controller => :public, :action => :redirect_to_home
map.old_corporate '/corporate.html', :controller => :public, :action => :redirect_to_home
map.old_track '/track.html', :controller => :public, :action => :redirect_to_home
map...
Hi.
How can I use filter action from page that not contain filter form (e.g. by submit or GET request)?
When I pass parameters in the following URL
<module_name>/filter/action?module_filters[_csrf_token]=62a17afab45d56382974f9a495abee7c&module_filters[id]=3998
I get an error in filter form:
csrf token: CSRF attack detected.
or
...
I got a selection list:
<select>
<option value="0" onclick="anders('1')">Anders</option>
<option value="200" onclick="anders('');" selected="selected">€ 200,-</option>
<option value="300" onclick="anders('')">€ 300,-</option>
<option value="400" onclick="anders('')">€ 400,-</option>
<option value="500" onclick="anders(...
I'm using the following to set a slot in an action but I can't retrieve it in the layout.
$this->getResponse()->setSlot('global_message', 'You have already completed this contest.');
But if you set this in the template file, it works fine.
Anyone have any ideas on this one?
...
With JSF 2 you should be able to do this:
<h:commandButton action="#{myBean.myAction(myParameter)}"/>
which would then call the action method, passing in the parameter (assume it's an Integer):
@ManagedBean
@SessionScoped
public class MyBean {
...
public String myAction(Integer myParameter) {
// do something
r...
Tried this but only works for UIButton:
[btn setTarget:self action:@selector(btnClicked:) forControlEvents:UIControlEventTouchUpInside];
...
Within my logic layer I have the need to check permissions for a wide variety of actions. Some actions are generic but some are highly specialized. Each action has a corresponding permission hierarchy that is evaluated prior to performing the action. I have been tossing around architecture ideas in my head but haven't reached a solid one...
I'm running an online shop and I'm trying to have the "purchase" (which is a form "post" action) post to two separate servers (one local and one remote) ... I think this might be impossible but I'm looking for a definitive answer.
...
In action.class.php:
$form = new NewsForm();
$form->setWidget('thumbnail', new sfWidgetFormSelect(array('choices' => $news['images'])));
$form->getWidget('summarize')->setDefault($news['summarize']);
$form->getWidget('title')->setDefault($news['title']);
Where $news is generated in previous steps;
It looks redundant,how to refactor i...
How do you call a server side code and javascript in MVC?
We are having a close button on every page.
on click of close button there should be a call to controller action and the browser should close.
Also if the user clicks the browser close the same controller action should be called before closing.
Have anyone done similar stuff befor...