Fórum
Form Validation
Davies Ojekanmi, modificado 8 Anos atrás.
Form Validation
New Member Postagens: 9 Data de Entrada: 06/04/15 Postagens Recentes
Hi,
After validating a form and there is an error(s), all input in the form are reset to blank. How can I control this behavior?
Thanks.
After validating a form and there is an error(s), all input in the form are reset to blank. How can I control this behavior?
Thanks.
David H Nebinger, modificado 8 Anos atrás.
RE: Form Validation
Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
Code it up so the previous values are retained and used.
Davies Ojekanmi, modificado 8 Anos atrás.
RE: Form Validation
New Member Postagens: 9 Data de Entrada: 06/04/15 Postagens Recentes
Hi David,
Can elaborate your solution? Any code snippet will help. Thanks for your prompt response.
Can elaborate your solution? Any code snippet will help. Thanks for your prompt response.
David H Nebinger, modificado 8 Anos atrás.
RE: Form Validation
Liferay Legend Postagens: 14919 Data de Entrada: 02/09/06 Postagens Recentes
In Vaadin? In JSP? In JSF? Are you using Spring MVC, Liferay MVC, Facelets?
This is not a complex task. It is totally dependent upon what framework you're using. Whatever that framework is, there should be plenty of examples already.
This is not a complex task. It is totally dependent upon what framework you're using. Whatever that framework is, there should be plenty of examples already.
Davies Ojekanmi, modificado 8 Anos atrás.
RE: Form Validation
New Member Postagens: 9 Data de Entrada: 06/04/15 Postagens Recentes
In JSF using Liferay MVC. Thanks.
Philip White, modificado 8 Anos atrás.
RE: Form Validation
Junior Member Postagens: 76 Data de Entrada: 11/03/15 Postagens Recentes
Hello Davies!
Would you please try downloading our jsf2-portlet.war demo and try it in your environment?
Then let us know how that worked for you!
Phil
Would you please try downloading our jsf2-portlet.war demo and try it in your environment?
Then let us know how that worked for you!
Phil
Philip White, modificado 8 Anos atrás.
moved
Junior Member Postagens: 76 Data de Entrada: 11/03/15 Postagens Recentes
moved to Liferay Faces - English!
Phil
Phil