Questions tagged as 'jsf'

1
answer

Error trying to validate @CPF and @CNPJ with Hibernate jSf2

Good evening I have a project of a system in JavaEE with JSF2 Primefaces. I am using the @CPF and @CNPJ mappings of hibernate, in the same attribute. But it is giving error "WARN: HV000129: EL expression '$ {value}' references an unknown propert...
asked by 21.09.2017 / 02:53
0
answers

JSF ERROR - The value of columns attribute must be greater than zero

I'm having this problem, specifically in the SelectManyCheckBox component. Follow my Bean code: package controle; import java.io.Serializable; import java.util.List; import javax.faces.bean.ManagedBean; import javax.faces.bean.ViewSco...
asked by 21.11.2017 / 04:40
1
answer

How to solve ioexception in xls file generated by jett?

I have a bean with method to generate report so done with jett: Map<String, Object> beans = new HashMap<String, Object>(); beans.put("fichasTecnicasMateriaPrimaResumo", fichasTecnicasMateriaPrimaResumo); try { Exc...
asked by 02.09.2017 / 22:40
1
answer

Problem implementing JSF Converter with p: selectOneMenu

I'm having trouble implementing a convert to a simple selectOneMenu of Primefaces. When passing the getAsObject method of the Convert value parameter comes with the description of what was selected by the user and not with the Id that is in the...
asked by 30.08.2017 / 17:11
1
answer

After registration, datatable is not updated

I have a problem where after registration my dataTable is not updated. My button: <p:commandButton value="#{msg['salvar']}" action="#{encomendaController.salvar}" update="@form,:listaEncomendas:messages,:listaEncomendas:view...
asked by 04.09.2017 / 17:56
1
answer

submit part of the form - jsf primefaces

I'm trying to post a part of the form but I've already tried it in some ways and I'm still in trouble. Follow a print from the screen click to see the image <h:form id="QuestaoCreateForm"> <h:panelGroup id="display">...
asked by 16.08.2017 / 01:45
0
answers

Replace RequestContext with FacesContext

I currently use the following functions that are Primefaces : RequestContext.getCurrentInstance().update("ComponentTal") RequestContext.getCurrentInstance().execute("FuncaoJavaScript") How can I replace them using...
asked by 24.08.2017 / 14:18
1
answer

Reporting one object at a time with Jaspersoft Studio

I have a system of single notes in jsf and primefaces. I was able to generate a set report of several notes at the same time by searching through two input parameters, start date and end date. But what I want is to generate a note without having...
asked by 15.08.2017 / 17:10
1
answer

Error while trying to edit a record: componentp: selectManyCheckbox / failed to initialize a collection of role:

Hello everyone, I have not yet experienced java and would like help. I am mapping SEVERAL lists with @ManyToMany (cascade = CascadeType.ALL) and I'm getting the following excpetion when I try to EDIT a record in the DB: ago 10, 2017 6...
asked by 11.08.2017 / 00:16
0
answers

Component Not Rendered By Ajax

I have a form, where internally it has a h: message component and a h: inputText component, and I am submitting this form by default jsf ajax ... the problem is ... submitting the form ajax does not update the components it should update in...
asked by 01.08.2017 / 16:07