Posts by sheldonmera • 101 points
8 posts
-
2
votes1
answer286
viewsA: How to update a form with ui:repeat without duplicating oc fields in jsf?
Just set a new address array in the method. endereco = new ArrayList<>():
-
2
votes1
answer286
viewsQ: How to update a form with ui:repeat without duplicating oc fields in jsf?
I’m having a problem with my ui:repeat components, I want to update and not repeat the components, have as? my form: <h:body> <h:form > <h:outputLabel class="col-sm-2 col-sm-2…
-
2
votes1
answer194
viewsQ: List coming with null value
Well, the thing is, I have three methods that are called init() of my Bean, only one works and the other 2 comes as null, I’ve already debugged and in my Product the data is correct, but when I…
-
0
votes0
answers152
viewsQ: Form with null values
My Vies is coming with only one null form, while the others are with the correct values here is my view: <h:head> <title>Novo Cliente</title> </h:head> <h:body>…
-
0
votes2
answers167
viewsA: Use of the database connection class
I made a class for connection and select what I needed so: import br.com.ofertacidade.model.dominio.Endereco; import java.sql.Connection; import java.sql.DriverManager; import…
-
1
votes2
answers167
viewsQ: Use of the database connection class
It seems to be a silly question but come on, I have some tables in my database and I need to query them, but they are not @Entity, I did not create the sources, the only way to do the queries would…
-
1
votes1
answer156
viewsA: Null Pointer in Part filetype when upload
It really was the version I was using I traded my dependencies : <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId>…
-
1
votes1
answer156
viewsQ: Null Pointer in Part filetype when upload
I have a purpose using the javax.servlet.http.Part. It is coming null when I upload. XHTML of the test <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml"…