Questions tagged as 'primefaces'

1
answer

dynamic message from p: confirm - Primefaces

Can anyone tell me how I can change the message of <p:confirm> ? When I click the button I want the value of message to be returned by method messageCount() . ... <p:outputLabel value="Teste:" />...
asked by 10.07.2015 / 21:26
1
answer

How to limit the amount of characters in an inputNumber?

I'm using the Primefaces extension to format an input of a person's weight and height and I could not. How do I limit the amount of characters entered in input ? I tested it with maxlength="5" but it did not work: <pe:inputNumb...
asked by 24.10.2015 / 13:45
2
answers

How to edit a database value using JSF?

I'm trying to edit a database record using JSF. The logic is simple, there is a list of clients, and by pressing the edit button in front of each client in the list, a form opens, with inputTexts loaded with the current values, and when editing...
asked by 07.09.2015 / 20:36
1
answer

Logic to inhibit registration permanently

I have a "problem" and I can not think of anything to solve it so I would like your help. I have a desktop system that is the intermediary between the server and my web system. This desktop system makes two queries in the database every hour and...
asked by 09.06.2015 / 13:41
1
answer

How to export footer correctly with primefaces extensions

Use JSF 2.2 and Primefaces 5.0 Using the primefaces Extensions to export, in single excel file, three tables of a system, I am having problem with the information exported: The footer of tables with dynamic columns, rendered in page as treate...
asked by 26.05.2015 / 18:18
1
answer

p: dataTable with variable column quantity

Good evening. Does anyone know if it is possible (and how to do it) to create a dataTable of primefaces whose number of columns is variable? For example, imagine two cases, A and B. In set A I would create 3 columns. In B, I would only cre...
asked by 01.06.2015 / 02:15
1
answer

Page does not load components Primefaces

My page is not loading the components of Primefaces, in this case a dataTable. The final result is this, both in chrome and in the Eclipse browser itself: Hereismycode:Marks.xhtml<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN"...
asked by 08.12.2014 / 18:23
1
answer

Problem upload image with more than 10mb primefaces

Guys, I'm going through a pretty annoying and seemingly simple problem and I have not found a solution yet, can anyone help me? I am using the upload of primefaces and it simply does not upload files larger than 10mb ... A 9.9mb file goes normal...
asked by 10.12.2014 / 17:05
1
answer

JSF does not find component ID

I have something like <p:panelGrid id="tabelaUm"> <h:form id="formUm" rendered="#{condicao ? true : false}"/> <p:commandButton action="#{condicao = false}" update="formUm, formDois"/> </p:panelGrid> <p:panelG...
asked by 15.11.2014 / 16:51
1
answer

Method not found:

When I click the save button to execute the method, the following error appears in the console: Jan 15, 2015 4:12:26 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute Advertência: Method not found: validacaoAjax.FuncionarioBean@37f7dcb...
asked by 15.01.2015 / 19:20