All Questions

2
answers

How to pass components as parameters in react?

I need to pass a component as a parameter to be rendered from another component. In the following example I want to render Title1 or Title2 within Profile given the components: export class Titulo1 extends React.Component { render () {...
asked on 07.03.2017 / 18:12
2
answers

concatenate with null values in mysql

I have the following: |ap_pat|ap_mat|pri_nombre|seg_nom| |Jara |Rios |Luis |ivan | |lopez |NULL |Jorge |alf | Concatenating with CONCAT or CONCAT_WS gives me a space of more between each data if this NULL...
asked on 02.03.2017 / 18:21
2
answers

Problem with Http post Angularjs2

I followed the forms tutorial in the Angularjs2 documentation, but I can not send it by the post method I created the class as in the example export class Hero { constructor( public id: number, public name: string, public...
asked on 19.03.2017 / 14:44
2
answers

How to access a structure within another structure

I have the following example code in which I try to insert a structure into another, but then I do not know how to access its fields. #include <stdio.h> #include <stdlib.h> typedef struct Ejemplo{ void* data; } ejemplo; typed...
asked on 20.03.2017 / 15:40
3
answers

@ Styles.Render does not work on server

Dear friends of Stackoverflow, I have the following problem: I am developing an ASP.NET MVC 4 application, which I have uploaded to a Azure server. The issue is that when I'm working locally, I compile and run the application on the lo...
asked on 18.03.2017 / 18:34
2
answers

Validate form field in request from laravel

How can I validate that a field of the form only allows text ?, that is, do not accept a number or other characters other than normal letters of the alphabet. I assumed that this would be enough "campo" => "required|string" but if I e...
asked on 16.03.2017 / 13:18
3
answers

Check that read-only fields have not been modified

I am using spring-mvc and I have a form in a jsp, in this form there are fields that are read only, imagine that we have to make a payment and a field is the amount, I would like to know how I can do to verify that the read-only fields have not...
asked on 06.03.2017 / 19:44
2
answers

Hide or close an MDI Children form

Hi, I have an MDI form (frmPrincipal) where I open an MDI Children form (frmListerateClients). Within this mdi children when closing the form I launch a form (frmOpciones) that allows you to make a couple of quick procedures that you can eith...
asked on 04.07.2017 / 07:58
2
answers

Instance of an object in python

from Tree import Node q = Node(p) The problem with the code is that I get this message:    'Node' is not callable   This inspection highlights attempts to call objects which are not callable, like, for example, tuples. This does not le...
asked on 21.07.2017 / 23:14
1
answer

Automatically reload files in NodeJS

I am working on a project with NodeJS , and I just realized that I must restart the server every time I make my changes, is there any way to avoid this? I am working with NodeJS 6.10 , express 4.13 , gulp 3.9 ,...
asked on 04.07.2017 / 14:06