Questions tagged as 'primefaces'

0
answers

Display confirmation dialog before closing tabview of the firstfaces tab

I'm developing a web application in jsf that I need to work with tabs (similar to chrome). For that, I'm using the tabview component of primefaces that has been very useful so far. The problem is that I need to display a closing commit dialog...
asked by 04.08.2017 / 15:16
1
answer

ConvertNumber of JSF negative values

Negative monetary values, when using the native JSF converter, <f:convertNumber type="currency"/> , are left with the character ' - ', before the R $. For example: -R$ 56.134.726,99 .xhtml <p:column>...
asked by 23.08.2017 / 18:29
0
answers

Run search update on button

My search field updates a selectManyMenu whenever something is typed in it <p:inputText id="txtFiltroOrgaoDestino" value="#{mBManifestacao.txtFiltroOrgaoDestino}" style="width: 350px"> <p:ajax update="slcUnidadeTramite" event="key...
asked by 16.08.2017 / 21:44
0
answers

how to use query with more than one field (.vo template) in a datamodel

I have the following query and am wanting to put this list with products and the summation in a datamodel list. public List<Filtro> listarProdutosDoGerenteRegional() { try { return manager.createQuery(...
asked by 28.06.2017 / 18:00
0
answers

Display database image in dataTable

I saved an image in the database and want to display it in a dataTable PS: I know that it is not good practice to store image within the database, this practice was done for study purposes. <h:form style="margin:auto;margin-left:2%;"...
asked by 14.06.2017 / 18:27
1
answer

Calculate the total Sales Revenue

I have a query page that shows the total revenue for each product and I want to calculate the total sum of the revenue but the account is going wrong. The correct doing the sum in hand gave 264,660.00 and doing in java gave 18,830.00 link...
asked by 18.07.2017 / 21:06
0
answers

Menu Toggleable Primefaces

I have the following code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://ja...
asked by 04.07.2017 / 17:14
0
answers

Record student's frequency in the database [closed]

I have a school management system, where I plan to add a choice of teachers to add the student's frequency. I am thinking of creating a transaction, where, each teacher accesses, the page that will have: A field for the teacher to inform the CPF...
asked by 31.05.2017 / 17:11
1
answer

Put dynamic theme PrimeFaces [closed]

I have two templates in my web project. I want to use a different PrimeFaces theme for each template. How do I do this? No web.xml , when I put the theme of PrimeFaces it changes to all templates, but I want each template to have a t...
asked by 08.05.2017 / 19:56
0
answers

Passing data from one view to another

I'm trying to implement the following function, when the user clicks the edit button, it would send to the "create" page only that populated. but when I try to do this, it sends but nothing. In my xhtml is like this <p:commandButton valu...
asked by 16.05.2017 / 16:36