Just use prototip from minies, very flexible. Only cons are missing ajax support, and a little trouble with modal windows.

http://www.nickstakenburg.com/projects/prototip/
http://wicketstuff.org/confluence/display/STUFFWIKI/wicketstuff-minis-prototip

Theres also something in the scriptaculus and dojo contribs about this..

Clay Lehman wrote:
Im working with the javascript tooltip shows here:
http://codylindley.com/Javascript/219/finding-a-javascript-tool-tip-scri
pt

It requires that you add a DIV to the bottom of the page, and call some
javascript (after any links/tooltips have been added) and if I add the
DIV more than once, all added tooltips don't work.

For now I will look into Ryan's suggestion, but it would be cool if this
could be a standalone component, so let me know if you have any ideas...

Thanks!
-Clay
-----Original Message-----
From: Nino Saturnino Martinez Vazquez Wael
[mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 12:35 PM
To: [email protected]
Subject: Re: append HTML to a page ONE time

Can you elaborate on why you need to do this? Maybe it can be twisted a bit to fit in?




Clay Lehman wrote:
I am making a component that has to have a DIV appended to the page to
work properly, but the problem is, this DIV has to be appended exactly
once, even if multiple objects of the component are added to the page.
It actually needs to be added at the end of the page too, sort of like
the opposite of IHeaderContributor.
Does anyone know of a way to handle this type of thing for a custom
wicket component?  Adding HTML to the bottom of the page one time even
if the component is added to the page several times?

Thanks for any help!

-Clay




--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to