Questions tagged as 'primefaces'

1
answer

Performance when generating a table in JSF

I'm having a question about how to improve perfomance when generating a table on a page using components JSF and Primefaces . I am generating a table, after doing a SQL query and mapping the object using Hibernate ,...
asked by 09.11.2015 / 17:53
1
answer

Placing an image as a background in the firstfaces

How do I put a background image in primefaces . I've tried some shapes but none worked. The closest to a good result I got was using <p:graphicImage/> however when I minimize a menu or do a search in the table the image does n...
asked by 05.06.2015 / 22:43
1
answer

Do not display another row in the table when status equals "Canceled"

I have a <p:dataTable> that is populated by data that is in a .xml file and I have in front of each line a button to end or cancel the process. How do I not to display more in my DataTable the process that was canceled...
asked by 08.06.2015 / 22:15
1
answer

How to pass data from a row from DataTable to a Dialog in PrimeFaces

I have a DataTable in which I have multiple data and a select button. When I click on the select button I call a Dialog with a few more fields. I would like to click on the select button to get the object data and fill in the fields of this Dial...
asked by 03.06.2015 / 16:25
1
answer

Exception p: ajax Unable to attach behavior to non-ClientBehaviorHolder parent

I'm using JSF, PrimeFaces in my Java EE project. When I use the PrimeFaces component the orderlist , it returns me an exception on the screen and I do not know what exactly it is, it happens the moment I put the <p:ajax> tag. Could...
asked by 30.06.2015 / 14:49
2
answers

Strange page after adding Primefaces

After adding the dependencies of the Primefaces the project ignores my page /home.xhtml that is in the xml and shows a url /javax.faces.resource/theme.css.xhtml?ln=primefaces-aristo every time I run the project. Does anyone know...
asked by 24.03.2015 / 14:25
2
answers

How to get the description of an Enum in xhtml?

I need help to solve a situation with an Enum class together with the demoiselle framework. Eg: I have this class: ButIwouldliketoseeinmycomboboxthedescriptiveEx.:OrdinaryLaw,notLEI_ORDINARIA.Seetheimagebelow: ok you should have thought, ah m...
asked by 06.02.2015 / 17:59
2
answers

Database image displayed in primefaces does not appear

I'm implementing a page where I need to display a datagrid with the values of a table in the database. Each row in the table has a blob-like image. But when you try to display the image with the primefaces by the:: tag, it does not appear....
asked by 21.07.2014 / 21:14
2
answers

Dialog disappears after being opened

I'm using a primefaces dialog: <h:form> <p:dialog widgetVar="dialog" modal="true" resizable="false"> <p:outputLabel value="Mensagem qualquer."/> <p:commandButton value="Botão 1" action="#{chama um métod...
asked by 15.11.2014 / 23:10
2
answers

Selected item in p: selectOneMenu gets null in listener

I have a p: selectOneMenu, with data coming from the database, inside a p: dialog, along with a p: messages and other fields. I want to execute an action (Display some messages) when selecting certain option in p: selectOneMenu, but I get a null...
asked by 02.01.2019 / 20:04