Questions tagged as 'jsf-2.2'

1
answer

Object comes pro bean with all fields blank JSF

I have a list of object objects that is being iterated in my xthml There, for each iteration, I create a panel and in each panel I display the name of each of the properties in the list and a button that calls a method loadPredio in the Bean. Th...
asked by 30.11.2017 / 17:40
1
answer

JSF error: javax.el.PropertyNotWritableException

I have an error that I can not solve and I do not know the reason for the following error and my classes and view below. type Exception report messageInternal Server Error descriptionThe server encountered an internal error that prevented it...
asked by 30.11.2017 / 21:19
1
answer

What is the difference between actionlistener and action?

What's the difference between actionListener and action ? When to use one or the other? <h:commandButton action="xxxx" actionListener="zzzz" id="teste"/>     
asked by 25.11.2016 / 16:55
2
answers

UTF8 issues in postgres

I have a JSF project with JPA, Postgres 9 bank The information with acendo is being recorded with problems in the accent.    Shark records as Shark The Bank is with:    Ecoding = UTF8   Collation = English_Brazil, 1252   Character...
asked by 17.08.2016 / 19:03
1
answer

Insert arrow into an input submit for when jsf rendering appears on the button

I've done a whole layout in HTML5 and I have a "next" button where I have an arrow in it, however the developers are doing it in JSF and rendering < in> commandButton becomes a input type submit and the arrow no longer appears. Does...
asked by 22.04.2016 / 18:59
2
answers

dataTable primeFaces shows the correct number of records but does not show the fields

I have a problem that I can not solve if you can help me thank you. In short, it is a prototype of an invoice record with notabiscal items, I can insert the records through a dialog, the table shows that the records have been inserted in the...
asked by 26.10.2015 / 10:40
1
answer

generic styleClass in table

I'm putting together a table and I wanted to know the following: I want to put a css style in the column headers, do I need to use a styleClass in each header or can I declare a generic for all headers? <p:dataTable styleClass="tabela">...
asked by 23.10.2015 / 15:13
2
answers

Gives success message that saved, not error message, but in bank is not saved - jsf

My code is giving success message in saving the record, but in reality it is not saving, I already checked the database, it is not generating error message, and it shows the code is all right, what will it be What happens if this happens? My...
asked by 05.10.2015 / 13:27
1
answer

How to start in a certain tabindex (primefaces) tab?

How do I display one on a given tab? I tried to use tabIndex="#{meuBean.tabIndex}" setting to 0,1,2 and etc, but when opening it it always positions itself on the first tab.     
asked by 05.10.2015 / 19:42
1
answer

Line break in message from p: confirm Primefaces

I'm not able to implement the line break in the following code: <p:confirm icon="ui-icon-alert" header="Confirma a alteração do Status" message="Tem certeza que deseja alterar a Situação do Candidato? O reenvio no período de 6 m...
asked by 24.11.2015 / 13:51