Questions tagged as 'primefaces'

0
answers

Problem accessing server through rest

The following happens to me: I need to create a validator to capture the DNI entered in the form, connect to an external server by returning a json if said DNI exists and, depending on the means of transport chosen and the letter that appears...
asked by 21.06.2018 / 18:01
0
answers

Null pointer error when modifying status

On a platform jsf I want to modify only the state attribute of a table. For this I have implemented the following method so that everything that had nothing to do with the state remains as it is, without being modified, but, as there are no chan...
asked by 15.06.2018 / 12:21
1
answer

Disable the flash of the PhotoCam camera

I have a problem with primeFaces and I want the camera to be disabled and re-enabled I have this button that when clicking, the pc camera is enabled. What happens is that as soon as I enter the camera it is already enabled and the component is a...
asked by 04.06.2018 / 05:46
0
answers

Problems with SelecOneMenu of primefaces

When I create a drop-down list with SelectOneMenu of primefaces and execute, when I select a value from the list and by keyboard I press the insert key, the list is updated and shows the default value and not the selected one. If I change the...
asked by 05.06.2018 / 16:39
1
answer

Validate age JSF

When entering the age in a form using JSF I have to verify that the age is in a certain range and if not show an invalid date message. I had thought about using Java code that I had implemented from other years in a class that implements validat...
asked by 16.05.2018 / 20:50
0
answers

Problem with Itext Paragraph and CK PrimeFaces Editor

I have a problem reading java an HTML string generated with Primefaces CK Editor: When applying styles of bold, italics or underlining to the text and changing the font size, the generated html is as follows: In an HTML viewer, the t...
asked by 15.05.2018 / 19:34
1
answer

I want to know if two variables can be passed to a table of primefaces

I have a table of primefaces where I use a variable but I need to pass another variable. I would like to know if that can be done     
asked by 09.05.2018 / 19:37
1
answer

Question about selectOneMenu Primefaces java cascaded

Today I was developing a cascaded selectOneMenu, for that I followed the Primefaces documentation link That being the case, I implemented it in my code to make a cascade of these but in 4 levels: This is the locationBean.java: pa...
asked by 10.05.2018 / 06:04
0
answers

Primefaces button ajax false

I have a button on primefaces: <p:commandButton value="Exportar fichero" action="#{exportarView.exporta}" ajax="false"> The method builds an excel and returns it, all this works well, the problem I have when doing a validation and no...
asked by 09.05.2018 / 18:04
0
answers

Problem with CommandButton

I am creating an application using JAAS, Primefaces and JSF. I want to register a user in a database and I have a problem with the "Accept" button on the form which does nothing. I leave the code: REGISTER VIEW import com.mycompany.pfinal...
asked by 10.05.2018 / 17:58