Questions tagged as 'jsf'

0
answers

Error while displaying a collection of phones and emails from a contact

I want to display a list of contacts with phones and emails on an XHTML (JSF + PrimeFaces) page. I can display everything I want in a test class: package com.fercosmig.testes; import java.util.List; import javax.persistence.EntityManager;...
asked by 12.08.2015 / 23:26
1
answer

Exception p: ajax Unable to attach behavior to non-ClientBehaviorHolder parent

I'm using JSF, PrimeFaces in my Java EE project. When I use the PrimeFaces component the orderlist , it returns me an exception on the screen and I do not know what exactly it is, it happens the moment I put the <p:ajax> tag. Could...
asked by 30.06.2015 / 14:49
0
answers

Doubt PrimeFaces menu

I changed the color (hover) when I move the mouse through the menubar item, but the icons are also disappearing when I hover over the image. How do I make the icon not disappear? /*Cormenu*/.ui-menubar,.ui-menu-child,.ui-menu{background:#F0F...
asked by 01.08.2015 / 00:29
0
answers

As scrolo the dataTable up it goes up all at once (Primefaces mobile)

I'm using Primefaces mobile and to present some data I'm using dataTable, I make a query and it normally lists the records, while I roll the records down using my mobile's browser it usually descends. The problem is that if after scrolling the...
asked by 18.06.2015 / 22:34
1
answer

Save entity and all its child entities

I'm having problems with the updates of my MDFe entity, before explaining what happens, I would like you to look at the image below, from it I can explain better. We can verify that MDFe has a one-to-many relationship with MDF and Documen...
asked by 29.04.2015 / 13:58
0
answers

Menubar of Primefaces does not enter div

Good evening. My menubar is not getting into the div it's contained in. <header> <h:graphicImage library="img" name="logo.jpg" id="logo"/> <h:form> <p:growl id="messages"/> <p:menubar>...
asked by 04.05.2015 / 03:31
0
answers

How does Spring JSF integration work, and what is the role of the InternalResourceViewResolver Filter and how should it be configured for integration?

I'm studying to start a project of a distributed Web system, which will have simple interfaces in some contexts, but others will require an interface structure that will make it necessary to adopt a framework like PrimeFaces to contribute to the...
asked by 06.06.2015 / 17:32
0
answers

JSF: error messages inside the catch block does not appear on the screen

I have a JSF application and I created a BaseBean class to generate the messages that appear on the screen when an event occurs. Well, on the ManagedBean when I call the BaseBean class to send a message to the user right after an instruction...
asked by 16.03.2015 / 14:29
0
answers

JSF + PrimeFaces 5 - Same Page Status for Multiple Users

I'm having a hard time compared to PrimeFaces 5 + JSF . I have two applications in the company where I work and the same ones running in the intranet , but when someone performs something, it queries or navigates between both applicati...
asked by 23.02.2015 / 14:21
0
answers

Error request does not contain multipart / form-data or multipart / mixed stream

I'm trying to save the image to disk but it's giving me this error. mai 18, 2015 12:03:56 PM com.sun.faces.lifecycle.ApplyRequestValuesPhase execute ADVERTÊNCIA: javax.servlet.ServletException: org.apache.tomcat.util.http.fileupload.FileUpload...
asked by 18.05.2015 / 17:21