Posts by Paulo • 97 points
6 posts
-
2
votes1
answer627
viewsA: <f:setPropertyActionListener does not work
Leave these two lines of your xhtml page this way to see if it still returns null in the string. <p:commandButton value="Deletar" style="color:red;" action="#{mensagemBean.deletar}">…
-
1
votes2
answers362
viewsA: Is it possible to store user inputs by the Scanner Class in a database?
You can create an object of the User type and fill it with the information that comes from Scanner, can be in the constructor of the user class itself or by the methods set class. And then create a…
-
-1
votes1
answer70
viewsA: Tomcat JSF 1 Error with f:convertNumber
Maybe the problem is that you are setting the value = '1.793' in an integer type field, but jsf already has a default converter for the Integer type that in this case would not need to specify.…
-
0
votes2
answers331
viewsA: String Statement
You can declare and initialize the two-dimensional string this way: private string[][] soloMarciano = {{"a","b"},{"c","d"}}; or declare and initialize it so: private string[][] soloMarciano;…
-
6
votes1
answer933
viewsQ: Horizontal scrollview of a Textview automatically slide when inserting dynamic texts
I have a layout simple according to the shown below that it has a ScrollView horizontal when exceeding the limit of TextView. But I would like when inserting text the focus of TextView was always at…
-
0
votes3
answers2209
viewsQ: map in C works?
I would like to know if it is possible to use map in C. I know it works in C++, but in C it always gives build error. If someone has already used map in C, it could show me how to use? #include…