Questions tagged as 'primefaces'

1
answer

Hibernate saves twice the entity executed within the dialog of the firstfaces

When the save button is on the page it works normally and saves the entity but I open a dialog to confirm the data to be saved and hibernate saves twice very strange the method to save out of dialog works correctly but inside it performs two time...
asked by 17.01.2015 / 17:14
2
answers

Exception with Convert from a selectOneMenu of Primefaces

I created a dynamic selectOneMenu that receives an Author Object List that implements Serializable. The code is as follows: selectOneMenu XHTML <p:selectOneMenu id="autor_selecionado" value="#{pragaBean.autor}" style="width: 19%;"...
asked by 25.11.2014 / 13:21
1
answer

OutputText only refreshes after Tomcat Restart

I'm using Tomcat 7, Eclipse Juno (in Windows 7) and Primefaces 5 for my application. After registering some information in the database (vaccines for vaccination book), access a screen (vaccine-caderneta.xhtml) to view the status per patient...
asked by 21.11.2014 / 13:05
1
answer

How to set a Spinner value on an object

I have the following table: <p:dataTable id="tabelaDisciplinasSelelecionadas" var="disciplina" value="#{disciplinaBean.droppedDisciplinas}" rendered="#{not empty disciplinaBean.droppedDisciplinas}">...
asked by 29.01.2015 / 05:43
1
answer

Doubts in using the dataExporter

I am using the dataExporter from primeFaces to export the contents of a dataTable into pdf. The problem is that the pdf does not bring the name of the columns, just the content. In the examples I've seen in the showcase, it captures the column n...
asked by 10.11.2014 / 20:39
1
answer

Going to a certain tab

This is my menu: <p:menubar> <p:submenu label="Clientes"> <p:menuitem value="Cadastro" action="#{nomeBean.cadastrar} outcome="funcionario.xhtml" /> <p:menuitem value="Consulta" action="#{n...
asked by 30.10.2014 / 16:15
1
answer

What DocType do I use in PrimeFaces?

I made a project merger using PrimeFaces + PrimeFaces Mobile, and I do not know which DocType to use. Can I use HTML5 DocType?     
asked by 29.10.2014 / 13:07
1
answer

Align rowEdit and other buttons on the same row in PrimeFaces

I'm having trouble where my dataTable has the editable property set to true . Allowing the edit of the line that the user selects. Well, when putting a button to delete for example I'm in trouble that the edit button does not st...
asked by 29.07.2014 / 22:16
3
answers

How to load the list of items from p: selectOneMenu when clicking to open the dropdown?

I would like my p: selectOneMenu to reload the items and show the options every time I clicked to open the dropdown, has anyone tried to do this? If so, how do I do it?     
asked by 07.07.2014 / 20:43
2
answers

How to execute a JS or jQuery function after an update, reload in JSF and PrimeFaces?

I need to execute this function after a button gives an update="@ form" on the page <script type="text/javascript"> function carregaCss(){ $(".ui-icon-calendar").addClass("glyphicon glyphicon-calendar corPadrao"); $("...
asked by 22.08.2014 / 03:27