Questions tagged as 'primefaces'

1
answer

JEE Development and PrimeFaces

I'm following an Algaworks online course in JEE with PrimeFaces using Eclipse and Tomcat. When I start the application in Tomcat, it gives the following error: GRAVE: Critical error during deployment: java.lang.NoClassDefFoundError: javax/ent...
asked by 20.08.2015 / 23:32
2
answers

java.lang.String can not be cast to com.sisEnade.tcc.modelo.Questao

Good afternoon. I'm having the following error: java.lang.String can not be cast to com.sisEnade.tcc.modelo.Questao However, I could not resolve the error. The purpose of the implementation is to create a filter, to bring to the user que...
asked by 12.10.2015 / 19:08
1
answer

How to inform downloadable PDF file name using IText / Lowagie and Primefaces?

I am able to download the generated file, but I can not name it or .pdf, only download as index.xhtml . Does anyone know how to handle this? I call the method to generate the PDF like this: <h:body> <h:form>...
asked by 08.08.2015 / 22:12
2
answers

confirmDialog does not work

I have an delete button inside my dataTable , but every time I click on it confirmDialog does not appear. I'm doing the following: <p:column style="width: 100px; text-align: center"> <p:button icon="ui-icon-pencil...
asked by 22.06.2015 / 14:38
1
answer

JSF calendar with datatable having data from different lists

I'm making software in JSF (2.2), primefaces and JPA with Postgres bank. I need to make a schedule of accounts payable with the following columns and their data: Column before yesterday with data: due date, vendor and value. Column yesterday wit...
asked by 26.06.2015 / 14:40
1
answer

Event update in component "p: commandLink" does not render

I have datatable displayed within Dialog primefaces , when I click on commandLink of the line I want, I want to get this value and render it within inputText of my screen, but I'm getting the% following error in my...
asked by 21.04.2015 / 03:39
1
answer

Turn 3 CSS classes into one

I have these 3 classes css , and would like to know if it is possible to transform into one, it would be used in panel grid of Primefaces .panelGridCenter { margin: 0 auto; } .gridNoBackground tr{ background: trans...
asked by 30.04.2015 / 15:44
1
answer

Update an h: database outputText from a p: autoComplete

I have a health care application and I have the following question: When I use the p:autoComplete component of PrimeFaces to search for the name of the patient that has the dataNascimento attribute, I want the h:outputText to rece...
asked by 14.04.2015 / 14:08
1
answer

Background image does not appear when I run the project

I have a JSF + Primefaces project and I have a css that puts a background: <h:body style="background-image: url('../images/textura.jpg');"> When I run the page it works perfectly, but when I give a run in the project the image do...
asked by 10.06.2015 / 20:11
2
answers

Why does not Tree come with a value, but with the name of the object in memory?

Error image Managed Bean package com.algaworks.erp.controller; import java.io.Serializable; import java.util.List; import javax.faces.view.ViewScoped; import javax.inject.Inject; import javax.inject.Named; import org.primefaces.model.D...
asked by 06.04.2015 / 15:55