You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Daniel Herb <ph...@gmail.com> on 2007/06/19 10:56:37 UTC
Validation-Error-Tooltip (maybe a bug)
Hello
I want to print out validation-errors with the "t:message"-tag and when I
mouseover the validation-error-text there should be a popup in which is the
summary-error-text.
I have tried that with the following sample code:
<t:popup id="typeTextTooltip"
styleClass="popup"
closePopupOnExitingElement="true"
closePopupOnExitingPopup="true"
displayAtDistanceX="10"
displayAtDistanceY="10" >
<t:message for="typeText" showDetail="false" />
<f:facet name="popup">
<h:panelGroup>
<h:panelGrid columns="1" >
<t:message for="typeText" showSummary="true"/>
</h:panelGrid>
</h:panelGroup>
</f:facet>
</t:popup>
If there is a validation-error the text does not appear.
If I replace the first message-tag with a outputText-tag the outputText is
shown but in the popup is no text.
Now my Question:
Is that a bug? I can't believe nobody has tried that before.
Thank you
--
View this message in context: http://www.nabble.com/Validation-Error-Tooltip-%28maybe-a-bug%29-tf3945089.html#a11190888
Sent from the My Faces - Dev mailing list archive at Nabble.com.
Fwd: Validation-Error-Tooltip (maybe a bug)
Posted by Cagatay Civici <ca...@gmail.com>.
Please ask these kind of questions in users list not dev list.
---------- Forwarded message ----------
From: Daniel Herb <ph...@gmail.com>
Date: Jun 19, 2007 11:56 AM
Subject: Validation-Error-Tooltip (maybe a bug)
To: dev@myfaces.apache.org
Hello
I want to print out validation-errors with the "t:message"-tag and when I
mouseover the validation-error-text there should be a popup in which is the
summary-error-text.
I have tried that with the following sample code:
<t:popup id="typeTextTooltip"
styleClass="popup"
closePopupOnExitingElement="true"
closePopupOnExitingPopup="true"
displayAtDistanceX="10"
displayAtDistanceY="10" >
<t:message for="typeText" showDetail="false" />
<f:facet name="popup">
<h:panelGroup>
<h:panelGrid columns="1" >
<t:message for="typeText"
showSummary="true"/>
</h:panelGrid>
</h:panelGroup>
</f:facet>
</t:popup>
If there is a validation-error the text does not appear.
If I replace the first message-tag with a outputText-tag the outputText is
shown but in the popup is no text.
Now my Question:
Is that a bug? I can't believe nobody has tried that before.
Thank you
--
View this message in context:
http://www.nabble.com/Validation-Error-Tooltip-%28maybe-a-bug%29-tf3945089.html#a11190888
Sent from the My Faces - Dev mailing list archive at Nabble.com.