Questions tagged as 'jsf-2.2'

1
answer

How to keep a checkbox true after an error message is displayed?

How can I keep a true checkbox when I display an error message? Every time I display a errorMessage my checkBox turns false . How can I solve this problem? I'm using jsf2.0 and primefaces . This is the button that calls...
asked by 18.03.2014 / 19:30
1
answer

Problem Disabling Button on Firstfaces

I'm trying to make a logic of making the excel export button disabled to the user by clicking the search button if the number of records is equal to zero. The problem is that the first time it works normal, but the second time the button...
asked by 24.02.2014 / 21:34
1
answer

How to display tomcat log on screen

I'm creating a feature using jsf with primefaces, to display the application's log (tomcat), on the screen (view xhtml), however I did not find any plugin or append to do this, and before I started developing everything in hand I would to know i...
asked by 03.05.2018 / 16:20
1
answer

Error in project: JSF does not respond and neither does it show Message

I'm in a JSF project from the Java for Web book. It was doing fine, but I put the following code in JSF that, according to updates, should not work because the facelets-taglib-jsf20-spring- 3 has been removed, according to the book. Code below...
asked by 17.04.2018 / 03:06
0
answers

Change JPA / JPQL record [closed]

I'm doing my first WEB project and I have a question about using JPA / JPQL / MERGE. The question is: I need to change a record of a table, I've created a dataTable that returns me a list of Open Tickets. This table is populated by my V...
asked by 14.12.2017 / 02:55
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
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

p: inputText is not updating

I have in the following code, a form that works for both change and to add an entity. The logic is as follows, I have a alteracao variable. If alteracao == true the form will behave to change If alteracao == false t...
asked by 29.09.2017 / 19:45
1
answer

List data in a dataTable

I believe this method of dao should not be correct. DAO METHOD public List <Campeonato> listarTodos() { try { manager.getTransaction().begin(); Query query = manager.createNamedQuery("Campeona...
asked by 18.07.2017 / 15:27
1
answer

I can not change my object coming from a dataTable - JSF with Primefaces

I am retrieving my object from the dataTable plus the time I redirect the dataTable to another page to make change, it presents an error. Plus it takes the ID of the object, I did a convert more without success. MyConverterpackageconverter;i...
asked by 02.03.2017 / 02:33