All Questions

2
answers

How to copy a repeater on the same page

I have a repeater control with data filled in an aspx page, the same page has the modal, the modal appears at the click of a button. How do I reuse the same repeater to list in the modal? Repeat: <asp:Repeater ID="rptPagamentos" runat="...
asked on 29.04.2015 / 15:21
1
answer

Domain Modeling - Forms of payment

I'm modeling the sales part of my system and I came across the following situation. I have created a payment method record and the MONEY payment method is standard and can not be changed, deleted, etc. I use this form of payment in opening cas...
asked on 30.04.2015 / 18:50
2
answers

Targeting all traffic from root to sub folder results in error "403 forbidden" if it does not have "index.php"

The code below works perfectly to direct all site traffic transparently into the www folder: Options -Indexes +SymLinksIfOwnerMatch RewriteEngine on RewriteBase / # Verificar o destino RewriteCond %{HTTP_HOST} ^(www.)?example.com$ # I...
asked on 18.03.2015 / 12:41
1
answer

Creating Properties, Summary, and Custom Colors for Methods and Types

Is there any way or attribute that places it on a Class, Method, Structure, or anything else that changes its color? Example of function CType : Noticethatitiscolored,anditsargumentsinsteadofCType(Expression,TypeName)AsTypegetsCType(<ex...
asked on 07.05.2015 / 22:14
2
answers

Login to facebook using custom button

In a project I'm doing, I have to log in through Facebook. I'm already getting that, however, I only get this for LoginButton of the Facebook SDK itself using these methods: private static final List<String> PERMISSIONS = Array...
asked on 15.04.2015 / 18:26
3
answers

How to implement the method in Json using Serializable?

GET PUT DELETE POST I made a GET method, looked like this: using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Script.Serialization; using System.Web.Services; /// <summar...
asked on 18.05.2015 / 22:30
1
answer

Simple Django form

If I have in my model a class usuario , a phones and a class manager, which are one to one, like this: class Usuario(models.Model): login = models.CharField(max_length=50, unique=True) senha = models.CharField(max_length=50)...
asked on 03.05.2015 / 21:48
1
answer

Progress bar for slide jcarousel

// Carousel $(function(){ $(".peq-carousel").jCarouselLite({ bntNext: '.next', bntPrev: '.prev', visible: 7, auto: 3000, speed: 800, vertical: true }); }); // Barra Progresso function startbar(){ var barr = document...
asked on 22.02.2015 / 00:30
1
answer

How to implement a "one to zero" mapping?

The scenario is as follows: A user can have many or no comments on bulletins published on a system - obviously, a comment belongs to a single user. The problem is that Hibernate has no annotations of type @OneToZero or something simila...
asked on 12.05.2015 / 19:24
1
answer

Threads in Java

I have a multi-threaded system in Java that uses the ThreadGroup class that is deprecated. With my current implementation I also can not "kill" a thread in lock. How to implement efficient code to control Thread in Java? I ne...
asked on 13.03.2015 / 19:11