Questions tagged as 'primefaces'

1
answer

How to perform the migration from spring security 3.0.5 to 4.2.3

I would like to know how to move from Spring Secuirty 3.0.5 to 4.2.3 My xml: <?xml version="1.0" encoding="UTF-8"?> <web-app version="3.1" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-i...
asked by 02.03.2018 / 13:23
1
answer

Lock send button when no file upload has been performed

So folks, I have a fileUpload component of primefaces to upload files. It turns out that even with required="true", if the user clicks send without having uploaded any files the system sends. <p:fileUpload required="true" require...
asked by 26.02.2018 / 21:27
0
answers

LazyDataModel Generic on the Facade

Well my question is about some tests I'm doing (studying) JSF and Generics, come on: I would like to know how dangerous (if there is such a possibility) or how wrong / right my idea below might be valid, I happen to like to create a LazyDa...
asked by 18.02.2018 / 03:33
1
answer

Image does not appear in the project

Good morning, I'm trying to put a pdf icon in my project, but the same does not appear. I'm using f: facet this way. <h:commandLink> <p:graphicImage name="/resources/img/pdf.png"/> <p:dataExporter type="pdf" target...
asked by 16.02.2018 / 13:23
1
answer

Error executing JSF project

I'm uploading a jsf project, but this error in the console. log4j:WARN No appenders could be found for logger (org.jboss.logging). log4j:WARN Please initialize the log4j system properly. org.hibernate.HibernateException: /hibernate.cfg.xml no...
asked by 15.02.2018 / 02:41
0
answers

TreeNode - Typescript: How to remove a node from a tree?

Good evening, Can anyone give me a hint on how to remove a node from a TreeNode object? I'm using the tree component of PrimeNG . Below is a small part of my code (incomplete). Thank you in advance! import {TreeModule} from 'primeng/tree';...
asked by 08.02.2018 / 02:55
1
answer

Error listing data in DataTable

Good morning, I'm trying to make a simple listing of a table in a datafile of primefaces, but they are not listing anything. Follow the code so far. .xhtml: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3....
asked by 15.02.2018 / 12:50
0
answers

Date and time in FullCalendar incorrect?

I have an Angular 5 application that uses the Schedule of #, which is FullCalendar for use in Angular applications, is implemented and working everything correctly except for time and date in the conditions below: In the event onDayClick...
asked by 17.02.2018 / 14:31
1
answer

How to save an upload file to the bank with Primefaces

I researched a bit about uploading files with primefaces and found no code example that saved a file in the database. Can you save a file as if it were an attribute of a class?     
asked by 06.02.2018 / 03:05
1
answer

Hibernate is not generating id to write to the database

I'm doing the manipulation of an xls file, so that's fine. I can perform setters and getters normally. but in the save to go to the bank, the id is coming null and with that not recording in the bank. I'll post my codes for better visualization....
asked by 05.02.2018 / 12:43