Posts by Romulo • 825 points
21 posts
-
2
votes2
answers349
viewsA: Checkbox Switch - One of them must be marked as true or 1
I ran a test using your fiddle de exemplo and I believe I’ve identified the problem. Find the statement below in your CSS file: .material-switch > input[type="checkbox"] { display: none; } Make…
-
0
votes3
answers3583
viewsA: Get input sum value with Jquery
Complementing the responses of the other collaborators, below follows an example making use of the methods map and reduce of the object Array. function extrairValor(elemento) { return…
-
2
votes1
answer1227
viewsA: How to load a CSS file dynamically in jQuery?
If jQuery is not possible, and Javascript as I do? jQuery is a framework javascript. His purpose is to make what can be done in simpler javascript. Whether it is possible in jQuery then it is…
-
1
votes1
answer243
viewsA: Manipulating a JSF + Primefaces datatable
How do I make the datatable only appear after I click Reply Simulated? One way is to use the attribute rendered available in the component datatable (and virtually all JSF components). Attribute…
-
1
votes2
answers1558
viewsA: How to fix search box on menu?
The elements div and form have the CSS property display: block by default of the browser. Follows a definição of that property: The block element always starts in a new line and expands left and…
-
1
votes1
answer355
viewsA: Primefaces - Is it possible to change the chartline chart color?
You can customize almost all elements using only CSS statements. Try it this way: canvas.jqplot-series-canvas { background: rgba(65, 143, 199, 0.11); } I made an example using the showcase do…
primefacesanswered Romulo 825 -
2
votes3
answers1392
viewsA: Create variable from string
Follow a simple example: var chave = 'valor'; window[chave] = 'valor'; document.write(valor); // valor = valor…
-
0
votes2
answers235
viewsA: Jquery does not direct to another page
Although you have already found your answer, I believe there are several simpler ways to get the expected result. To How are you already making use of the Bootstrap, follows an information available…
-
1
votes2
answers1831
viewsA: Problem placing a background image in only one view
The simplest solution would be to assign the CSS property background-image directly on the tag body. How do you have an interest in defining a background specific to your view login, one of the…
-
3
votes1
answer689
viewsA: JSF ui:Composition component does not work
In his template main, you declared an HTML element div#conteudo and defined that the JSF will render an area identified by name corpo inside this element, as it can be checked in the file…
-
1
votes3
answers208
viewsA: How to resolve vertical centralization bug in Firefox?
Here is a suggestion to solve your problem: .o-hero { background-color: #25385f; color: #fff; height: 30rem; position: relative; text-align: center; } .o-hero-wrapper { display: table; width: 100%;…
-
1
votes2
answers493
viewsA: Why is my Bean not getting the form Ubmit?
Taking into account that you are using the framework Primefaces, I also suggest that you study the following topic: Ajax Framework - PFS. It is an implementation that allows processing (process) and…
-
5
votes2
answers1382
viewsA: Dynamically change style through JS
I need to change the fill of the bar as a function of time. In case, I need to change the width of the Progress:after. How can I do this? Cannot directly change the style of a pseudo-elemento, as is…
javascriptanswered Romulo 825 -
7
votes4
answers127
viewsA: mount a regular expression
Follow an example: var array = [ 'http://exemplo.com', 'http://exemplo.com/ola', 'http://exemplo.com/ola/', 'www.exemplo.com/ola/mundo/javascript', 'www.exemplo.com/ola/mundo/javascript/' ];…
-
1
votes2
answers2436
viewsA: Pass object array via javascript to the controller
How can I have access to each of the objects in the array on the Controller side? To answer your question, let’s take a closer look at the situation presented. a variable of the array type named…
-
1
votes2
answers112
viewsA: java.lang.String cannot be cast to com.sisEnade.tcc.modelo.Questao
good afternoon. I have the following error: java.lang.String cannot be cast to com.sisEnade.tcc.modelo.Questao Your problem is you’re really trying to turn one string on an object of the type…
-
8
votes1
answer23199
viewsA: How to put project in Bitbucket?
Let’s assume you’re working with a previously created GIT repository that already contains some files. Step 1 - Synchronizing the repository Choose any folder from your system and type: git clone…
-
6
votes3
answers777
viewsA: Why is the result of the textbox disappearing after the click?
Your problem is the attribute href of the person responsible for calling the function calcularIMC(). It follows the element that is causing this behavior: <a href="" onclick="calcularIMC();">…
javascriptanswered Romulo 825 -
4
votes3
answers21104
viewsA: Wait x seconds and show a Ubmit
Is there any of when a user enters a page, Javascript wait 20 seconds and after waiting those 20 seconds show a real-time Submit? To perform a function after a certain time, use the function…
javascriptanswered Romulo 825 -
2
votes1
answer121
viewsA: Jquery mobile duplicating elements
When asking a question in Stack Overflow, always try to reference the Resources (javascript, css or images) through a CDN to facilitate the reproduction of the error. Another option is to use some…
-
5
votes1
answer835
viewsA: Internationalize web app with jQuery i18n plugin
To make the code execute and perform internationalization it is necessary to invoke the function $.i18n() the desired elements. To use in a generic way (in all elements with the date-i18n…