Questions tagged as 'jsf'

1
answer

WELD-001303: Do not activate contexts for scope type javax.faces.flow.FlowScoped

I am trying to display a list of offers registered in a database through JSF through a flow. However, when I want to test whether this exception works or not: WELD-001303: No active contexts for scope type javax.faces.flow.FlowScoped FATAL:...
asked by 15.05.2018 / 17:04
1
answer

Validate age JSF

When entering the age in a form using JSF I have to verify that the age is in a certain range and if not show an invalid date message. I had thought about using Java code that I had implemented from other years in a class that implements validat...
asked by 16.05.2018 / 20:50
1
answer

Is it possible to display certain data?

In the code that I'm going to leave, I show all the records of the offer table, now, is it possible to show only the registered offers on a given day, for example? I had thought of making another table with those recorded data and display the re...
asked by 18.05.2018 / 18:26
0
answers

Primefaces button ajax false

I have a button on primefaces: <p:commandButton value="Exportar fichero" action="#{exportarView.exporta}" ajax="false"> The method builds an excel and returns it, all this works well, the problem I have when doing a validation and no...
asked by 09.05.2018 / 18:04
1
answer

problem loading files in java jsf

Good afternoon somebody could help me with this topic, the truth so far I have not found good material to study, on the internet there are several videos but most of them are from jsp and I currently use jsf, I have a job loading files in where...
asked by 09.05.2018 / 19:05
0
answers

Error Artifact Glassfish with IntelliJ IDEA JAVA JSF

   [2018-05-07 11: 19: 12,145] Artifact DemoJSF: war exploded: Artifact is   being deployed, please wait ...       [2018-05-07 11: 19: 17,472] Artifact DemoJSF: war exploded: Error   during artifact deployment. See server log for details....
asked by 07.05.2018 / 18:37
0
answers

Problem with CommandButton

I am creating an application using JAAS, Primefaces and JSF. I want to register a user in a database and I have a problem with the "Accept" button on the form which does nothing. I leave the code: REGISTER VIEW import com.mycompany.pfinal...
asked by 10.05.2018 / 17:58
2
answers

How to compare a list and eliminate duplicates?

I have a list in which when editing a record, add a new one in the database, this new record is practically the same as "edit", but change an id that I want to change; at the time of calling the list I want to replace the old value with the new...
asked by 27.07.2018 / 17:45
2
answers

Deactivating commandButton does not execute a method of the bean located in the action of the button

I am working with jsf2 and primefaces. I have a page where there is a table p: dataTable to which I have put checkbox: <p:dataTable id="listTable" var="bean" value="#{beanMaquina.lstMaquinas}"...
asked by 01.05.2018 / 15:23
3
answers

navigation buttons in JSF2 and PrimeFaces when doing logout

I request your support with a Dinamica web application, which uses Java server faces 2.17 and primefaces 5.1 . It is mounted on a weblogic 10 and this is accessed through a web server! planet. The problem is that when performing the log...
asked by 27.04.2018 / 23:14