Questions tagged as 'primefaces'

1
answer

doubts about Regex using Primefaces

I have an input , where when a name is typed in the ex: João Da Silva field, > Regex . In this case, this field must be case sensitive. Now when I put space it does not save. Follow the code: <p:outputLabel value="Nome" for="nome" /...
asked by 20.03.2017 / 20:11
1
answer

How popular a p: datatable with a List that contains two List attributes inside?

I spent all day today trying to do something that is supposed to be simple but I could not. It's the following, I'm using the primefaces and I'm new to it yet and I need somehow my <p:datatable> popular with a list of objects. Goodb...
asked by 16.10.2016 / 05:51
1
answer

Integrate Spark using maven

Hello. I bought the theme + spark layout of primefaces. In the community I wrote that to use the layout. I would have to import the spark-theme.1.0.war file. Once it was imported, the full set of spark primeface would appear. I d...
asked by 14.04.2015 / 23:01
1
answer

JPA / Primefaces - Add / Remove records from a child table

I have a problem with a cadastral panel. There is a store network registry in which I am taking care of the implementation. I can normally insert and remove dataTable items, but this is not reflected in the base in the burning process - when...
asked by 30.11.2015 / 20:14
1
answer

PrimeFaces Mobile does not work p: poll

I am implementing p:poll on a page that user can see their updated position in a queue. I tried running on a page but it did not work, the updated position in the queue was left blank in the field using Primefaces Mobile API, see the page...
asked by 28.04.2015 / 05:44
1
answer

How to get the values of the last 4 columns with Jquery

I have a panelGrid , and would like to know how to get the last 4 elements before a certain one of the same line. That is, I have a line, and the last element will receive the sum of the previous four. Thank you     
asked by 05.12.2015 / 19:13
2
answers

SelectOneMenu is not fed

I have p:selectOneMenu and would like it to be fed with data in the database as soon as the page loads: page.xhtml <p:selectOneMenu id="carros"> <f:selectItem itemLabel="Carros" itemValue="0"/> <f:selectItems v...
asked by 30.11.2014 / 22:11
1
answer

Help for viewing MegaMenu firstfaces

Good colleagues, I'm having a problem with the MegaMenu component of primefaces I liked the components to be visible to the users but they are hidden behind the central region, so I would like to bring it forward. How can I do that? I tried to u...
asked by 28.12.2018 / 11:37
1
answer

How to make a Spinner that only accepts numbers in PrimeFaces?

I'm using PrimeFaces for a college project. How do I make "Spinner" not accept "Characters" only numbers? Idade: <p:spinner id="spinnerBasic" max="120" value="#{spinnerController.number1}"/>     
asked by 18.05.2014 / 01:19
2
answers

Select all checkbox when clicking another checkbox of PrimeFaces

I'm having a question, how do I select all checkboxes that are inside a panelgrid? I have seen that it is possible to do this via javaScript. But I was in doubt about how to execute the method because to select all. At first he wanted to see...
asked by 22.03.2014 / 20:38