Questions tagged as 'jsf-2.2'

1
answer

Capture Schedule component month manipulation event

By using the Primefaces Schedule component, you can manipulate the events of buttons that change the current calendar month, the buttons marked with the circle in the image below? Iwanttocapturefromtheeventassociatedwiththe"navigation butt...
asked by 14.03.2016 / 19:30
1
answer

Javascript formatting problems with currency

Greeting for all, I'm going straight to the point; When I enter the page I fill out a form and the value field gets the currency formatting working, as you can see below; Aftersavingthecurrencyformattingdoesnotworkanymore,unlessIrefres...
asked by 10.12.2015 / 19:09
2
answers

Backing bind with JSF components

I am a beginner in Java EE and I am using an Algaworks e-book "Java EE 7, with JSF, PrimeFaces and CDI. Even ManagedBean occurred normally, but when I started with the backing bean Java could not find the property with HtmlInputText...
asked by 03.07.2015 / 04:41
1
answer

Eclipse does not show java attribute hint

When I press Ctrl + Space and click on the attribute , Eclipse is not showing the attribute hint before clicking. p> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd...
asked by 19.01.2015 / 15:57
1
answer

Null pointer exception on a radio button

I'm trying to put two PrimeFaces radio buttons on an xhtml page: <p:selectOneRadio id="fis_jur" layout="custom" value="#{usuario.fis_jur}" required="true"> <f:selectItem itemLabel="Física" itemValue="1"/> <f:selectItem...
asked by 26.11.2014 / 02:11
1
answer

JSF dataTable how to populate the columns with ListListInteger?

I have the following situation. A vector that will store the values that will be registered in the bean     public class PainelControleExtratoVO { public Integer[] demandaEmAberto; public Integer[] demandaEmProcesso; public Intege...
asked by 26.06.2014 / 18:22
1
answer

Download dialog does not appear

I am generating a xls in memory and it should appear for download , but at the end of the method the download dialog is not appearing. xhtml <a4j:commandButton styleClass="Button" value="Download" execute="@f...
asked by 17.11.2014 / 15:32
1
answer

Lazy loading in PrimeFaces DataTable does not bring log data

I have a lazy load on DataTable of PrimeFaces, and on this table I upload I want to edit a record. Clicking the line will open a dialog with a form to edit that record. However, when you click the line, it opens...
asked by 19.08.2018 / 21:11
1
answer

JPA + Hibernate launching update alone

Hello, I have an object that is managed by Hibernate. On screen, an attribute of this object updates the value and Hibernate immediately fires an update in the database, without even going through methods in the controller or data persistence...
asked by 19.10.2016 / 20:29
0
answers

Get username in session jsf

I'm in doubt as to how to get the user's name in the session. I'm using Spring Security 4.2 I have my User Class import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import lombok.Data; @E...
asked by 27.08.2017 / 17:47