Posts by user3096136 • 125 points
6 posts
-
5
votes1
answer5783
viewsQ: Conversion of Dates to Mysql database
Hello! Well, I’m using xhtml and primefaces. On my xhtml page, I have a field for date and use the converter to save in the database, I have a problem with the day. If I want to save 30/04/1989 In…
-
1
votes1
answer358
viewsQ: Going to a particular tab
This is my menu: <p:menubar> <p:submenu label="Clientes"> <p:menuitem value="Cadastro" action="#{nomeBean.cadastrar} outcome="funcionario.xhtml" /> <p:menuitem value="Consulta"…
-
2
votes1
answer725
viewsQ: Problems with selectOneMenu
I have a table and in this table I have the option to edit. Clicking on the edit option opens the dialog and all fields (columns) of the current row I want to edit are filled in. A list is loaded on…
-
1
votes2
answers1859
viewsA: Error occurs when performing resource injection into the bean
The resolution of that was: In the manufacture of connections, specifically in the method, put the following command (although my version of Java is 7): DriverManager.registerDriver(new…
-
1
votes2
answers1859
viewsQ: Error occurs when performing resource injection into the bean
Bean: package br.com.drogaria.bean; import java.sql.SQLException; import java.util.ArrayList; import javax.annotation.PostConstruct; import javax.faces.bean.ManagedBean; import…
-
2
votes2
answers77
viewsQ: How to leave the fields with the same style?
I don’t like to keep repeating code and I believe there is a way to leave, for example, two fields or more with the same style of formatting: Down below I got two EditText they have something in…