Questions tagged as 'jsf'

4
answers

Page rendering error after system navigation

I have a problem in a system developed that is that as the user navigates the system after a certain time the pages do not render but back when the user refreshes the page. I researched a lot but could not find a solution and the error it gives...
asked by 03.09.2018 / 20:17
2
answers

JSF EclipseLink - I can not write information to the MySQL database

I am using JSF in a college subject and the teacher has passed an activity. But I'm not able to write information from a form. The connection is done, I can perform up to JPQ queries direct from Netbeans, but when I try to write information ente...
asked by 09.09.2018 / 02:06
0
answers

Error when implementing CDI in a JSF project using Tomcat

I'm developing a project that initially only had JSF and PrimeFaces as FrameWorks but I decided to implement CDI to be able to use @ConversationScoped and I implemented and without making any other modifications I tried and the project was worki...
asked by 19.08.2018 / 20:02
1
answer

Keep Bean alive even after a redirect - JSF

Does anyone know of any way to make a Bean live even after giving a redirect? The situation looks like this: I'm developing a project where, in theory, the user logs in and the user and password he typed are saved somewhere (probably together...
asked by 19.08.2018 / 23:11
0
answers

Doubts the transitions of an object between Beans JSF

I have a login class that instantiates a CLIENTID attribute in the session after the client logs in LoginBean.java public void efetuarLogin() throws IOException{ cliente = clientePU.clientePorEmail(email); System.out.println(email);...
asked by 16.08.2018 / 20:43
1
answer

Image on the Menubar of PrimeFaces

Hello, I have a problem with not being able to put an icon to the left of the menubar and the menu items to the right, can anyone help me? <h:body> <h:form> <p:menubar> <f:facet name="optio...
asked by 15.08.2018 / 18:55
0
answers

Error in the "rowkey" attribute of DataTable - JSF 2.2 with PrimeFaces 6.2

I'm new to JSF and am having trouble with the rowkey attribute of the DataTable. It simply can not find the reference I put of my var attribute. It's as if the name I put in var only serves the components that are inside the DataTabl...
asked by 05.08.2018 / 10:05
0
answers

When I update a non jsf (normal html) component, the element disappears from the render and loses its content

I'm using a <span> element that is using a javascript library on it.    Remembering that JSF functionality only works on its elements When I run an "update = component_id" (this component_id is a non-jsf component) it loses i...
asked by 09.08.2018 / 14:01
0
answers

Consume data from a WEBSERVICE SOAP

I'm a trainee and I'm trying to consume a webService SOAP, but I do not understand how I can access it, someone can help me with this question please, I looked in google ja but the examples I saw are totally different from what I have, Langua...
asked by 18.07.2018 / 19:19
1
answer

Update JSF only works on whole form (Primefaces)

Good evening. I'm breaking my head with a problem that seemed simple I have a form with some fields, while selecting a combobox I want to hide and display some fields. I'm using 'p: ajax' to run the update. And in the fields to hide, I'm u...
asked by 12.07.2018 / 04:48