Questions tagged as 'primefaces'

1
answer

Message is not displayed

Within my form has a autocomplete , when triggering the autocomplete and if the previous field has not been filled I want to trigger a message stating that the previous field must be filled in. I configured but the message is not di...
asked by 03.02.2017 / 14:52
1
answer

Call javascript function not managed bean

I'm using the JSF framework with primefaces 6.0 and as I'm new, I'm having trouble calling a javascript when finalizing a method with a @RequestScoped scope bean. How can I do this? Is there any other way using this scope? I want to call a sc...
asked by 07.09.2016 / 17:14
1
answer

Call page xhtml by commandButton

I'm implementing the toolbar component of primefaces and inside this component there are several commandButtons that I need when clicking it call another xhtml page of my project. How to do? ex: <p:commandButton type="button" value="Cadastr...
asked by 16.05.2016 / 12:54
1
answer

Error - JSF and PrimeFaces

Error when trying to register user, the following message appears: accordion:dtNasc: '22-02-1990' could not be understood as a date. XHTML: <p:outputLabel class="lt" value="Data de Nascimento:" /> <p:calendar id="dtNasc" value="#...
asked by 18.05.2016 / 14:15
1
answer

Javascript on page JSF - PrimeFace

HTML code - JAVASCRIPT It read a txt file from the computer and puts its value into an html input <input type="file" id="files" name="files[]" multiple /> <input type="text" required name="txtstart" style="width:150px" value=""> &...
asked by 09.03.2016 / 04:02
3
answers

JSF + PrimeFaces - HTTP Error 404

Good morning, Web is not my beach but I want to learn. I created the project as "Dynamic Web" then convert to Maven because it was giving some errors and way that stopped from giving error was described above. I did not make any settings o...
asked by 14.12.2015 / 15:40
1
answer

Why does my selectOnMenu of primefaces get rendered differently?

Why are not my components equal to% primefaces rendered in full? Normal component of primefaces: Myrenderedcomponent: Imageoftheproblem.Howtochangetheprimecss?     
asked by 15.10.2015 / 01:55
1
answer

Prime-faces does not run the "SAM" theme

When I run my main.xhtml page, the theme does not appear next to The project tree is attached. Web.xmlfile<?xmlversion="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java....
asked by 23.01.2016 / 14:07
1
answer

How to render a jsf component through Bean?

I need to render a jsf component (Primefaces) through the Bean. I have a selectOneMenu that changes the type of person (physical / legal) and I need to render the field "CPF", since I use the same field for CPF / CNPJ and when changing the type,...
asked by 06.11.2015 / 23:17
1
answer

I can not get value from my form

I created this form and can not redeem the values of it in the Bean. Follow form and parts of the bean. Form <h:form id="form"> <p:commandButton value="Salvar" icon="ui-icon-document" class="botaoDataTable"...
asked by 30.11.2015 / 18:20