sections.tooltip.globalLimitedTooltips.xhtml Maven / Gradle / Ivy
Global tooltip uses title values of JSF components. Global tooltips are normally applied to all components on a page.
But this behavior can be done much smarter. Global tooltips can be limited to specified components by the "for" attribute.
The example below shows a case when tooltips only appear for components which didn't pass validation (in this case required inputs).
This is a quite nice replacement for regular error messages.
${showcase:getFileContent('/sections/tooltip/example-globalLimitedTooltips.xhtml')}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy