Questions tagged as 'primefaces-5.2'

1
answer

How in the xhtml commandButton to identify that an error was generated in Dao and keep navigation on the same page?

In the xhtml page on a commandButton I call the action confirm () to confirm the recording of an object. The return of this method is a string directing to a new page. <p:commandButton id="botaoSalvar" value="Confirma" update="msgs" action=...
asked by 04.07.2016 / 15:12
0
answers

Problem to convert with composite key in jsf, selecttonemenu

I'm doing a selectOneMenu where the itemvalue will be a compound key. Which will be separated by hyphen. However at the time of sending, the method getasobject is called several times, sending all items from my selectonemenu and not just the sel...
asked by 29.11.2017 / 17:14
1
answer

Tomcat v8.5 does not boot, displays error: Child container failed during start

I'm doing a college work, a simple crud with JSF2, Hibernate, Primefaces and CDI. But at the moment I'm going to start the project in Tomcat I get the following error: GRAVE: A child container failed during start java.util.concurrent.Execution...
asked by 27.08.2017 / 19:01
1
answer

I make the verification of 2 more dates is persisting

I have a form, and before saving I want you to do a check that in this case would be two dates. However, when a check is made, it will send a message until it is OK. More ends up appearing another referent who managed to persist and ends up savi...
asked by 30.03.2017 / 19:13
1
answer

problem using modal Primeface

I'm using a modal within the But when I close, it gets stuck components, I guess I must have done something wrong. Follow my code. <ui:composition template="/WEB-INF/template/layoutPadrao.xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns...
asked by 02.04.2017 / 23:51
1
answer

updating filling information after using autoComplete

I'm creating a form in JSF and primeface, and I have an autoComplete here. Only when I finish filling up my autoComplete, I want to render a part of my form. So far I have been able to hide the fields, which in the case would be the panelGrid...
asked by 22.03.2017 / 21:10
1
answer

I have 2 problems when trying to submit the form

Well I'm having a little problem here on my form, in reality it would be 2 problems. 1 - I'm using an autComplete, so I can get my object through the search, but at the time of submitting my form it simply deletes what I had completed. 2 -...
asked by 22.03.2017 / 23:51
0
answers

NullPointerException when displaying entire list in DataTable with PrimeFaces

I need to display all the data in the list in the DataTable using PrimeFaces, but by changing the size of the rowsPerPageTemplate to 300 the data is displayed on the screen, but the filterBy and data editing functions stop working. p> The foll...
asked by 25.07.2016 / 20:33
0
answers

Problem with datatable edit with inputNumber extension

I am trying to use datatable with edit with inputNumber of extensions, but when changing, the value is not sent when pressing enter. I took the primefaces example link to do the tests. I just changed the type year to bigdecimal to run with inp...
asked by 27.12.2018 / 20:40