All Questions

2
answers

JAAS or Spring Security in page control

I'm doing a project in Eclipse with JSF 2.2, JPA 2.1, Hibernate 5, Primefaces 5.3, CDI (weld 1.1). I want to implement the security part of the application and I am in doubt between JAAS and Spring Security. The template below corresponds...
asked on 01.12.2015 / 14:30
3
answers

Algorithm to distribute entries in an encyclopedia based on number of characters per day

I have generated a list of entries in an encyclopedia and I want to find the best way to separate the entries so that I choose a number of days and I have a schedule of which entries I read per day. (The list is here: link ) The first ite...
asked on 12.05.2017 / 22:24
2
answers

What are the Types of IoC?

Reading the "Pro Spring Security " book by Carlo Scarioni from Apress Publishing, issue 2013, I came across the following text that left me confused about IoC:   The basic idea of DI, a type of Inversion of Control (IoC) , is simply that i...
asked on 07.07.2015 / 02:57
2
answers

Selectize.js with Tags, reload key and value in edit form

   I asked the same question in SO Gringo too . I'm doing a search form ( action=GET ) where a field uses Selectize.js: $("#selectize").each(function () { $(this).selectize({ plugins: ['remove_button'],...
asked on 07.12.2015 / 18:46
1
answer

What is the use and how to use the "display: contents" of CSS?

Recently I saw that there is a new type of display in CSS display: contents , but I did not understand its intention to use it? link It seems to be just to remove the CSS from the container ... But is that what it's all about...
asked on 20.12.2018 / 13:55
1
answer

Pseudo elements :: after and :: before work in which input types

I would like to know if there is any documentation or article that says where exactly we can use ::after and ::before I have already seen that in the <img> tag, for example, it does not work. I believe it does not w...
asked on 14.12.2017 / 18:53
2
answers

Does Google index images in SVG (inline) or Base64?

I was thinking of turning a website logo into SVG, but I was thinking of using it in direct inline as a code inside the <svg> tags.
asked on 20.09.2018 / 18:28
1
answer

How to unify redundant namespaces of an XML?

I have the following XML: <?xml version="1.0" encoding="UTF-8"?> <DataTable> <Columns> <DataColumn xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <ColumnName>NomeColuna1</ColumnName>...
asked on 14.01.2014 / 14:50
3
answers

How do I set a max-width to a div that increases and decreases proportionally?

My% w / w that increases or decreases proportionally is in the style of: padding-bottom: 75%; Look at this example: JSFiddle What I want is that the div that grows proportionally will lock the size when it hits the footer. If...
asked on 06.02.2014 / 15:09
2
answers

View player in the Android notifications area

I created an application that transmits a Streaming of the radio, but if I "minimize" the application it continues to play. So I'd like to know how I can get you to open a box on Android's notifications list, like the Play Music Ijust...
asked on 18.09.2015 / 23:40