Questions tagged as 'jsf'

1
answer

Redirect page JSF

I have a SessionScoped bean that I use to navigate data from page 1 to page 2. Page 1 is accessed from the menu, page 2 is accessed by a button inside page 1 where some filter-based data is loaded this first page. My question is this: Should the...
asked by 09.10.2015 / 19:10
1
answer

Why does the dataScroller of primefaces stop fetching the records?

My xhtml looks like this: <p:dataScroller ajax="true" id="listaDiarios" chunkSize="3" lazy="true" value="#{managedBeanUsuario.lazyRegistrosDiarios}" columnClasses="first-letter-page-diary,second-letter-page-diary" var="re...
asked by 28.11.2015 / 21:52
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
0
answers

Boolean component and rendered components do not appear on my page

Galera! Good Morning! I'm having a hard time here with JSF (it has to be this technology as it's the one I'm currently studying at home) I am having problem to set boolean component values and render form view according to type. The two situatio...
asked by 17.11.2015 / 15:25
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

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

Scope of update for p: ajax and validation

I need to change the value of the input LevelNo to 0 and the input factoryCode is disabled, otherwise nothing should happen. I have the following code: <p:inputMask id="LevelNo" size="4" maxlength="9" mask="9?99999999" slotChar=""...
asked by 09.12.2015 / 21:44
0
answers

Omnifaces SelectItemsConverter does not reflect object values on screens

I'm using the selectOneMenu component with the omnifaces converter. When I save my object in the database it works fine, but when I restore the information, it does not reflect on the screen, that is, the selectOneMenu component...
asked by 06.10.2015 / 17:07
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