Igor, Thanks for the answer, and you're right indeed. I forgot that I added code in my HeaderContributor that checked if it was an ajax request. Because I found it useless so re-add all the css + js to the page just when you're readding your form after validation or something. But when using the HeaderContributor with the modalwindow, I can never be certain that the css / js is already loaded or not. So I just removed my ajax-check, and now it's working. But can I maybe add some test to check if my HomeMadeReusabel component is inside a ModalWindow? Because now I re-add the js + css every time on an ajax call, and most of the time it's not necessary.
Thanks! Marieke Vandamme -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/ModalWindow-with-Panel-HeaderContributor-in-Panel-not-called-tp3514628p3516743.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org