All Questions

2
answers

Why is the gravity attribute of the LinearLayout.LayoutParams object not working like the setGravity () method of View?

Problem I'm working on a UI library to android , where hedge the layout parameters ( height , width , weight and gravity ) dynamically via code in a LinearLayout.LayoutParams object but the gravity attribut...
asked on 27.03.2014 / 21:24
3
answers

Automation of web page tests

I would like the tooltip to perform the recording of the data entry on the page. I have already used the Selenium IDE , Selenium Web Driver . I saw that there is iMacros . I'm programming in JSF, Java and Primefaces. My problem is this, I...
asked on 27.03.2014 / 14:59
1
answer

Media Queries does not work

I'm developing a WordPress site that needs to be responsive and for that I'm using media queries: <head> ... <link rel="stylesheet" href="css/style.css"/> <link rel="stylesheet" href="css/mobile.css" media="screen and (max-width...
asked on 07.04.2014 / 00:49
1
answer

Call a non-executable by Process in C #

Is there a way to call an executable other than by process? I need something that does not use the code below to call an executable because when I end a process from an application that is not native to Windows, I can not call it again with t...
asked on 08.04.2014 / 20:08
1
answer

Filling in data.frame from another data.frame

I have two data.frames: "a" and "df" a <- data.frame(x=seq(13,37,1),rep(c(1,2,3,4,5),each=5),seq(21,105,21)) colnames(a)<-c("values","date","term") b<-data.frame(x,21,42,63,84,105) colnames(b)<-c("date","term21","term42","term63",...
asked on 27.01.2016 / 19:14
1
answer

What is the best way to perform a dependent addition / subtraction operation?

It is common when you first encounter this doubt. I have to perform an operation that is dependent on a condition: Example 1 $operacao = 'somar'; $valor1 = 5; $valor2 = 10; $saldo = null; if($operacao == 'somar'){ $saldo = $valor1...
asked on 26.01.2016 / 12:40
1
answer

Pass a JSON from the view to the route

I'm trying to send JSON of view to a route, but I can not. Unfortunately I know little about JSON , ajax , GET and POST . In the view, json: var json = { "numeroMesa": numeroMesa, "itens": itens }...
asked on 03.02.2016 / 16:53
1
answer

How to internationalize Enum values?

I have the following code in the Model: public enum Lista { [Display(Name = "Lista_regular", ResourceType = typeof(Mensagem))] Regular = 0, [Display(Name = "Lista_irregular", ResourceType = typeof(Mensagem))] Irregular = 1 }...
asked on 17.04.2014 / 04:06
1
answer

Differences between glassfish 4.0 and Wildfly 8.0.0

1 - Is there any difference in performance and / or complexity of use when comparing application servers: Glassfish 4.0 and Wildfly 8.0.0? 2 - Is there any specific situation where the use of one (1) of them is more efficient / interesting th...
asked on 21.04.2014 / 04:48
2
answers

PHP Logout with CodeIgniter

I'm having a problem logging out my system until it is logging out correctly and destroying the sessions, but if the user clicks the back button of the browser it returns to the previous page of the system where all data is displayed again . The...
asked on 03.02.2016 / 12:35