Questions tagged as 'primefaces'

3
answers

Upload a list of Enums

I have selectOneMenu like this: <p:selectOneMenu id="diminui" value="#{naturemb.nature.diminui}" effect="clip"> <f:selectItems itemLabel="#{naturemb.carregarAtributos()}" itemValue="#{naturemb.carregarAtributos()}" /> </...
asked by 18.11.2016 / 16:31
1
answer

p: editor primefaces tabindex does not work

In a .xhtml view I use p: firstfaces editor <p:editor id="idDescription" tabidex="2" > ... When the tab key is pressed, after being in field 1, tabindex="1", it will not go to the next one of the sequence, in that case it is idDescr...
asked by 26.10.2016 / 17:34
1
answer

How do I include a field in the PrimeFaces dataExporter that does not exist in the dataTable?

How to include a field in the dataTable of the dataTable (Primefaces) that is not in the dataTable? I am generating an Excel file from a dataTable with dataExporter, but I need to include a column that does not exist in the dataTable. This...
asked by 07.10.2015 / 19:10
1
answer

Why does JSF not recognize the component id in View?

JSF is not recognizing the "dialog-analysis" id that is in the view and is giving the error: FATAL: Cannot find component for expression "dialogo-analise" referenced from "frmAtividade:tab:itens-rh:0:j_idt275".javax.faces.FacesException: Canno...
asked by 05.10.2015 / 14:50
1
answer

Show preloader icon on site

I have a login page that calls a page to confirm the registration, in case the person has to open the email, get the code received and go to the confirmation page. The problem is that it takes a significant amount of time to call the screen to c...
asked by 21.02.2018 / 20:04
2
answers

Start with a f: selectItem already selected

I would like that when the menu is displayed "Option 1" gets selected, something like an html <p:selectManyMenu id="basic" value="#{selectManyView.selectedOptions}"> <f:selectItem itemLabel="Option 1" itemValue="1" /> <f...
asked by 14.08.2017 / 22:08
1
answer

Problems with p: selectManyCheckbox using Enum

Good evening, I'm doing a registration page but I came across a problem with p:selectManyCheckbox <p:outputLabel value="Nome" for="nomepa" /> <p:autoComplete id="nomepa" size="40" dropdown="true" value="#{cadastroListaBean....
asked by 18.09.2017 / 03:38
1
answer

How to save a csv using hibernate and mysql [closed]

I need to do the following routine: Read some information from the database; Generate a csv based on this data; Save this csv to the database; Start downloading this file to the user. I was able to do items 1 and 2, generating the f...
asked by 12.07.2017 / 16:00
2
answers

Image jsf java

I want to put an image on a JSF page, netbeans, but the page does not display the image. I'm calling the image in my code like this: <h:graphicImage library="resources/imagens" name="LojaRoupas.jpg"/> My project structure looks lik...
asked by 27.04.2017 / 03:34
2
answers

Line break in data from a list

I have a dialog that shows on the screen the data received from a list: <p:dialog header="#{zona.nome}" widgetVar="vendedores" minHeight="40"> <h:outputText value="#{zonaBean.getVendedoresPorZona(zona.id)}"/> <br /> </...
asked by 07.12.2016 / 20:12