Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-12 Thread Marieke Vandamme
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

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-12 Thread Igor Vaynberg
wicket keeps track of header contributions and doesnt contribute the same contribution more then once. -igor On Thu, May 12, 2011 at 1:24 AM, Marieke Vandamme marieke.vanda...@tvh.be wrote: Igor, Thanks for the answer, and you're right indeed. I forgot that I added code in my

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-12 Thread Nicklas Johnson
On a related note, has anyone experienced HeaderContributors being ineffective in IE8 when added via an ajax event? The scenario is that a component with an attached Ibehavior which in turn provides several Javascript HeaderContributors is added to an ajax target (eg,

ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-11 Thread Marieke Vandamme
Hello, This is my situation: Page |- ModalWindow |- Panel |- HomeMadeReusableComponent |- HeaderContributor In this HeaderContributor I override renderHead(IHeaderResponse response). I thought that everything I wrote to the

Re: ModalWindow with Panel - HeaderContributor in Panel not called

2011-05-11 Thread Igor Vaynberg
it is contributed, but wont be visible using view-source because it is added dynamically via ajax and is not in the original source of the page. -igor On Wed, May 11, 2011 at 6:02 AM, Marieke Vandamme marieke.vanda...@tvh.be wrote: Hello, This is my situation: Page  |- ModalWindow