*
The moose likes JSF and the fly likes I need to show a modal panel from rich:tooltip Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "I need to show a modal panel from rich:tooltip" Watch "I need to show a modal panel from rich:tooltip" New topic
Author

I need to show a modal panel from rich:tooltip

natarajan ap
Greenhorn

Joined: Jul 27, 2010
Posts: 3
<a4jutputPanel layout="block">
<rich:toolTip direction="top-right" mode="ajax"
showDelay="300" layout="block" for="viewlink" value="View">
<a4j:support event="onshow">
<a4j:actionparam name="JobID" value="#{block.BId}"
assignTo="#{Controller.currentBlockId}">
</a4j:actionparam>
</a4j:support>

<a4j:include
viewId="/pages/admin/somepage.xhtml" />
</rich:toolTip>
</a4jutputPanel>


I need to show view page by rich:tooltip
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15962
    
  19

Welcome to the JavaRanch, Nataran!

If you use the "Code" button in the forum message editor to wrap code tags around your sample XML, it won't get messed up.

Tooltips are designed to be short messages that display when you hover a mouse over them and go away when you move the mouse somewhere else. Bringing up a dialog is a different matter.

You can cause a dialog to be opened when you move the mouse pointer over an area without using tooltips, and in fact, that would make more sense, since otherwise the dialog would probably obscure the tooltip text itself. However, popping open a modal dialog just because the mouse moved over part of the screen can be a bit of a shock to the user, so generally it's better to make the dialog show in response to a mouse click.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: I need to show a modal panel from rich:tooltip
 
Similar Threads
<rich:toolTip> problem.
rich:toolTip and a4j:include
h:dataTable and rich:toolTip
rich:contextMenu HOW TO RERENDER some sections!!
Problem with h:message and richfaces