JSF PRG with validation error

China☆狼群 提交于 2019-12-01 19:11:03

Just submit the form by ajax. It's a matter of adding

<f:ajax execute="@form" render="@form" />

to the command links and buttons. If you're using <h:message(s)>, then I assume that they are in the very same form, otherwise you need to add their client IDs to the render.

Validation errors while submitting the form by ajax won't generate history.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!