Questions tagged as 'jsf-2.2'

1
answer

Problems with NullPointerException in a JSF project

I have an application that is displaying the following error message; jun 01, 2015 4:15:05 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute ADVERTÊNCIA: #{pesquisaPedidosBean.pesquisar}: java.lang.NullPointerException javax.faces.Face...
asked by 01.06.2015 / 21:19
1
answer

Problem upload image with more than 10mb primefaces

Guys, I'm going through a pretty annoying and seemingly simple problem and I have not found a solution yet, can anyone help me? I am using the upload of primefaces and it simply does not upload files larger than 10mb ... A 9.9mb file goes normal...
asked by 10.12.2014 / 17:05
1
answer

JSF does not find component ID

I have something like <p:panelGrid id="tabelaUm"> <h:form id="formUm" rendered="#{condicao ? true : false}"/> <p:commandButton action="#{condicao = false}" update="formUm, formDois"/> </p:panelGrid> <p:panelG...
asked by 15.11.2014 / 16:51
1
answer

Method not found:

When I click the save button to execute the method, the following error appears in the console: Jan 15, 2015 4:12:26 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute Advertência: Method not found: validacaoAjax.FuncionarioBean@37f7dcb...
asked by 15.01.2015 / 19:20
1
answer

What is the difference between these two statements?

I was reading some tutorials and documentation and came up with two different ways to declare RequestContext : RequestContext requestContext = RequestContext.getCurrentInstance(); requestContext.execute(/*coisas*/); and RequestConte...
asked by 17.08.2014 / 17:36
2
answers

JAAS - request.isUserInRole always returning false

I am implementing a JAAS with only 2 types of users, one type will be Administrator and the other will be Contributor. Instead of creating separate directories for admin and for collaborator, I want both to access the same page, the difference i...
asked by 09.06.2014 / 17:05
1
answer

How to make it load the complete welcome-file url

In web.xml it is mapped like this: <welcome-file-list> <welcome-file>agendamento/index.xhtml</welcome-file> </welcome-file-list> When opening the application in the browser is opening right, but I need this url t...
asked by 06.03.2014 / 15:02
2
answers

Changes directly in the database reflect in the managed bean?

I'm developing a simple web application, a form. I did the DAO's, Facades and they are working correctly (at least I think they are) but I will also need to edit some values directly in the bank only these changes are not being reflected in the...
asked by 06.02.2014 / 20:37
2
answers

Datatable of primefaces does not update selection variable

Based on the first example of Datatable Selection where a variable (% with% ) I get the selected value when I click on a linhaSelec I decided to mount my implementation but the variable that would have the value of the selected line is...
asked by 25.04.2018 / 20:59
1
answer

How to merge columns h: column in JSF?

How can I merge columns or rows in JSF 2.0? Code<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http:/...
asked by 29.09.2017 / 17:01