-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in documentation about h:message(s) tooltip="true" #2164
Comments
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented <h:message for="foo" showSummary="true" tooltip="true"/> Assuming there is a detail message, it will use that as the tooltip.. |
@javaserverfaces Commented jsf-ri/systest/web/messages.xhtml |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
@javaserverfaces Commented |
|
http://download.oracle.com/javaee/6/javaserverfaces/2.1/docs/vdldocs/facelets/h/message.html
The tooltip attribute description says
So, I'd expect that the summary is displayed as real message and that detail is displayed as tooltip. However that didn't work as expected.
The "rendering" part of the tag introduction says
So, it's saying that it only works when showDetail="true" is added as well. That is indeed what is happening. But it is displaying the detail as real message and the summary as tooltip.
Who's right? I personally prefer the original tooltip attribute description as it makes more sense. A tooltip is by nature supposed to present more detailed information.
Environment
Mojarra 2.1.2
Affected Versions
[2.1.1]
The text was updated successfully, but these errors were encountered: