Questions tagged as 'jsf'

1
answer

p: inputText is not updating

I have in the following code, a form that works for both change and to add an entity. The logic is as follows, I have a alteracao variable. If alteracao == true the form will behave to change If alteracao == false t...
asked by 29.09.2017 / 19:45
1
answer

Repeated ID with facelets

The problem is that in a project that I use facelets is telling me that there is a component with the ID repeated. Although I have scanned the code behind finding that ID repeated, I did not find it, so I believe the error is related to the inco...
asked by 09.08.2017 / 14:43
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
1
answer

help with JSF code

In the system that is being developed the part of register has the following error when saving    /estado/editaestado.xhtml @ 13,134 value="# {ControlState.Name.Name}": Target Unreachable, identifier 'StatusControl' resolved to null The v...
asked by 26.08.2017 / 03:15
1
answer

Loading in steps for application index page

I have a commercial application that has an extremely time consuming login for the user. The connection to the Database to validate user and password, as well as the initialization of Spring Security take around 0.8 seconds, which is great. T...
asked by 22.07.2017 / 04:06
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
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