Questions tagged as 'helper'

1
answer

MVC Helper Menu

I'm having a hard time putting together a Helper to mount the system menu This is my view @model IList<Devcompy.ClientWeb.Devcompy2.Helpers.HierarchyNode<Devcompy.Models.Entities.Segurancas.Menu>> <!-- Navigation --> <n...
asked by 20.12.2014 / 15:18
1
answer

How to call controller action?

I have the following code: function confirmaExclusao() { var decisao = confirm("Deseja excluir permanentemente esse item?"); if(decisao == true) { //Chamar a action para excluir } else { //Aqui não vai f...
asked by 04.06.2015 / 18:52
1
answer

How to create block helpers in Rails?

I need to create a dropdown menu helper ... But I have no idea how to do this. I wanted a helper in block form, as it is done with forms. Ex.: <%= form_for(@teste) do |f| %> <%= f.text_field :um_campo %> <% end %> In m...
asked by 16.12.2014 / 21:45
3
answers

No select error using mysqli_query

I've done a php to list the rooms, but I'm having difficulty listing them, if anyone can help me, I would appreciate it. <?php $link = mysqli_connect("localhost","root","","hotel"); $result = mysqli_query("SELECT descricao FROM quartos WHER...
asked by 08.06.2015 / 21:53
3
answers

No select error using mysqli_query

I've done a php to list the rooms, but I'm having difficulty listing them, if anyone can help me, I would appreciate it. <?php $link = mysqli_connect("localhost","root","","hotel"); $result = mysqli_query("SELECT descricao FROM quartos WHER...
asked by 08.06.2015 / 21:53
0
answers

Displaying error message

I made the following validations in the Model: class Inscricao extends AppModel { public $name = 'Inscricao'; public $useTable = 'inscricoes'; public $validate = array( 'nome' => array( 'between' => arra...
asked by 17.07.2015 / 15:54
2
answers

End process by .bat every time it starts

Good morning! Whenever I start the computer the process GWX.exe (the famous process Install Win10 ) runs, going to the Task Manager and finish it. So I created a .bat with the following command line: @echo off TASKKILL /F /IM "GWX.exe"...
asked by 04.05.2016 / 14:16
1
answer

Display help typing help c #

I need when the user type help to print a help text, but this needs to work on any part of the code and not on some parts. Same as CMD, when someone types help, all available commands appear.     
asked by 24.04.2015 / 19:28
1
answer

Using the Codeigniter Helper (Download_helper)

Good evening! I'm using the force_download() function to download a file. However, I need to do the same procedure, but with several files downloaded at the same time. I implemented a code, the logic I used is not performing such a proced...
asked by 21.04.2015 / 01:55
0
answers

How to get TKinter information in a variable out of '' def ''

The program I'm doing, I've done it before, but without the graphical interface, now that I'm doing a graphical interface, there are three text boxes where it picks up the information and checks if it has something written or not, but I can onl...
asked by 01.04.2018 / 02:08