Questions tagged as 'jsf-2.2'

0
answers

JSF - Custom Validator executed, no problems encountered, but execution flow does not arrive in Managed Bean

I have created a Custom Validator, I have referenced it in a <h:inputText> , the Validator is executed, no exception is raised, but the execution flow does not arrive in the Managed Bean. Where should I be wrong? <h:inp...
asked by 16.11.2015 / 04:21
0
answers

ViewExpiredException in periodically updated view

Good morning. I have a periodically updated view that throws the following exception: Nov 03, 2015 11:21:49 AM com.sun.faces.context.AjaxExceptionHandlerImpl handlePartialResponseError GRAVE: javax.faces.application.ViewExpiredException: viewI...
asked by 03.11.2015 / 15:33
1
answer

Why does the dataScroller of primefaces stop fetching the records?

My xhtml looks like this: <p:dataScroller ajax="true" id="listaDiarios" chunkSize="3" lazy="true" value="#{managedBeanUsuario.lazyRegistrosDiarios}" columnClasses="first-letter-page-diary,second-letter-page-diary" var="re...
asked by 28.11.2015 / 21:52
1
answer

How to interrupt and return to xhtml error to display in p: messages

I have a processing of a <p:dialog> within this dialog I have a <p:messages> . <p:messages id="msg-dialog" showDetail="true" autoUpdate="true" closable="true" /> Messages from required="true" o...
asked by 14.10.2015 / 16:23
0
answers

only one commandbuttom works

<ui:define name="titulo da pagina">Cadastro De Bairro</ui:define> <ui:define name="miolo"> <div class="conteudo_do_modulo"> <h:form id="Salvar" acceptcharset="ISO-8859-1" lang="pt_BR"> <...
asked by 13.10.2015 / 00:41
2
answers

How to get value from selectOneMenu primefaces?

Good evening. I have a little problem chatinho about 3 days, I can not get the value of selectOneMenu for the product, for example: I have three categories of products: Tapiocas, Snacks and Beverages. When selecting one, the low select updates w...
asked by 29.09.2015 / 01:50
1
answer

Error 500 Tomcat: java.lang.UnsupportedOperationException

Web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml...
asked by 25.09.2015 / 18:16
0
answers

Requesting help in converting to JSF selectOneMenu

Look at the picture; Clickingsavegeneratesthiserrormessageonscreen,whichindicatesthatanullconvertercouldnotbeused,sayingthatthereisnonullconversionforthecheckboxshowninthefigure,sincetheconvertwouldconvertthelisttoacity-typeobject,butthereis...
asked by 30.09.2015 / 19:40
1
answer

Does an http request on a JSP page open a session?

I have a web application that contains some JSP pages that return a JSON. This application has a large stream of access, and I noticed that there are many open sessions in the monitoring area of the GlassFish server. See a piece of code th...
asked by 10.09.2015 / 00:50
1
answer

Problem with JSF TimeZone

This is my method in managerBean public void carregarDadosVenda(){ vendaCadastro.setHorario(new Date()); } This is my page; <p:panelGrid columns="2"> <h:outputText id="txtVendaValorTotal" value="Valor...
asked by 31.08.2015 / 19:22