Questions tagged as 'actions'

1
answer

500 Action does not contain method named

I'm making a call to an action but I get the exception that the method does not exist in Action: 500 Action[/historicoAction] does not contain method named listar Would anyone know what's going on? Follows files: struts-config...
asked by 06.01.2015 / 16:59
1
answer

Change the operation of the myCRED Gravity Forms hook

I have a site with a scoring system using the WordPress plugin for myCRED and Gravity Forms. MyCRED provides a hook to give pre-defined points automatically to users each time they send messages via Gravity Forms, and as an additional option,...
asked by 02.02.2015 / 04:05
2
answers

How to insert a REQUIRE in this function?

How do I insert a require into this Wordpress function for admin menu? add_action('admin_menu', function() { # $page_title, $menu_title, $capability, $menu_slug, $function = '', $icon_url = '', $position = null add_menu_page (...
asked by 02.10.2014 / 13:34
1
answer

Create list of Actions with parameters and then execute it

I would like to create a list of Actions with parameters and then make a foreach in that list and exit executing the methods, each with their respective parameters. Something more or less with the code below. private List<Action&...
asked by 21.02.2018 / 22:17
1
answer

Create List of actions already passing the parameters and then execute them according to parameters passed

I wanted to know if there is a possibility to create a list of Actions already passing their parameters to execute, because the numbers that I will pass to the execution of them can be variable, so I would like to save these aActions already wit...
asked by 22.02.2018 / 15:14
2
answers

Set Enabled ActionList Property to True

I store in a table the name of my Actions, and dynamically through a query, I return them on screen, as follows: I declare a variable of the type: MinhaACL : TAction; Begin MinhaACL := TAction(qryActions.FieldByName('nomeacl').Asstring)...
asked by 20.02.2018 / 16:27
1
answer

Make an if for another line

I have this email sending code and the attachment, it is working perfectly when I send the email along with the attachment, but if I do not send attachment it gives an error, I believe it is on account of line: if(filter_input(INPUT_POST, "btn...
asked by 17.08.2017 / 22:37
1
answer

Place more than one SUBMIT input in HTML form

I have on my page a form with an already determined action and an input button. <form id="educForm1" name="educForm1" action="<?php echo ROOT . 'educacao' ?>/enviaemail" method="post" enctype="multipart/form-data"> ... <inpu...
asked by 07.06.2016 / 19:36
0
answers

Loan logic in a library

I'm wanting to make a loan from a library book loan, I made a scaffold for book one for user and one for loan. In the list of books in each book has a button to lend when I click it takes the id and the name of the book for the loans, in l...
asked by 09.05.2018 / 19:23
1
answer

Ajax warns success but does not enter data

I already did an insert without using ajax and it worked normal, when I used ajax and returned success I thought it was all right, but when I went to look at the database the data was not there Running JS Code function adicionaUsuario(){ va...
asked by 20.10.2016 / 05:58