Questions tagged as 'jsf'

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
2
answers

How to change settings of the persistence.xml file through an external file?

I wanted to know how to change the configuration of the persistence.xml file from an external file. I'm using JSF + JPA. I want to do this not to leave this setting stuck in the source code. Does anyone give me a help?     
asked by 04.08.2016 / 15:02
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
2
answers

Why is not my Bean receiving the submit form?

Why my Bean is not recognizing the attribute of a simple selectOneMenu: I created in my Bean the private Long areaprevencaoId attribute. This attribute is associated with a <p:selectOneMenu> xhtml <h:selectOneMenu...
asked by 14.10.2015 / 02:03
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

Do not move the mouse with p: dialog

Question beast but I did not find it in any corner, I would not allow the user to move the p: open dialog. <p:dialog header="#{MyBean.select.projetos.nome}" widgetVar="lanDialog" modal="false" showEffect="blind" resizable="false"> ...me...
asked by 17.07.2015 / 03:10
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
1
answer

Performance when generating a table in JSF

I'm having a question about how to improve perfomance when generating a table on a page using components JSF and Primefaces . I am generating a table, after doing a SQL query and mapping the object using Hibernate ,...
asked by 09.11.2015 / 17:53