Update: This worked for me.  I have added a wiki article, in case anyone else
needs help implementing this sort of behavior.

http://cwiki.apache.org/confluence/display/WICKET/Adding+Dynamic+Field+Prompts+or+Hints



igor.vaynberg wrote:
> 
> i think the best thing to do is to use javascript for this rather then an
> ajax trip back to the server. i have done this exact thing in the past
> with
> mootools and it worked out very nicely.
> 
> check out mootools and their tooltips class. what i did was copy and paste
> and rename that class, change the events from onmousein/out to
> onfocus/blur.
> i also changed it to read its tooltip from a tooltip property, so all i
> have
> to do is to have something like this:
> 
> <input type="text" wicket:id="foo" tooltip="Enter the first name of your
> pet"/>
> 
> -igor
> 
-- 
View this message in context: 
http://www.nabble.com/Ajax-Component-Display-Question-tf3234442.html#a9006190
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to