Questions tagged as 'java-ee'

3
answers

How to use f: setPropertyActionListener with Passthrough Elements in JSF 2?

I'm using Passthrough elements in my JSF project, and I need to do something similar to this: <h:commandLink action="#{meuBean.acao()}" value="clique aqui"> <f:setPropertyActionListener target="#{meuBean.objeto}" value="#{objetoLo...
asked by 14.12.2015 / 21:11
2
answers

What is the behavior of the JSF 2 life cycle when validating mandatory fields?

I have a customer registration form with two fields, the first field is the CPF with mandatory completion and the second Name with optional fill. When editing a customer with CPF and Name filled in, delete both fields and click Save, JSF returns...
asked by 28.09.2015 / 13:53
2
answers

Why is jsf not recognizing listener in Bean?

Why is jsf not recognizing the Bean listener? My bean: /** * Listener que escuta a mudança do tipo de Solicitante * * @param event */ public void mudarSolicitante(ValueChangeEvent event){ logger.info("Novo objeto : " + event.getNew...
asked by 22.09.2015 / 02:51
0
answers

What to do when a p: dialog closes in less than a second?

I am creating one to edit a database client. It loads the data with the values of the attribute of the last object, but in less than a second it closes again. What to do? XHTML (customer datatable) code: <p:dataTable id="clientes" valu...
asked by 09.09.2015 / 01:09
0
answers

Problem rendering JSF page

I have a very "annoying" problem, yesterday I had a JSF system working perfectly with all pages opening correctly. When I log into the system today the page looks like this: NocomponentofPrimefacesorJSFisworkinganymore.Thisisthethirdt...
asked by 09.09.2015 / 14:45
0
answers

Exception while running project

I have a Maven project where I tried to add a newer dependency of JSF after these attempts the project always had errors. I created a new project and copied all classes, pages etc. Now every time I run this project the following ex...
asked by 05.08.2015 / 15:56
1
answer

Load a large volume of data into a dataTable

I'm having the following problem, I can load the data in my dataTable but it gets very heavy, even the IDE of a locked one. How could I fix this problem? I heard about Lazy but I did not understand how I can implement it. Listin...
asked by 04.08.2015 / 13:14
0
answers

Add new inputText to JSF page when you press a key

I have a form where I can have several registered codes, I would like to make only a inputText of start, if you need to enter more than one code I press a shortcut key and then another inputText appears below the first one and by t...
asked by 13.08.2015 / 22:12
0
answers

Problem opening a modal

I'm using a framework called BootsFaces and every time I try to open a modal from a commandButton the modal opens however it looks like this: Asyoucanseethemodalisnotenabled.buttonthatopensthemodal:<p:toolbarstyle="margin-top:...
asked by 10.08.2015 / 13:44
1
answer

Delete method is not called when I click on a commandButton

I have a delete button that is inside a column of dataTable and when I click on it the method that is responsible for the deletion of the user is not called. dataTable: <p:dataTable value="#{usuarioBean.listaUsuario}" id="usuarioT...
asked by 30.07.2015 / 21:07