Embedding a Wicket Page inside a DIV

2009-08-26 Thread Avinash palicharla
I have a page built in SpringMVC. I have a iFrame in this page that loads a Wicket Page. I want to replace the iFrame with a DIV and load the Wicket page inside the DIV using Ajax. I used Prototype to load the wicket page. The page loads but the wicket javascript does not work anymore. I guess

Re: Embedding a Wicket Page inside a DIV

2009-08-26 Thread Michael Mosmann
Am Mittwoch, den 26.08.2009, 01:29 -0500 schrieb Avinash palicharla: I have a page built in SpringMVC. I have a iFrame in this page that loads a Wicket Page. I want to replace the iFrame with a DIV and load the Wicket page inside the DIV using Ajax. good luck with this one.. does this page

Re: Embedding a Wicket Page inside a DIV

2009-08-26 Thread Avinash palicharla
Thank you :) Yes, the page comes from the same server. I got the Head to work by including the following. = script type=text/javascript

Re: Embedding a Wicket Page inside a DIV

2009-08-26 Thread Avinash palicharla
Solved the problem. We need to extend WebRequestCycleProcessor and return that from our Application class. We also need to extend WebRequestCodingStrategy and return that from our WebRequestCycleProcessor . Following is the code. public class MyWicketApp extends WebApplication{