Questions tagged as 'jsf'

0
answers

How to export data from a filter of a primeface datatable

I have the following table: <p:dataTable id="tblpersonas" var="p" value="#{generarListaFuncionariosMB.listaPersona}" filterBy="#{generarListaFuncionariosMB.filtrarPersona}" clientCache="true"...
asked by 01.11.2018 / 12:59
0
answers

How to execute a stored procedure with jdbc, dao in java, primefaces and jsf

I have a problem when setting the data of a stored procedure to a datatable, what happens is that I am working with jsf, primefaces, jdbc, create a java class that would be this: package avo.ob.movie; import java.sql.Connection; import java.s...
asked by 22.10.2018 / 22:39
0
answers

My selectOneRadio does not work on jsf and primefaces, please help!

I hope and you can help me what happens is that I'm having a problem when I want to set the values in a selectOneRadio, what I want more than anything is that when you give a button to edit this same load what the user inserted, but I already pr...
asked by 18.10.2018 / 18:09
0
answers

Print PDF directly

I am working with JSF and Jaspereports and what I need is that when I click on a button to print a PDF I immediately get the box to print this PDF, I have already searched several tools such as printer d eprimefaces, printerjob etc ... but none...
asked by 17.10.2018 / 21:29
0
answers

How to set value in a selectOneRadio in jsf

I have a problem what happens is that I want to set some values that come from the DB and there is a column with certain names that I send them from a dao implement and those same ones by means of a method I want to do that set to to give edit I...
asked by 17.10.2018 / 01:31
0
answers

No selection of primefaces

Hello friends I have a datatable of primefaces with the functionality of selection but it does not work for me, it enters the method rowSelect (), but in event the null object arrived. Attached code that I have implemented, if someone knows what...
asked by 09.10.2018 / 18:24
0
answers

Nullpinter exception error when loading page jsf

I have a problem that I really do not know how to solve, what happens that I am working with jsf and primeface and it turns out that when executing my project, I get this error: Error fatal en el sistemajava.lang.Exception: This query can not...
asked by 24.10.2018 / 23:53
1
answer

How to delete data from a datatable in java and with primefaces!

I have a problem, as I can delete the records of a datatable at the time of clicking on a button again, so that to click on the new button the datatable is loaded: This is the button to add a new one: public void actionNuevo() { fla...
asked by 04.10.2018 / 22:35
0
answers

How to make entity mapping from the JPA database recognize the data type of the Database with

I am using Netbeans 8.2 project web classes Entity from a Database, mapping with JPA a database SQL server2012 from Microsoft. in the beginning I map with data types like Date, Image ... and others. Luxury, like this:  But after doing some...
asked by 02.10.2018 / 23:06
1
answer

How to update a project in Netbeans 8.2 with JAVA JSF 2.2 and Primefaces 5.0, if two fields are added to a table in the Database

Greetings please if you can help me with this problem. The problem is that I already move forward with several changes on the project and I would not like to create a new project for nothing but increase 2 fields in the table. In my project I...
asked by 28.09.2018 / 18:32