Closed jepsar closed 5 years ago
Does something speak against using the existing functions of PrimeFaces or OmniFaces?
BootsFaces understands itself only as a supplement and recommends their use also
"Many people are using PrimeFaces together with BootsFaces. A common strategy is to use BootsFaces to benefit from the layout, and to add PrimeFaces because it has some very advanced widgets." https://showcase.bootsfaces.net/integration/PrimeFaces.jsf
"Current JSF frameworks strengths are mainly they are offering developers lots of rich Components or Widgets. Instead, BootsFaces tries to start from the pillars, focusing first on the page structure and layout: the main goal is helping developers to obtain well-designed and lightweight Websites with little effort." https://www.bootsfaces.net/
My recommendation is to use the solution provided by OmniFaces.
Not sure if this already possible, so this is either a question or a feature request. I would like to execute JavaScript form a bean action. For now I'm using the
oncomplete
attribute of the button, but that requires me to useb:fetchBeanInfos
and wrap the code inif(!validationFailed){...}
.PrimeFaces equivalent:
OmniFaces: