Questions tagged as 'jsf'

2
answers

Calling JQUERY function with Primefaces [closed]

I want to execute a JQuery call after the click of a button: <p:commandButton id="btnSelecionaLote" icon="ui-icon-pencil" action="#{loteController.selecionarLote()}"> <f:setPropertyActionListener value="#{lote.id}" target="#{loteC...
asked by 27.11.2015 / 14:32
0
answers

How to add new columns in h: datatable in jsf without giving refresh that the update does in the table,

People, I have a problem, I created a paged query that always brings 5 records, I implemented jquery with $ (window) .scroll so that whenever the scroll reaches the bottom of the page it plus 5 records and update the table using update="table...
asked by 26.11.2015 / 16:38
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

Redirect user to pages requested after login

Here in the company it is common to pass news links from the portal to others via email, however when the user opens the link he asks for authentication in the system, but after login he is redirected to the home page (index.jsf) and not for the...
asked by 04.11.2015 / 14:10
1
answer

JASS implementation in JSF + Tomcat

I want to create authentication for login in my project, but when I try to login, the java.lang.NullPointerException error appears Error Log javax.faces.el.EvaluationException: java.lang.NullPointerException at javax.faces.component.MethodB...
asked by 06.11.2015 / 14:14
0
answers

Error returning object after query

Good night everyone. Objective: The main goal is to get the user ID and the code of the simulation he answered, and display this on another screen after he responds to this simulation, however, I have exception when trying to perform a query...
asked by 07.11.2015 / 02:38
0
answers

Hibernate.engine.jdbc.spi.SQLExceptionHelper log Exception, SQL state null

1 I have this problem in my Hibernate session Validity a newly established conection, when doing the query, it miss the session, only after giving several F5 the session back .. can anyone help me? ... follows the image of the Error. 1.Contex...
asked by 28.10.2015 / 13:11
0
answers

Could not determine type for: java.util.List, at table: ..., for columns: [org.hibernate.mapping.Column (...)]

I'm having a very simple problem using JSF + JPA with Hibernate. I have two classes: Message and Comment. The Message class contains a list of Comments. But when trying to make that relationship the error below happens. Can anyone help? Thanks!...
asked by 26.10.2015 / 16:26
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

Update does not work when trying to update a p: panelGrid

I have a button that is within <p:toolbarGroup> where I perform some operations, I also have a <p:panelGrid> that should be rendered after the user clicks the button, but I can not update this component. I can update th...
asked by 20.10.2015 / 18:34