Questions tagged as 'primefaces'

1
answer

JSF page displaying object reference value

Good evening. I have a page in JSF called simulate.xhtml where I implement a filter to generate the simulation and I'm also trying to display results of the database that have already been filtered on that same page , but as a result I get t...
asked by 14.10.2015 / 06:47
1
answer

Login by hyperlink with username and password in email with JSF and Spring Secutity

I have a system in JSF (with primefaces) with spring security. When the user registers, he receives an email with a username and password. Ok - It works. However, I would like to send in the body of the email a hyperlink where the user cou...
asked by 24.03.2017 / 15:00
2
answers

Add field when clicking button

I am developing a customer registration project, in a form using PrimeFaces I would like to click on a button and with this make an inputText appear, if I click again, another appears and so on. Is this possible with jsf and primefaces? The i...
asked by 21.09.2015 / 21:41
2
answers

Primefaces, button requires two clicks to perform action

When I execute the code below, I have to double-click the button so that the delete action happens, I saw many with similar problems, but no effective solution: <h:form id="TablePais" prependId="false" > <p:dataTable id="tbPa...
asked by 01.04.2014 / 02:32
1
answer

Primefaces DataTable Lazy - Table does not display records

I'm creating a lazy datatable, but although the load of the class is loading the records correctly, the table remains empty. XHTML: <p:dataTable value="#{chamadoMB.chamados}" var="c" paginatorTemplate="{RowsPerPageDropdown} {FirstPa...
asked by 13.12.2013 / 14:10
2
answers

Prevent browser autocomplete [duplicate]

Is there a way to prevent, through code, the browser from making suggestions for filling in the login form? Is that the system will be used in laboratories and would be annoying the browser to suggest all previously registered CPF. In addit...
asked by 22.02.2018 / 19:40
1
answer

How to override CSS from PrimeFaces added via Maven?

I'm using MegaMenu in my project, but its options are much larger than the width of the columns of this component, so the menu options go beyond the area intended for them, which looks really ugly. I added primefaces via Maven. How do I chang...
asked by 11.02.2016 / 23:58
1
answer

How to get quantity of items from an ArrayList?

I'm trying to count how many items it contains in a ArrayList , I already have something ready: private int quantidadeN = listaNotificacaos.size(); It should save the amount inside the variable quantidadeN , but when I play the...
asked by 20.06.2016 / 20:47
1
answer

Conditional validation on PrimeFaces component

Hello I have the following problem. I have the inputText description which is disabled by default. When I click the browse button, it enables inputText and then instantiates an object to search. If I do not pass a filter in the inputText desc...
asked by 20.08.2015 / 21:47
3
answers

Template and Themes for JSF / Primefaces

I would like to ask a question and I believe it is very simple. There are a wide variety of templates for AngularJS, WordPress and etc. In the same site as Primefaces, there are themes such as Modena, Sentinel, Spark and others. I was searchi...
asked by 20.08.2015 / 02:04