Questions tagged as 'jsf'

2
answers

Change input class when it is filled in

I'm making a form using primefaces, and I wanted my input to change class when it was filled, only returning the previous class if the user deleted the content. This is to make the outputLabel exit from inside the input and be visible as per the...
asked by 03.01.2018 / 01:23
1
answer

App Ionic framework Integrated with Java Web System JSF

Well, I need some guidance from some experienced developer, where the need is: I have an application created in Java Web with JSF in production. I need to develop a Hybrid App with Ionic framework (multplataforma), to receive notification and ge...
asked by 09.12.2017 / 15:21
0
answers

JSF and JPA with EclipseLink: Inserting element twice in the database

I'm working on software and I'm having a headache to insert some related objects. It is inserting this object twice and the error is not visible. To see the whole project, follow the link from github: Complete Project . The classes that are...
asked by 03.12.2017 / 15:24
0
answers

Rollback while persisting entity with hibernate

I have an entity Product: @Entity @Table(name = "produto") public class Produto implements Serializable { private static final long serialVersionUID = 1L; private Long id; private Cliente cliente; private String nome; private B...
asked by 23.11.2017 / 21:08
2
answers

Updating ProgressBar in JSF

Good afternoon, I'm doing an asynchronous method that does searches the database (oracle), and returns it in an Excel file. Within my Method has for @Async public synchronized void carregarApresentacoesParaExportar() { try {...
asked by 23.11.2017 / 21:33
1
answer

Best way for a bean to call another bean by passing itself as a parameter in JSF

I have a 1: n relation, where a System can have multiple Loggers. I also have two beans: one for System (SystemBean that refers to the systems.xhtml page) and another for Logger (LoggerBean that refers to the loggers.xhtml page). In the sistema....
asked by 08.12.2017 / 12:54
2
answers

Problem with @form of Primefaces - JSF

I have a problem with the auto update @form of the primefaces, it should update the dataTable automatically but it is not working. Below is JSF and managedBean. Thank you!              Products      <h:form> <p:toolbar&g...
asked by 08.11.2017 / 01:09
1
answer

Write method has no action and link of Dependent x Driver is not done

When developing a simple application where the dependent is bound to its responsible who is a driver, when I click to create the bind and write dependent nothing happens, only the following message is posted without interrupting the application....
asked by 28.10.2017 / 19:30
1
answer

collection datable jsf

I'm having a doubt in jsf, I have a collection in my bean list, I'm printing it in a datable, however in my Professional object I have a collection of services, I wanted to print the collection of services that it also acts on a dataTable, How d...
asked by 27.10.2017 / 14:34
0
answers

javax.faces.el.EvaluationException: java.lang.NullPointerException

Galera, you are my last salvation. I get this error javax.faces.el.EvaluationException: java.lang.NullPointerException when I try to register a client. My development experience is small, I'm developing this small system as a college work...
asked by 27.10.2017 / 02:10