Questions tagged as 'controller'

0
answers

How to change a borderPane of a controller in another controller in javaFX

I'm having trouble trying to change the BorderPanel Center of my project in javaFX. In the code I call a function that is in the Side-Menu controller to change the Main, but whenever I do this the following error occurs: "Exception in thread" Ja...
asked by 07.05.2018 / 22:07
1
answer

Getting nested resources from the Rails controller

Good evening, this is my first post here, I'm learning to use the tool, sorry if I did something wrong. But here's the problem ... I'm trying to make a "Trello" clone in Rails for a college discipline. Basically I have one in the Project model...
asked by 04.05.2018 / 01:49
0
answers

What is the best way to pass data from the model database to the view?

Hello everyone. I have some questions: We assume that I want to display a table of files that are registered in the database. In my FilesController.php, I have: public function carregarLista($status){ $this->arquivosModel->set...
asked by 02.05.2018 / 18:34
1
answer

Receive integer value in field view

Personal I need your help. In my system I created a modal with data visualization pulling from the bank. I need one of these data to display only the integers, as an example in the photo. If 30.0 is required to display 30, if 265.0 is r...
asked by 16.03.2018 / 14:52
0
answers

How to transform a User Control into Custom Control?

Well I do not know if it's possible to do this, but I created a user control a while ago and now I need to reuse it in some ASP.NET projects, but I'd like to show it in my toolbox. I did some research and I can only add a custom control in the t...
asked by 05.03.2018 / 20:45
0
answers

Display Null Variables in a Modal

Personal I have a following problem. I had to create an audit page of my system, where it displays the edits that were made on a certain form. When a form is populated for the first time, it shows all form variables, as you can see in the...
asked by 05.03.2018 / 16:35
0
answers

Send complex view object to ASP MVC controller

In my View I have a complex model where I display only a few fields in a table. In this model I have another list called Tracks where I do not display its contents. Look at the image below. Ineedtogettheobject(varItem)whichismyAlbumViewMo...
asked by 26.02.2018 / 19:39
0
answers

I am trying to make Scaffold in visual studio with MVC 5 but it is giving the following error

I'm trying and gives the following error The error is this There was an error running the selected code generator: 'Unable to retrieve metadata for' iceguara.Models.Member ''. Using the same DbCompileModel to create contexts against diffe...
asked by 06.02.2018 / 16:29
1
answer

Codeigniter - passing array to controler

Good afternoon everyone, I have a problem with my code and would like some help in solving it. It works like this: I get a form 3 variables (event_id, user_quality and user_id - the latter comes from a multiple select with the name = user_id [])...
asked by 13.11.2017 / 21:33
0
answers

Updating the database

There is an error in the family composition, which says:    Undefined variable: compositionFamily The family composition code is this: $composicaoFamiliar = DB::table('membro_familiar')->insertGetId([ 'id_identificacao_usuario'...
asked by 19.10.2017 / 14:56