File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I need to show a modal panel from rich:tooltip

 
natarajan ap
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<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
Pie
Posts: 17625
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic