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="#...
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?
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="">
&...
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...
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...
Why are not my components equal to% primefaces rendered in full?
Normal component of primefaces:
Myrenderedcomponent: Imageoftheproblem.Howtochangetheprimecss?
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....
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...
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"...
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 ,...