Posts by Renato Guedes • 76 points
5 posts
-
1
votes2
answers982
viewsA: Selectonemenu is not loaded when selecting object for editing
No need to update="Selcid" your status combo? <f:ajax event="change" render="Selcid" update="Selcid" listener="#{funcionarioBean.populaCidades}" />
-
1
votes2
answers844
viewsA: Memory Position Array
Create the image with the name img_01.jpg, img_02.jpg...img_99.jpg and uses a substring (I don’t know how it’s done in Assembly) to open the image that matches the number something like: "img_" +…
-
1
votes1
answer101
viewsA: Rest only returns XML
I found an answer at Stackoverflow International that you have to write your class down as follows: @XmlRootElement @GET @Produces("application/json") @XmlRootElement public class MyJaxbBean {…
-
-2
votes2
answers327
viewsA: How many times will the x variable be created at the end of the loop? Why?
10 times, i starts at 0 and goes up to smaller (<) than 10 ie 9 times i= 0 i= 1 i= 2 i= 3 i= 4 i= 5 i= 6 i= 7 i= 8 i= 9
-
1
votes3
answers45
viewsA: I can’t access the value
function main() { pegarBotao.addEventListener("click", function () { alert(parsepeso.value / Math.pow(parsealtura.value,2)); }); } or if you want to create the variables var pegarPeso; var…