Questions tagged as 'primefaces'

1
answer

Edit datatable record

Next staff: In my datatable when I click the edit button, it is not opening the edit screen. Can someone help me where I'm wrong? page:                                                                                                     ...
asked by 05.06.2016 / 17:23
1
answer

JSF + Primefaces update component when exchanging pagination

<p:dataList paginator="true" value="{bean.lista}" var="lista"> </:dataList> <h:outputText value="qualquerCoisa" id="teste"/> How do I update the outputText 'test' every time the dataList page...
asked by 13.07.2016 / 00:39
2
answers

PrimeFaces JSF - p: commandButton for update and oncomplete

I am trying to make a orderList and am having trouble setting the attributes in the commandButton update and oncomplete tag. I also do not know what their function is, but I know it does not work right if not configured right. Would someone clar...
asked by 04.05.2016 / 13:16
1
answer

Error trying to save record to bank

After completing the form and clicking Save, the following error is occurring: mai 20, 2016 7:14:52 PM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError GRAVE: javax.el.PropertyNotFoundException: /web/crud/cadastrar-hab...
asked by 21.05.2016 / 00:20
1
answer

Render component after clicking button

I have a Yes / No button. I would like to click on Yes to render an element below. As the example in my page: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR...
asked by 20.05.2016 / 23:24
1
answer

Tree Selection PrimeFaces

I want to make a feature in the application that lists folders and files in a directory, so I thought about the Tree Selection of the Primefaces, however I want to expand the Tree Selection at the folder level and the files to be opened next to...
asked by 16.06.2016 / 02:10
2
answers

Change whether or not item appears in p: Datatable

Good morning. I have the following datatable: CouldyougivemeaglimpseofwhatIcoulddotomakethisExpansionappearonlyforthefirsttwolines?Theothershavenodetailstoappearintheexpansion.Ithoughtaboutusingrenderedifthelineisgreaterthan2(or1,Idonotknowi...
asked by 27.12.2015 / 15:32
1
answer

How to solve "Type mismatch: can not convert from object type to Message"?

I was studying JSF and found this site where it teaches to create a basic chat using JSF, primefaces and ajax: link I have the MessageManager class public class MessageManager implements MessageManagerLocal { private final List messa...
asked by 18.02.2016 / 21:41
1
answer

Manipulating a dataTable JSF + PrimeFaces

How do I dataTable only be displayed after I click on Simulate Reply? When I load the page, dataTable logo first is already displayed, I do not even have any questions on it. I have a Command Button : <p:column header...
asked by 02.11.2015 / 02:32
2
answers

dataTable primeFaces shows the correct number of records but does not show the fields

I have a problem that I can not solve if you can help me thank you. In short, it is a prototype of an invoice record with notabiscal items, I can insert the records through a dialog, the table shows that the records have been inserted in the...
asked by 26.10.2015 / 10:40