Questions tagged as 'primefaces'

0
answers

Calculation of the user's age from JSF form

For a form of user data I need to record the age either by date of birth or by age, using two fields, one of date of birth and one of age, validating that at least one of them is entered by the user . I'm working with JSF 2.2 and primefaces 6.1...
asked by 10.11.2017 / 00:41
0
answers

Primefaces execute effect by method

Hi, I have a question and if it is possible to do the following, I have a form which already has a "p: effect" <p:panel id="FormularioUsuario"> <h:form id="ConfiguracionUsuario"> <p:c...
asked by 19.09.2017 / 13:36
1
answer

Hide fields on form using Primefaces

I have a problem, I am making a form in primefaces and the following happens to me: View code xhtml <p:panel> <p:selectOneRadio layout="responsive" columns="2" value="#{empresaWizard.empresa.stAceptoMultiswitch}"> <...
asked by 09.09.2017 / 17:11
1
answer

Create a .zip with several FileUpload Primefaces

I need to have several Drag and Drop and in the end create a .zip with all the files that are loaded in them. How can I perform this action since the listener fileUploadListener="# {fileUploadView.handleFileUpload}" is used in each one with i...
asked by 11.08.2017 / 23:09
1
answer

Initialize a list in my bean with only one record?

Good afternoon, my query is the following one I have a bean that initializes me in its method three lists. @PostConstruct public void inicializarBean() { ordenTrabajoRemisionList = ordentrabajoRemisionFacade.findAll(); ordenTrabajoL...
asked by 17.07.2017 / 17:57
0
answers

How to get the name of a selected file in a p: fileupload of primefaces before the upload button is pressed?

I'm working with a p: fileupload in advanced mode using primefaces what I'm trying to do is send a message when selecting a file without having to press the upload or upload button, I just started working with jsf and primefaces, I was reviewing...
asked by 06.07.2017 / 18:19
1
answer

Change the iframe page from within it

Good morning I need a little help with the following: I have a project where I use a page to show a fixed menu and just below is an iframe to show the pages that are specified with each button of the menu Form of the iframe: <h:form i...
asked by 29.06.2017 / 15:50
1
answer

f: convert inside h: output text does not work

I have this code, I'm pulling from a string of type String and drawing dynamically, in view I want it to be shown with a dollar sign but I can not make it happen. Is it because I'm using a string ? <h:outputText value="#{o.c...
asked by 28.06.2017 / 21:06
1
answer

How to insert an image in a p: menubar

could help me with this problem that has been bothering me for a while, I have researched a lot and I have not been able to solve this problem of inserting an image inside my menu bar, I share the image of how the bar looks at this moment and th...
asked by 26.06.2017 / 18:01
1
answer

error update label with selectOneMenu java jsf + primfaces

Good I am trying to print in label the name when selecting an item in a selectOneMenu but I do not capture it the menu works well shows me all the cedulas available in my tables so my selectOneMenu is defined %: <p:selectOneM...
asked by 30.06.2017 / 15:24