Cant remember what the mootip panel are doing..

heres the link for the source though:

https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/jdk-1.5-parent/minis-parent/minis/src/main/java/org/wicketstuff/minis/mootipbehavior/



2011/7/12 Rodrigo Heffner <[email protected]>:
> Thanks again, Martin.
>
> I realised earlier that the below only renders the default browser
> title attribute, so no CSS editing for it:
>
> add(new Label("tooltip01", "this is tool tip 01").add(new MootipBehaviour(
> "This is my tool tip",
> "I can be very long and even have formatting like <br /> and be
> <strong>strong</strong>")));
>
> Then I tried the following code, but I can't find the class MooPanel:
>
> MootipSettings mooSettings = new MootipSettings();
> mooSettings.setEvalAlways(true);
> MootipBehaviour behaviour = new MootipBehaviour(new MooPanel());
> behaviour.setMootipSettings(mooSettings);
>
> add(new Label("tooltip02", "this is tool tip 02").add(behaviour));
>
> My dependency for this is:
>
> <dependency>
>            <groupId>org.wicketstuff</groupId>
>            <artifactId>minis</artifactId>
>            <version>1.4.15</version>
>            <type>jar</type>
> </dependency>
>
> Any ideas, anyone?
>
> Sorry for all the questions
>
> On Tue, Jul 12, 2011 at 3:44 PM, Martin Grigorov <[email protected]> wrote:
>> On Tue, Jul 12, 2011 at 4:42 PM, rodrigo.bezerra
>> <[email protected]> wrote:
>>> Thank you very much, Martin.
>>>
>>> I'm using something very similar to the example:
>>>
>>> add(new Label("tooltip01", "this is tool tip 01").add(new MootipBehaviour(
>>> "This is my tool tip",
>>> "I can be very long and even have formatting like <br /> and be
>>> <strong>strong</strong>")));
>>>
>>> Two questions:
>>> - Where can I edit the Tooltip's CSS? As of now, I see a squared box with a
>>> yellow background.
>> I guess MootipBehavior should deliver this CSS as PackageResourceReference
>>> - Can I set some setting so I can select the text inside the tooltip? When I
>>> move my mouse in the direction of the tooltip, it disappears.
>> I have no experience with Mootip...
>>>
>>> Again, thank you for your help and prompt response.
>>>
>>> --
>>> View this message in context: 
>>> http://apache-wicket.1842946.n4.nabble.com/best-way-to-add-tooltips-in-wicket-tp1882871p3662487.html
>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>
>>
>>
>> --
>> Martin Grigorov
>> jWeekend
>> Training, Consulting, Development
>> http://jWeekend.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>
>
>
> --
> Rodrigo H M Bezerra
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to