Tooltip on modal popup

UI Components for JSF
Post Reply
smooth4me
Posts: 47
Joined: 16 Jul 2010, 18:11

14 Jun 2011, 15:27

Hi,

I am using primefaces dialog. I need to display tool tip on the modal popup but it is not displaying on the popup it is displaying behind the modal dialog.

This is how I coded it

Code: Select all

<h:outputLink id="activityLevelHelpLink" styleClass="activityLevelHelpLink blueHrefBold" rel="#activityLevelHelp">
									<h:graphicImage value="/images/Question_Mark.gif" width="10" height="10"/>									
								</h:outputLink>
								
								<p:tooltip for="activityLevelHelpLink" layout="block" value="
										<p>Personal Activity Level Help</p>
	               						<ol>
	        								<li>Inactive: Sedentary job and no recreational activity</li>
	        								<li>Moderately inactive: Sedentary job with 30 minutes of recreational activity per day or standing job.</li>
	        								<li>Moderately active: Sedentary job with 30 to 60 minutes of recreational activity per day or standing job with 30 minutes recreational activity per day or physical job with no recreational activity</li>
	        								<li>Active: Sedentary job with greater than 1 hour recreational activity per day or Standing job with 30 minutes recreational activity per day or physical job with at least some recreational activity or heavy manual job</li>
	        							</ol>" />
Thanks for your help in advance.

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

14 Jun 2011, 17:52

try changing the z-index of the tooltip in css

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 44 guests