This content has been marked as final.
Show 6 replies
-
1. Re: How do you add rich:tooltip to a rich:calendar?
nbelaevski Sep 14, 2009 7:29 AM (in response to oneworld95)Hi,
Add tooltip after the calendar and either enclose both components into a4j:outputPanel or use "for" attribute to point to calendar component. -
2. Re: How do you add rich:tooltip to a rich:calendar?
oneworld95 Sep 14, 2009 8:24 AM (in response to oneworld95)Thanks, nbelaevski. The "for" attribute did the trick.
-
3. Re: How do you add rich:tooltip to a rich:calendar?
alesya Sep 16, 2009 12:46 AM (in response to oneworld95)Hi oneworld95,
Can you please post the code which is working fine?
I'm having similar problem as yours.
Thanks. -
4. Re: How do you add rich:tooltip to a rich:calendar?
oneworld95 Sep 16, 2009 8:48 AM (in response to oneworld95)Here's the working code:
<rich:calendar id="calDueDate" value="#{webencode.dueDateTime}" datePattern="MM-dd-yyyy HH:mm a" showApplyButton="true"/> <rich:toolTip showEvent="onmouseover" stopEvent="onclick" followMouse="true" direction="top-right" showDelay="300" styleClass="tooltip tooltip_custom" id="tltTime" for="calDueDate"> <span style="white-space:nowrap"> To add the time, choose the date first, then click the time at the bottom of the calendar. </span> </rich:toolTip>
-
5. Re: How do you add rich:tooltip to a rich:calendar?
alesya Sep 17, 2009 3:32 AM (in response to oneworld95)Thank you very much for the code :)
The code enables the tooltip to be shown on the calendar.
But how do you make the tooltip to be shown on the date input field, instead? -
6. Re: How do you add rich:tooltip to a rich:calendar?
oneworld95 Sep 17, 2009 8:19 AM (in response to oneworld95)You're welcome, alesya. That was something I wondered about, too. Maybe one of the experts on this forum can answer that.