Questions tagged as 'primefaces'

3
answers

PRIME FACES ("commandButton"):

** How should I implement the code or what is the property of the "Command Button" so that it can only be executed by clicking on it ?? ** I have the following code in which I use Primer faces the "command Button" which is at the beginn...
asked by 16.01.2018 / 18:50
1
answer

Primefaces: EventBusFactory.getDefault () returns null

I am developing an application with Primefaces that uses the pub / sub model provided by this framework. Technology stack: tomcat 8 java 8 primefaces 6 atmosphere-runtime 2.4.7 In the web.xml file, I define the servlet for Pu...
asked by 13.10.2016 / 16:47
1
answer

How to filter accents in a selectCheckboxMenu of primefaces

I have a problem using the selectCheckboxMenu filter, since it does not filter the accents, for example I have this list. But when filtering for example the letter "a", only that character filters me and not the accented one. S...
asked by 20.04.2018 / 23:02
3
answers

How to avoid over writing text in a dialog?

Good morning, This is my code: <p:dialog header="Directorio" widgetVar="dirDialog" modal="true" showEffect="explode" hideEffect="explode" resizable="false"> <p:outputPanel id="dirDetail" style="text-align:center; width: 15...
asked by 17.05.2017 / 18:45
3
answers

what is the best way to not use many if?

I have a combo that is filled with a list, which has 29 elements, and each element by selecting it in the combo displays more fields, then I have the following conditions, what it does is validate which document you selected and render the input...
asked by 12.01.2018 / 16:46
4
answers

Error refreshing table in XHTML (Primefaces JavaWeb)

I have a problem loading a table from a MySQL database. The table is in PrimeFaces and loads the data from the database when I deploy the application. But when I modify a data, even though it loads it into the database, it does not show it in th...
asked by 07.06.2016 / 21:24
2
answers

JSF Primefaces: Bug when exporting selected rows (excel, pdf)

I have a table on which I can select several rows using a checkbox that would be the column selector : <p:dataTable value="#{cityBean.cities}" var="city" id="dt_cities" widgetVar="w_cities" filteredValue="#{c...
asked by 25.10.2016 / 13:54
1
answer

Show image in Java from project directory

I'm doing a web project with JSF and PrimeFaces. When I save an image in the directory of my project and I want to use it at that moment, eclipse shows me this error saying that it does not find the specified route: I have to update the...
asked by 01.07.2016 / 19:29
4
answers

Action on primefaces does not redirect me

Home page: <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmln...
asked by 12.04.2016 / 21:58
1
answer

Capture array values to display in a panelGrid (PrimeFaces)

I do a project using Serverfaces and Primefaces, and I am faced with this situation. I am printing the searches of my page (of hotels) in a dataGrid. In turn, if I select any hotel, it prints me some information I want in a dialog, which contain...
asked by 27.07.2017 / 23:10