org.chenillekit.tapestry.core.components.Tooltip

shows an tooltip if mouse slides over the declared content.

[JavaDoc]

Component Parameters

Name Type Flags Default Default Prefix Description
clientId String NOT Allow Null prop:componentResources.id literal The id used to generate a page-unique client-side identifier for the component. If a component renders multiple times, a suffix will be appended to the to id to ensure uniqueness.
effect String NOT Allow Null literal the tooltip effect ("blind", "appear", "slide").
title String NOT Allow Null literal the tooltip title.
value String NOT Allow Null literal the tooltip content.

Examples

In this example, we are showing how to use Tooltip.

MyPage.tml

                    
<html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
    <body>
        <h1>Hello Guys and Dolls</h1>

            <div t:type="t5components/Tooltip" title="Info" value="... and here comes the info text ..." effect="blind">
                ... place content here ...
            </div>
    </body>
</html>

                

possible values for the effect paramter are "blind", "appear" and "slide"


Back to index