Questions tagged as 'primefaces'

3
answers

Primefaces - The variable is not updated

I have the following table in a dialog with a p:commandLink , which when clicked must update the value of the variable encab_idadmision , taken from admv.idadmision . Already review and admv.idadmision has the value,...
asked by 14.09.2016 / 15:01
2
answers

JSF Primefaces And html input

For reasons of requirement, I have to combine components of primefaces and an input file in pure html. Now my question is, can I have the html input inside a JSF form? And that practically the whole view is with PrimeFaces and from a bean to pro...
asked by 23.05.2016 / 19:13
2
answers

redirect from my public void method to an xhtml

I did a validation in a method of type boolean . How is it made from método public void to redirect? I know that a string method with return is enough but I do not know in a signature method void Method: public vo...
asked by 04.05.2016 / 17:48
1
answer

How can I hide a f: selectItem from a p: selectOneRadio in JSF?

Here is the code portion of component p: selectOneRadio <p:selectOneRadio id="console" value="#{archivamientoView.archivamientoDTO.tipoProcesoArchiva}"> <f:selectItem itemLabel="Denuncia" itemValue="...
asked by 19.12.2018 / 17:08
1
answer

I can not use the p: fileUpload .. when I put it in a page xhtml it stops working all the elements contained in the block form

I have a problem when entering the data to a form, when I enter dates and text there is no problem, uploads without problems to the database, but when you put the label: <p:fileUpload mode="simple" value="#{formularioController.cargar}" /...
asked by 27.11.2018 / 22:02
1
answer

how to perform a mathematical operation in the same input, using javaserver faces?

Code xhtml <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:p="http://primefaces.org/ui"> <h:head> <title></title> </h:head> <h:body> <p:layoutUnit p...
asked by 13.12.2018 / 17:33
2
answers

autocomplete paste multiple elements

I have a component of primefaces p:autocomplete my question is if it is possible to paste several elements at the same time. The component: <p:autoComplete dropdown="true" id="instalacion" maxResults="100" value="#{principa...
asked by 24.10.2018 / 18:00
1
answer

Bean does not show parameters sent from DTO

I am programming a mini form, the question is that I have 2 user and institute beans, the user logs in and enters an index where he has to fill out a form, in index I want to show both the user's name and the institute that it logs both in an o...
asked by 12.09.2018 / 21:35
0
answers

Problems with p: ajax

I have a problem with p:ajax within a p:selectOneMenu when selecting an item. It does add but in a specific item it does not add it. That is to say in the image I can add ANTIQUING, STONE SETTING6, but when adding STONE SETTINGs...
asked by 20.07.2018 / 19:49
1
answer

How to hide table?

I'm trying to hide a table by pressing a button but I do not want to work, probably the answer is simple but I have not found it this is my XHTML: <!DOCTYPE html> <html xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java....
asked by 02.08.2018 / 18:33