Questions tagged as 'jsf'

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

Error 404 not found - when loading project jsf with wildfly - developer studio - ubuntu

I have a small problem that I have not been able to solve, I'm starting wildfly 10 and jsf maven, etc ... When creating the first JSF project, at the time of deploying the app I get it in the localhost: 8080 / proyectoWeb / index.jsf 404 erro...
asked by 06.08.2018 / 17:49
1
answer

Display manual data by screen, without collecting it from the database

I'm in a project and I have to make a filter and show the result on the screen, the case is this: public List<StatisticCustomObject> getPrueba(Date fDesde,Date fHasta, List<Long> transito) { /*TypedQuery<StatisticCustomObjec...
asked by 03.08.2018 / 13:53
0
answers

FILL Checkbox by default in JSF

I do not know how to do it. The only way I have is this: public void on NodeSelect (ValueChangeEvent event) { Boolean selected = (Boolean) event.getNewValue(); Long odmId = (Long)((UIInput) event.getSource()).getAttributes().get(ODM_...
asked by 30.07.2018 / 11:29
1
answer

My method is re-executed when reloading the page in jsf

I'm doing a CRUD manually, not with jpa for the maintenance of my entities tables in my Database strong>, and I have already created the page to add data to the Database, and in the beans I have a register method that I send it to ca...
asked by 26.07.2018 / 02:43
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

Data Structure

I request a tip of how I could store in database a block of text that is composed of several characteristics, which I have to extract for certain types of query. nombre: carro, numero de llantas: 4, numero de puertas; 2, motores: 1, capacidad...
asked by 04.07.2018 / 21:41
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