I encountered somewhat unexpected behavior when I tried using getBodyOnloadContribution(). When adding custom Ajaxhandlers to components I noticed that the getBodyOnloadContribution() is not called when I added the handler to an Image or a Label. It was however called upon loading the page when I added my handler to a WebMarkupContainer.

Is this method meant to hehave this way? If so, I did not find it in the documentation. I think it is logical that the method is also called for Components like Label and Image. I am not really familliar with AjaxHandler's internal code however.

Marco




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to