Questions tagged as 'primefaces'

1
answer

Delete method is not called when I click on a commandButton

I have a delete button that is inside a column of dataTable and when I click on it the method that is responsible for the deletion of the user is not called. dataTable: <p:dataTable value="#{usuarioBean.listaUsuario}" id="usuarioT...
asked by 30.07.2015 / 21:07
1
answer

Get object when clicking on a commandLink in DataTable

I'm trying to pick up an object by clicking on a commandLink which is in each of the DataTable column, but always the nullPointerException error. Can someone help? I'm doing it this way: <p:commandLink id="ajax" ajax="false" process="@t...
asked by 11.06.2015 / 21:47
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

Colspan and rendered do not work in SubTable

I have a DataTable with SubTable, I use rendering in the columns of both tables and colspan in some columns. The rendered and colspan tags in the subtable do not work as expected. Look at the code: '' ' <p:...
asked by 01.06.2015 / 16:18
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

algaworks JSF Primefaces does not have void methods

I'm studying PrimeFaces with CDI for some video lessons I've been watching but something strange is happening. I have a bean gestaoEmpresas There are two methods, a void consultar() and a List<Empresas> todasEmpresas...
asked by 21.05.2015 / 19:19
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
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
1
answer

Inserting Image into the Database with Java Web

I'm having trouble inserting an image into a database. I already have a save method and I'm including a photo field, but I'm not sure how to implement to upload the image. Who can help me, I'll be grateful. Below are the codes: package c...
asked by 15.03.2015 / 03:30