Re: best way to add tooltips in wicket

2011-07-13 Thread Rene Peters
Hi there, I am trying to use mootips with mixed success. I've added it to a label on my page but when I run it I get an alert box saying "Unable to get the value of the property 'msDropDown': object is null or undefined". It seams like a javacript error but I really have no idea about the how and

Re: best way to add tooltips in wicket

2011-07-13 Thread Rodrigo Heffner
Don't worry about the synchronization of markup ids. Inside my "populateItem" method I did: Label moreInfo = new Label("more-info", "more-info"); moreInfo.setOutputMarkupId(true); moreInfo.setMarkupId("more-info" + listItem.getIndex()); and the same thing with the

Re: best way to add tooltips in wicket

2011-07-13 Thread Rodrigo Heffner
Thank you. This is what I get when I tried the same stuff on the archetype: the visibility of the tooltip flickers between hidden and visible when I'm hovering the label. Each time it flickers, the tooltip "top" position receives some negative hundreds. I've attached the situation and my firebug c

Re: best way to add tooltips in wicket

2011-07-12 Thread nino martinez wael
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 : > Thanks

Re: best way to add tooltips in wicket

2011-07-12 Thread Rodrigo Heffner
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 and be strong"))

Re: best way to add tooltips in wicket

2011-07-12 Thread Martin Grigorov
On Tue, Jul 12, 2011 at 4:42 PM, rodrigo.bezerra 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 a

Re: best way to add tooltips in wicket

2011-07-12 Thread rodrigo.bezerra
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 and be strong"))); Two questions: - Where can I edit the Tooltip's CS

Re: best way to add tooltips in wicket

2011-07-12 Thread Martin Grigorov
See https://github.com/wicketstuff/core/blob/master/jdk-1.5-parent/minis-parent/minis-examples/src/main/java/org/wicketstuff/minis/MooTipPage.java The impl is in https://github.com/wicketstuff/core/blob/master/jdk-1.5-parent/minis It is available in Maven repos too. On Tue, Jul 12, 2011 at 3:56

Re: best way to add tooltips in wicket

2011-07-12 Thread rodrigo.bezerra
Hi guys. I'm very new to wicket and I'm trying to add tooltips on a project. Do you have any tutorials / examples using mootips? I've searched for this for a while now but couldn't find much besides this thread. Ideally I'd like something like this (http://jqwicket.appspot.com/tiptip). I've tried

Re: best way to add tooltips in wicket

2011-06-16 Thread nino martinez wael
If I remember correctly modal windows has max z-index that can be defined, so it's hard to set the tooltip over.. But one could overwrite the style for the modal window... But is likely to have been changed since wicket 1.3.. 2011/6/14 Martin Grigorov : > fix its zIndex css property > use firebug

Re: best way to add tooltips in wicket

2011-06-14 Thread Martin Grigorov
fix its zIndex css property use firebug to find what value to use On Sat, Jun 11, 2011 at 12:00 PM, tapas.23571113 wrote: > Thanks for mootipbehavior. It is awesome. But I would like to inform you that > it isn't working well if I use it any component resides in a ModalWindow. In > that case it i

Re: best way to add tooltips in wicket

2011-06-14 Thread tapas.23571113
Thanks for mootipbehavior. It is awesome. But I would like to inform you that it isn't working well if I use it any component resides in a ModalWindow. In that case it is appearing behind the window. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/best-way-to-add-tool

Re: best way to add tooltips in wicket

2009-05-08 Thread nino martinez wael
very strange i'll look into it soon, when I get the app thats gonna use it up to 1.4 2009/5/7 RoyBatty : > > Thanks Nino. > > A little bit more input on the Mootip performance bit, if you're interested. > Basically, when we're using it it behaves quite differently from the mootip > examples you ca

Re: best way to add tooltips in wicket

2009-05-07 Thread RoyBatty
Thanks Nino. A little bit more input on the Mootip performance bit, if you're interested. Basically, when we're using it it behaves quite differently from the mootip examples you can see on their page. here's what happens: When a Mootip is added to, for example, a label, and you drag the mous

Re: best way to add tooltips in wicket

2009-05-06 Thread nino martinez wael
Hi Roy Regarding 1. You should be able to tweak settings as you want theres a showdelay setting you can setup. And a lot more settings regarding timeout etc if wanted.. Regarding 2: No it seems it has to have a title at least my wrappers, you could try to set maxTitleChars to 0, int the mootip se

Re: best way to add tooltips in wicket

2009-05-06 Thread James Carman
Have you tried using overLIB? I've got some code if you're interested. On Wed, May 6, 2009 at 2:59 AM, RoyBatty wrote: > > Hi Nino, > > regarding Mootip, to sum up what i've noted: > > 1. while i think Mootip looks better than prototip, i felt that it seemed, > well, slower. Basically, when you

Re: best way to add tooltips in wicket

2009-05-06 Thread RoyBatty
Hi Nino, regarding Mootip, to sum up what i've noted: 1. while i think Mootip looks better than prototip, i felt that it seemed, well, slower. Basically, when you move the mouse around mootip updates less frequently and thus appears glitchier than prototip. 2. Another thing was that i couldn'

Re: best way to add tooltips in wicket

2009-05-04 Thread JulianS
RoyBatty wrote: > > Hello, > > i'm quite new to Wicket, and i'm trying to see what is the most common way > of adding tooltip texts to for example a Label in wicket. > > I did find the 10-point-wiki about tooltips > (http://cwiki.apache.org/WICKET/how-to-add-tooltips.html), which seemed > qui

Re: best way to add tooltips in wicket

2009-05-04 Thread nino martinez wael
Please do tell if there are any issues with mootip, do not hesitate to write me (i'll be using it soon).. Im not soo keen todo stuff with prototip, since it's commercial license as of the latest version.. 2009/5/4 Mathias Nilsson : > > yes I have the same exact problem. Tried all settings there i

Re: best way to add tooltips in wicket

2009-05-04 Thread Mathias Nilsson
yes I have the same exact problem. Tried all settings there is in ProtoTip. The only thing that worked was to have onclick to show the tip and close button but this is of course not the way we want it. If you come up with a solution please post it here. Do you experience the same bug with MooTip?

Re: best way to add tooltips in wicket

2009-05-04 Thread RoyBatty
OK folks, regarding this tooltip business we've ended up using prototip for a while now, and while it works, we're not very happy with some of the quirks. More specifically, there are two odd things i'd label as bugs if i was sure that i hadn't done something wrong myself... 1. When you ho

Re: best way to add tooltips in wicket

2009-03-26 Thread RoyBatty
Allright... i don't think i fetch it with ajax, but it doesn't matter. One other thing though - i couldn't see that it was possible to create a MooTip without a header, is that so? I couldn't see that there was a way to set the "addTitle" boolean to false. nino martinez wael wrote: > > There's

Re: best way to add tooltips in wicket

2009-03-26 Thread Roman Zechner
have a look at "sweet titles" http://www.dustindiaz.com/sweet-titles/ James Carman wrote: If you're interested in using static tooltips that are styled, we've had good luck with overlib. On Thu, Mar 26, 2009 at 5:34 AM, RoyBatty wrote: Right, thanks for all the input. I did try mootips n

Re: best way to add tooltips in wicket

2009-03-26 Thread James Carman
If you're interested in using static tooltips that are styled, we've had good luck with overlib. On Thu, Mar 26, 2009 at 5:34 AM, RoyBatty wrote: > > Right, thanks for all the input. > > I did try mootips now, and they both work fine. One thing i noticed, though, > was that mootips seemed to glic

Re: best way to add tooltips in wicket

2009-03-26 Thread nino martinez wael
There's some settings in regard to the glitch thing I think a timer or something I think, but this is only in regard when using ajax.. regards 2009/3/26 RoyBatty : > > Right, thanks for all the input. > > I did try mootips now, and they both work fine. One thing i noticed, though, > was that moot

Re: best way to add tooltips in wicket

2009-03-26 Thread RoyBatty
Right, thanks for all the input. I did try mootips now, and they both work fine. One thing i noticed, though, was that mootips seemed to glich more than prototips, i.e. i seems more performance-heavy? Am i imagining this? :) (i'm setting the mootip up as in the example) Currently we have no nee

Re: best way to add tooltips in wicket

2009-03-26 Thread Stephen Swinsburg
I made my own IconWithToolTip component that renders an icon with a jQuery cluetip on hover. Takes advantage of all the neat jQuery extensions like hoverIntent (did they really meant to hover or did they just wave the mouse around). Welcome to the source if you'd like it. cheers, Steve O

Re: best way to add tooltips in wicket

2009-03-26 Thread nino martinez wael
09:21 > An: users@wicket.apache.org > Betreff: Re: best way to add tooltips in wicket > > > OK, OK, i get it, everyone loves MooTip :) > > The reason i started out with prototip was actually that the mootip > "example" link on the wicketstuff-minis page was broken. &g

Re: best way to add tooltips in wicket

2009-03-26 Thread nino martinez wael
Ok thanks about the pointer, I correct the url.. I forgot todo it after minis was adopted into wicketstuff core 2009/3/26 RoyBatty : > > OK, OK, i get it, everyone loves MooTip :) > > The reason i started out with prototip was actually that the mootip > "example" link on the wicketstuff-minis page

RE: best way to add tooltips in wicket

2009-03-26 Thread Stefan Lindner
Did you already have a look at http://www.walterzorn.com/tooltip/tooltip_e.htm ? -Ursprüngliche Nachricht- Von: RoyBatty [mailto:math...@afjochnick.net] Gesendet: Donnerstag, 26. März 2009 09:21 An: users@wicket.apache.org Betreff: Re: best way to add tooltips in wicket OK, OK, i get

Re: best way to add tooltips in wicket

2009-03-26 Thread RoyBatty
OK, OK, i get it, everyone loves MooTip :) The reason i started out with prototip was actually that the mootip "example" link on the wicketstuff-minis page was broken. (http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis). But if it's easier to change the CSS setting for MooTip

Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
ohh and yeah mootip supports ajax tips, tool tips loaded via ajax... very usefull if you have lots of tips with images / animations... 2009/3/25 nino martinez wael : > The newer version of prototip js is a commercial license, so im not > sure what the future are for it.. Mootip are not.. > > 2009/

Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
The newer version of prototip js is a commercial license, so im not sure what the future are for it.. Mootip are not.. 2009/3/25 RoyBatty : > > I've only tried prototip (obviously...) so far, and it seems to do everything > i need. :) > > > I have one more question though... For minis, all resourc

Re: best way to add tooltips in wicket

2009-03-25 Thread CrocodileShoes
I know on mootips you can create a Moosettings object where you can specify the css class. You can then add those settings to the mootip. I did a quick experiment before and it seemed change the style to the new class defined in my apps css file. Surely Prototips has something similar? -- View

Re: best way to add tooltips in wicket

2009-03-25 Thread RoyBatty
I've only tried prototip (obviously...) so far, and it seems to do everything i need. :) I have one more question though... For minis, all resources - images, js-files and most importantly, .css-files - are located in the same package as the java classes inside the jar. But i'll want to change

Re: best way to add tooltips in wicket

2009-03-25 Thread CrocodileShoes
Does anybody have any thoughts or preferences with regards to Mootips and Prototips? I've briefly glanced at both and Prototip seems to offer more settings, e.g. sticky tips, close buttons etc -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p2

Re: best way to add tooltips in wicket

2009-03-25 Thread RoyBatty
hey, thanks for all the input guys. I have already downloaded the 1.4 one and started playing with it according to the examples. I'm using prototip, it works like a charm! -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22703168.html Sent f

Re: best way to add tooltips in wicket

2009-03-25 Thread CrocodileShoes
Wow, it really is that easy! -- View this message in context: http://www.nabble.com/best-way-to-add-tooltips-in-wicket-tp22697930p22699043.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
I think this is pretty simple aswell : add(new Label("tooltip01", "this is tool tip 01") .add(new MootipBehaviour( "This is my tool tip", "I can be very long and even ha

Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
no you should use this one for 1.4 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.4.0-SNAPSHOT/ But it should be the result of this one : https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/minis-parent/ Im not sure where Jeremys ser

Re: best way to add tooltips in wicket

2009-03-25 Thread CrocodileShoes
I've basically followed the same route as you. I think i'll try mootips as well. Looks like there is a Maven repo here: http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-minis/1.3.0-SNAPSHOT/ RoyBatty wrote: > > Right, thanks. I did find that one, but decided to try Dojo out

Re: best way to add tooltips in wicket

2009-03-25 Thread RoyBatty
Right, thanks. I did find that one, but decided to try Dojo out first (it looked pretty simple from the examples). Dojo, it seems, has no build for 1.4 in their repository, and i can't build it myself for various reasons. So i guess i'll have a go at minis... cheers. -- View this message in cont

Re: best way to add tooltips in wicket

2009-03-25 Thread nino martinez wael
Hehe, we have several ways of doing it... Theres two in wicketstuff minies.. ProtoTip and Mootip, both can do many things.. The mootip has an example page for you aswell.. You can see the video at the end of this article for a small demo: http://ninomartinez.wordpress.com/2008/09/09/apache-wicke