Questions tagged as 'jsf'

2
answers

Refresh datatable after deleting record

After deleting a record in my dataTable, I want it to be reloaded, I can not. Does anyone give a help? <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1...
asked by 13.07.2016 / 03:51
2
answers

Select or unselect selectBooleanCheckbox when clicking on another

Hello, I have the following situation: On my page jsf I have some selectBooleanCheckbox components. I need that, when clicking on one of them some others are unmarked, and also disabled, making their selection impossible. It's possible? I...
asked by 28.10.2016 / 14:35
1
answer

How to sort and clutter a datatable in JSF by clicking the column?

Well, I have a JSF application, I would like to know how to sort and clutter datatable when clicking on the column, in that table there are 6 columns and 3 of them would like me to click it to sort according to the clicked column? * On-demand...
asked by 03.05.2014 / 17:53
3
answers

Upload a list of Enums

I have selectOneMenu like this: <p:selectOneMenu id="diminui" value="#{naturemb.nature.diminui}" effect="clip"> <f:selectItems itemLabel="#{naturemb.carregarAtributos()}" itemValue="#{naturemb.carregarAtributos()}" /> </...
asked by 18.11.2016 / 16:31
1
answer

Component ui: JSF composition does not work

I'm creating an example template but when the page opens it is blank, the template and page that tries to pull the template follows: master-template.xhtml: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DT...
asked by 15.10.2015 / 03:17
1
answer

Why does JSF not recognize the component id in View?

JSF is not recognizing the "dialog-analysis" id that is in the view and is giving the error: FATAL: Cannot find component for expression "dialogo-analise" referenced from "frmAtividade:tab:itens-rh:0:j_idt275".javax.faces.FacesException: Canno...
asked by 05.10.2015 / 14:50
1
answer

not-null property references a null or transient value

When I try to save some city, it shows not-null error, but looking, I can not find a solution looking at the controller, I understand the error, but in my project.    Caused by: org.hibernate.PropertyValueException: not-null property referenc...
asked by 19.10.2018 / 02:18
1
answer

Passing JS variable to ManagedBean

I have a variable in js, and I need to send it to my ManagedBean, what is the most correct way to do this?     
asked by 03.04.2018 / 14:21
1
answer

Show preloader icon on site

I have a login page that calls a page to confirm the registration, in case the person has to open the email, get the code received and go to the confirmation page. The problem is that it takes a significant amount of time to call the screen to c...
asked by 21.02.2018 / 20:04
2
answers

Start with a f: selectItem already selected

I would like that when the menu is displayed "Option 1" gets selected, something like an html <p:selectManyMenu id="basic" value="#{selectManyView.selectedOptions}"> <f:selectItem itemLabel="Option 1" itemValue="1" /> <f...
asked by 14.08.2017 / 22:08