All Questions

1
answer

SelectOneMenu of Primefaces selects an item by pressing a shortcut key with CTRL

I have forms in JSF with some keyboard shortcuts, for example, CTRL + S triggers submit to save the data. The problem is that when a key combination is pressed in a <p:selectOneMenu> field, the first item starting with S...
asked on 16.05.2014 / 21:09
4
answers

Instantiate class as property of another class

I have two classes created within the same namespace , being: public class Pessoa { public int idPessoa { get; set;} public string nome { get; set;} } public class PessoaFisica { public Pessoa pessoa { get; set;} public...
asked on 09.05.2014 / 14:16
1
answer

How to increase the thickness of a text-shadow

Is it possible to increase the thickness of a text-shadow ? Look at this EXAMPLE in JSFiddle It's just like I have not put a text-shadow , it's invisible.     
asked on 14.05.2014 / 19:30
1
answer

jQuery unique, difference in Chrome and Firefox?

I'm having an unexpected behavior with unique of jQuery. The following command: var x = [1,2,1,2]; var y = $.unique(x); document.write(y); In Chrome it results in 1,2 (which is correct), but in Firefox it appears 1,2,...
asked on 14.05.2014 / 16:47
2
answers

Terminate a process in C # with WPF

I have a solution that has two projects. one main project and one that serves as an Updater. To perform the upgrade, within the main project, I call a console application as follows. private void Window_Loaded(object sender, RoutedEventArgs...
asked on 08.04.2014 / 14:27
2
answers

Integrating PayPal ExpressCheckout in PHP

For some time now I've been researching how to integrate PayPal into my online stores, the ones I build myself from 0 to the final stage of payment, but when I went to the PayPal website to find out more about the integration, (Name-Pair-Value),...
asked on 30.03.2014 / 22:34
1
answer

How to use fadeIn () with an append ()?

How to add the fadeIn () effect, along with an append (). EXAMPLE     
asked on 19.02.2014 / 23:36
3
answers

Convert date with timezone

new Date () in javascript returns me this format:    Tue Apr 01 2014 13:43:13 GMT-0300 (BRT) I need to convert this to a java.util.Date. For this I am trying to use SimpleDateFormat () but I did not find a pattern that worked, it always r...
asked on 01.04.2014 / 18:51
4
answers

Git merge between branches with submodules

I have a following mobile project. A repository where code is shared between multiple projects. I'll call this base repository. In the projects were created branches of this base repo because it was necessary to add a different submodule for...
asked on 06.02.2014 / 15:59
2
answers

Removal of comments in the HTML sent by the server

We all know the good old HTML comments: <!-- Oi, eu sou o Goku! --> The question is: Is there any way to exclude comments from the HTML that the server sends to the client? I think such a configuration is done at the server level (I...
asked on 05.03.2014 / 20:28