Questions tagged as 'primefaces'

2
answers

Calling JQUERY function with Primefaces [closed]

I want to execute a JQuery call after the click of a button: <p:commandButton id="btnSelecionaLote" icon="ui-icon-pencil" action="#{loteController.selecionarLote()}"> <f:setPropertyActionListener value="#{lote.id}" target="#{loteC...
asked by 27.11.2015 / 14:32
0
answers

How to add new columns in h: datatable in jsf without giving refresh that the update does in the table,

People, I have a problem, I created a paged query that always brings 5 records, I implemented jquery with $ (window) .scroll so that whenever the scroll reaches the bottom of the page it plus 5 records and update the table using update="table...
asked by 26.11.2015 / 16:38
0
answers

ViewExpiredException in periodically updated view

Good morning. I have a periodically updated view that throws the following exception: Nov 03, 2015 11:21:49 AM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError GRAVE: javax.faces.application.ViewExpiredException: viewI...
asked by 03.11.2015 / 15:33
0
answers

Problems with ireport

I'm trying to generate a simple report with three filters: datainicial, datefinal, and reservoir. The problem is that clicking the button to generate the report nothing happens, and I do not get any messages on the console. I have already put pr...
asked by 26.10.2015 / 18:14
1
answer

Why does the dataScroller of primefaces stop fetching the records?

My xhtml looks like this: <p:dataScroller ajax="true" id="listaDiarios" chunkSize="3" lazy="true" value="#{managedBeanUsuario.lazyRegistrosDiarios}" columnClasses="first-letter-page-diary,second-letter-page-diary" var="re...
asked by 28.11.2015 / 21:52
1
answer

List two related tables PrimeFaces x Hibernate

I need to list information from two tables on the same grid, they have relationship created by hibernate itself. You would need the vendor name in the table below. In case they would be these classes: Template: public class Produto {...
asked by 28.11.2015 / 16:57
1
answer

Update does not work when trying to update a p: panelGrid

I have a button that is within <p:toolbarGroup> where I perform some operations, I also have a <p:panelGrid> that should be rendered after the user clicks the button, but I can not update this component. I can update th...
asked by 20.10.2015 / 18:34
1
answer

How to interrupt and return to xhtml error to display in p: messages

I have a processing of a <p:dialog> within this dialog I have a <p:messages> . <p:messages id="msg-dialog" showDetail="true" autoUpdate="true" closable="true" /> Messages from required="true" o...
asked by 14.10.2015 / 16:23
0
answers

Update image after attaching in fileupload

When I insert the image into dialog using fileupload graphicImage does not refresh the image after I click attach. The photo only appears in graphicImage after I save the form. I wanted the photo to already appear after I clicked on the...
asked by 06.11.2015 / 02:21
0
answers

graphicImage does not render: • pfdrid_c = true

I'm trying to display an image with, but it's not appearing in any browser. On my page I'll call the image mode: <p:graphicImage value="/upload/#{desap.foto}" height="140" width="140" /> and when I c...
asked by 09.11.2015 / 17:44