Questions tagged as 'primefaces'

1
answer

Change validation behavior on Primefaces components

I have 2 generic templates for crud . (% 2) The search for the template CRUD . XHTML (Code 2) has the following logic: (When you open the page, all input fields are disabled when you click the first time on the Search button, it enables all...
asked by 25.08.2015 / 20:31
1
answer

Changed data in the database is not displayed in the PrimeFaces DataTable

I'm trying to disable the JPA cache (EclipseLink 2.5.2) through "persistence.xml", but it is not working. Changes made to tables, externally to the application, are not displayed in the PrimeFaces 5.0 DataTable with JSF 2.2. Environment: N...
asked by 13.04.2015 / 19:08
1
answer

How to make the p: editor of primefaces escape the special characters typed by the user before writing them?

I'm using the component of primefaces. My problem is that it is recording the accents that the user types in the text without doing the proper escaping HTML. Is it possible to change this so that he knows that the letter is an accent and needs...
asked by 16.04.2015 / 15:59
1
answer

How to pass parameter to a dialog with PrimeFaces?

I'm calling a Dialog through a button in JSF with PrimeFaces 5.1 enabling Dialog through onstart="PF('iconeDeProcessamento').show()" of the button. Does anyone know if it is possible to pass a parameter to the dialog?...
asked by 06.01.2015 / 17:44
2
answers

Component eg: MasterDetail does not work on dynamic pages

I'm developing a web application that aims to work like Facebook. During browsing the page is not reloaded, loading via AJAX only the central content. I'm using PrimeFaces 4.0 and PrimeFaces Extension 1.2.1 But when my page (from the centr...
asked by 01.02.2014 / 03:07
2
answers

Only display month and year in primefaces calendar

As remover os dias of the primefaces ? / p> I tried the configuration below, but the days are displayed when the component is re-weighted. <p:calendar id="dataTeste" pattern="MM/yyyy" /> Here is the rendered component image:...
asked by 17.04.2014 / 17:12
2
answers

Open Dialog on primefaces as soon as the open screen

I have a login screen where I have a Dialog with the Login and Password fields. I wish he would open it as soon as the screen was opened. I read that from version 4.1 of primefaces I have to call Dialog this way: PF('widgetVar').show() bu...
asked by 10.06.2015 / 15:12
1
answer

Dates Conversion to the Mysql database

Hello! Well, I'm using xhtml and primefaces. In my xhtml page, I have a date field and I use the converter to save to the database, I have a problem with the day. If I want to save 04/30/1989 In the database saved 1989/04/29 My fi...
asked by 02.11.2014 / 17:20
2
answers

Doubt about web application chat with Java and PrimeFaces

Well, I'd like to ask a question. I have to make some kind of chat where people can talk to each other. It will work just like a chat of Facebook or WhatsApp for example, but I do not have any database or reference that I can s...
asked by 24.06.2015 / 19:15
1
answer

SelectOneMenu of Primefaces selects an item by pressing a shortcut key with CTRL

I have forms in JSF with some keyboard shortcuts, for example, CTRL + S triggers submit to save the data. The problem is that when a key combination is pressed in a <p:selectOneMenu> field, the first item starting with S...
asked by 16.05.2014 / 21:09