Questions tagged as 'primefaces'

0
answers

Primefaces 5 with JSF send data to another view from a table

Good day, I'm starting to work with JSF and primefaces and I have a question I have a table with the following code: <h:form id="tabla"> <p:dataTable var="sel" value="#{adminbean.seleccioness}" rows="...
asked by 11.08.2018 / 17:55
1
answer

p: selectBooleanButton INSIDE p: tab JSF PRIMFACES (I get an error, I do not get the action of pressing the button)

I have the following code inserted inside a p: tab, the case is that if I take it from the p: tab if it works for me but inside the no. I've been a while and I do not get anything. <div class="row col-sm-12 text-...
asked by 09.08.2018 / 13:22
0
answers

Download file jsf 2.2 primefaces

I'm trying to make use of the p:fileDownload component of primefaces. <p:commandButton value="Download" ajax="false" icon="ui-icon-arrowthick-1-s"> <p:fileDownload value="#{fileDownloadView.file}" /> </p:commandBut...
asked by 09.08.2018 / 16:47
0
answers

how to prevent files from drying up when uploading a pdf with fileUpload in primefaces?

The problem that occurs to me happens when selecting a pdf of 4 pages the fileUpload shows a window in which it loads 260 parts, what happens in this case is that it cuts the pages into 65 parts, if you upload 1 pdf with 1 single page, it cuts i...
asked by 24.07.2018 / 18:26
2
answers

How to maintain an open dialogue?

This is my XHTML of buttons in a dialog, and I do not know how to avoid closing the dialog when I give it to save and the data I have it in required, I explain: I want that when pressing save and inputText are empty the dialog is closed, but if...
asked by 27.07.2018 / 23:04
0
answers

I need to get the MAC from a client in a web project to authenticate it with the info in my database, is there any way to do it?

Most of the information I have found says that it can not be because it is too low to obtain it from the client.     
asked by 07.07.2018 / 15:20
1
answer

Filter an Outputtext jsf

I would like to know how to filter so that only the patents of vehicles that are available appear. <p:column headerText="Patente Auto" <h:outputText value="#{v.fkVehiculo.patente}"/> </p:column...
asked by 09.07.2018 / 00:43
0
answers

Jsf filter what appears in the outputtext

I would like to know how to filter so that only the patents of vehicles that are available appear. <h:outputText value="#{v.fkVehiculo.patente}"/> </p:column> In the database there is a table c...
asked by 09.07.2018 / 03:20
0
answers

Is Bean Validation in JavaServerFaces considered Validation on the server side?

Esoy developing a project with JavaServerFaces which is structured in a MVC model and I have to implement validation on the client and server side. The question is when applying Bean Validation with annotations in the controller Bean, it is cons...
asked by 06.07.2018 / 12:52
0
answers

FileUploadEvent Primefaces files in the root of the application server

We have implemented the implementation of FileForce of Primefaces and it works well, however we are presenting an inconvenience that we do not know its nature. When we call the listener methods for uploading files, a copy of the file is created...
asked by 29.06.2018 / 17:53