Questions tagged as 'primefaces'

0
answers

.java file without class signature

I was checking out the PrimeFaces code when I came across the following situation (import java.util.List; import java.util.Map; import org.primefaces.util.HTML; import java.util.logging.Logger; import org.primefaces.util.ComponentUtils; p...
asked by 24.08.2017 / 13:37
1
answer

Composite vs. Bean CDI - How to access bean methods

I'm trying to create a component to receive the photo from the user's profile. But for this I need to make the access component the methods within the CDI Bean of the page in question. I'm doing something like this: Creating the component:...
asked by 05.04.2017 / 16:30
1
answer

Method does not override or implement a method from a supertype

I'm creating a converter and it's giving me this error:    Method does not override or implement a method from a supertype Converter code: package com.mycompany.conversor; import com.mycompany.entidades.agendaTipo; import com.mycompa...
asked by 07.02.2017 / 14:42
1
answer

I can not select multiple objects from my components

I'm using a component of primefaces, but when I select multiple items from this component I can not select. I'm using an Enum, needs to be an arrayList? <h:outputLabel for="servico" value="Serviço:" /> <p:selectCheckboxMenu id=...
asked by 15.03.2017 / 20:23
0
answers

Change Location of Exported Table of Primefaces

I'm developing a web system using jsf and primefaces and would like to ask a question. I'm using dataExporter to export a dataTable to PDF .... I'm using the preProcessor method to add several things to the PDF document (...
asked by 15.03.2017 / 04:49
1
answer

Simplifying code

I have the following code snippet: <p:menuButton value="#{messages['relatorio']}"> <p:menuitem value="PDF" update="painelRelatorioResumoExpedicaoDesembarque" oncomplete="gerarRelatorio();" id="commandButtonGerarRel...
asked by 12.05.2017 / 15:18
0
answers

Insert String in primefaces graphic

I'm building a graph, but I need to display the data of a field that is "String", but it only receives integer. Has anyone ever gone through this? tempo.set(u.formataData(treinos.get(i).getDataTreino()), u.formataHoraComSegundos(treinos.ge...
asked by 19.10.2016 / 21:05
1
answer

JasperReport Report - Blank Page - PDF Report

This is the following I created the report in jasperReport I created a parameter there, with that the data of this report it is getting from the bank (Mysql) and displaying / But when I post to display on my JSF page the data is blank in a bla...
asked by 31.08.2016 / 21:03
1
answer

Monthly and Yearly Chart of Primefaces

I am trying to query a chart by month and year that when I click on the chart series it will display the records belonging to that path. When doing the search the graph is mounted correctly according to the selected month and year, but when I cl...
asked by 24.08.2017 / 16:21
0
answers

TabView on Primefaces with Ajax

Next, I have a small problem, but I'm following the same steps as the primefaces showcase, but without success. I want to trigger an ajax every time a tab is selected, clicked. This way I will have what was the selected tab and if the user pr...
asked by 13.10.2016 / 21:05