Posts by Michael Soares • 103 points
14 posts
-
2
votes1
answer581
viewsQ: Action <p:commandButton does not call Method in Managedbean
I am trying to call a method in my Managedbean, however the form is not submitted. Detail. I have a dialog that inside it I have some includes of other xhtml files, follows as this up to the moment…
-
0
votes1
answer146
viewsQ: Mount recursive function for Treetable
I’m trying to build a tree of folders and questions with Java, Jsf and Primefaces. I have two lists, one is the one that saves the folders and subfolders, and another list is the one that assembles…
-
0
votes1
answer603
viewsQ: Passing JS variable to Managedbean
I have a variable in js, and I need to send it to my Managedbean, which is the most correct way to do this?
-
6
votes2
answers229
viewsQ: Arraylist statement with type or without
I’d like to know the difference in declaring a ArrayList in this way: List<BancoPerguntas> listaBancoPerguntas = new ArrayList<BancoPerguntas>(); List<BancoPerguntas>…
-
0
votes0
answers207
viewsQ: Doubt JSF Dialog + Selectonemenu
Hello, I’m trying to open a dialog with a selectonemenu, depending on what the user selects. My Selectonemenu looks like this <p:column headerText="Mecânica"> <h:commandButton>…
-
0
votes2
answers103
viewsQ: Doubt in Selectonemenu Primefaces
I have a Selectonemenu in my xhtml view. I have an onchange in it that when clicking calls a p:dialog to fill out a form. Follow selectOneMenu <p:column headerText="Mecânica"> <div…
-
1
votes1
answer49
viewsA: sessionFactory null when trying to select in the database
thanks for the answer, I found the problem. I was forgetting the injection @Managedproperty("#{listPlanilhasDao}"). With this would come null always.
-
0
votes1
answer49
viewsQ: sessionFactory null when trying to select in the database
Good morning,I’m using Spring and JSF. I wanted to query the database and return the data from a table, but in the method I do the search, when calling sessionFactory, it is null. I really couldn’t…
-
0
votes1
answer241
viewsQ: Error running JSF project by eclipse
Good evening , I’m trying to run a project in the eclipse, but Tomcat is throwing me the following exception. Does anyone know what can be? fev 25, 2018 8:57:57 PM…
-
0
votes1
answer126
viewsQ: Image does not appear in the project
good morning, I am trying to put a pdf icon on my project, but it does not appear. I am using f:Facet this way. <h:commandLink> <p:graphicImage name="/resources/img/pdf.png"/>…
-
0
votes1
answer48
viewsQ: Error while listing data in Datatable
Good morning, I’m trying to make a simple listing of a table on a primefaces datatable, but they’re not listing anything. Follow code until the moment. .xhtml: <!DOCTYPE html PUBLIC "-//W3C//DTD…
-
0
votes1
answer72
viewsQ: Error executing JSF project
I am going up a jsf project, but give this error in the console. log4j:WARN No appenders could be found for logger (org.jboss.logging). log4j:WARN Please initialize the log4j system properly.…
-
0
votes1
answer611
viewsQ: Doubt in listing data from the JAVA database - JSF
Good afternoon, I have a doubt in listing data in a datatable, coming from the BD. I do not know how to return to the BD data view. Follow my code until the moment package…
-
0
votes1
answer81
viewsQ: Hibernate is not generating id to write to the bank
I am handling a xls file, so far so good. I can perform setters and getters normally. however in save to go to the bank, id is coming null and with that not recording in the bank. I will post my…