Re: Ajax Response xml showing in browser
Sorry, but I wasn't looking for a solution. I have no way to reproduce the issue. It seemed like you were making good progress in your other thread. However, if you're able to create a quickstart that can reliably reproduce the issue, the core devs will certainly be interested in taking a look at it. -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On Fri, Aug 12, 2011 at 12:27 AM, Wayne W wrote: > Hi Jeremy, > > did you find a solution as we've had the problem for a long time now > and more and more people are reporting it as they move over to FF and > Chrome? > > > On Tue, Jan 25, 2011 at 3:39 AM, Jeremy Thomerson > wrote: > > Perhaps this thread will help: > > > http://apache-wicket.1842946.n4.nabble.com/Ajax-response-render-as-source-in-the-browser-tt3028722.html > > > > -- > > Jeremy Thomerson > > http://wickettraining.com > > *Need a CMS for Wicket? Use Brix! http://brixcms.org* > > > > On Mon, Jan 24, 2011 at 9:48 AM, Igor Vaynberg >wrote: > > > >> please attach a quickstart that reproduce it to a jira issue. > >> > >> -igor > >> > >> On Sun, Jan 23, 2011 at 10:40 PM, Jeffrey Schneller > >> wrote: > >> > Got an odd issue occurring where the Ajax Response xml is showing in > the > >> > browser rather than modifying the DOM of the page as it usually does. > >> > The scenario is the following: > >> > > >> > > >> > > >> > My Login page is abstract and has an abstract method called > >> > onLoginSuccess. > >> > > >> > When the login is successful we call onLoginSuccess. > >> > > >> > > >> > > >> > > >> > > >> > Abstract Class called LoginLink which extends AjaxLink > >> > > >> > LoginLink has an abstract method called onSuccess() and > >> > onAlreadyLoggedIn() > >> > > >> > The Login page is constructed and has it's abstract method > >> > onLoginSuccess defined to call onSuccess() > >> > > >> > The onClick method of LoginLink does a setResponsePage to my Login > page > >> > if not already logged in and calls onAlreadyLoggedIn() if the user is > >> > already logged into the site. > >> > > >> > > >> > > >> > I have a page called Page1 which contains a LoginLink. > >> > > >> > The onSuccess() method is defined to setResponsePage() to the page I > >> > ultimately need to go to say Page2. > >> > > >> > The onAlreadyLoggedIn() method is defined to setResponsePage() to the > >> > page I ultimately need to go to say Page2. > >> > > >> > > >> > > >> > On Page2, there are AjaxButtons to submit forms. If any button is > >> > clicked I get the AjaxResponse xml showing in the browser window. > >> > > >> > > >> > > >> > Any ideas on how to solve this? Is there another way of doing this > >> > interaction with built in wicket components. > >> > > >> > > >> > > >> > Thanks. > >> > > >> > > >> > > >> > Jeff > >> > > >> > > >> > > >> > > >> > > >> > > >> > >> - > >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > >> For additional commands, e-mail: users-h...@wicket.apache.org > >> > >> > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Ajax Response xml showing in browser
Hi Jeremy, did you find a solution as we've had the problem for a long time now and more and more people are reporting it as they move over to FF and Chrome? On Tue, Jan 25, 2011 at 3:39 AM, Jeremy Thomerson wrote: > Perhaps this thread will help: > http://apache-wicket.1842946.n4.nabble.com/Ajax-response-render-as-source-in-the-browser-tt3028722.html > > -- > Jeremy Thomerson > http://wickettraining.com > *Need a CMS for Wicket? Use Brix! http://brixcms.org* > > On Mon, Jan 24, 2011 at 9:48 AM, Igor Vaynberg wrote: > >> please attach a quickstart that reproduce it to a jira issue. >> >> -igor >> >> On Sun, Jan 23, 2011 at 10:40 PM, Jeffrey Schneller >> wrote: >> > Got an odd issue occurring where the Ajax Response xml is showing in the >> > browser rather than modifying the DOM of the page as it usually does. >> > The scenario is the following: >> > >> > >> > >> > My Login page is abstract and has an abstract method called >> > onLoginSuccess. >> > >> > When the login is successful we call onLoginSuccess. >> > >> > >> > >> > >> > >> > Abstract Class called LoginLink which extends AjaxLink >> > >> > LoginLink has an abstract method called onSuccess() and >> > onAlreadyLoggedIn() >> > >> > The Login page is constructed and has it's abstract method >> > onLoginSuccess defined to call onSuccess() >> > >> > The onClick method of LoginLink does a setResponsePage to my Login page >> > if not already logged in and calls onAlreadyLoggedIn() if the user is >> > already logged into the site. >> > >> > >> > >> > I have a page called Page1 which contains a LoginLink. >> > >> > The onSuccess() method is defined to setResponsePage() to the page I >> > ultimately need to go to say Page2. >> > >> > The onAlreadyLoggedIn() method is defined to setResponsePage() to the >> > page I ultimately need to go to say Page2. >> > >> > >> > >> > On Page2, there are AjaxButtons to submit forms. If any button is >> > clicked I get the AjaxResponse xml showing in the browser window. >> > >> > >> > >> > Any ideas on how to solve this? Is there another way of doing this >> > interaction with built in wicket components. >> > >> > >> > >> > Thanks. >> > >> > >> > >> > Jeff >> > >> > >> > >> > >> > >> > >> >> - >> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org >> For additional commands, e-mail: users-h...@wicket.apache.org >> >> > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Ajax Response xml showing in browser
Perhaps this thread will help: http://apache-wicket.1842946.n4.nabble.com/Ajax-response-render-as-source-in-the-browser-tt3028722.html -- Jeremy Thomerson http://wickettraining.com *Need a CMS for Wicket? Use Brix! http://brixcms.org* On Mon, Jan 24, 2011 at 9:48 AM, Igor Vaynberg wrote: > please attach a quickstart that reproduce it to a jira issue. > > -igor > > On Sun, Jan 23, 2011 at 10:40 PM, Jeffrey Schneller > wrote: > > Got an odd issue occurring where the Ajax Response xml is showing in the > > browser rather than modifying the DOM of the page as it usually does. > > The scenario is the following: > > > > > > > > My Login page is abstract and has an abstract method called > > onLoginSuccess. > > > > When the login is successful we call onLoginSuccess. > > > > > > > > > > > > Abstract Class called LoginLink which extends AjaxLink > > > > LoginLink has an abstract method called onSuccess() and > > onAlreadyLoggedIn() > > > > The Login page is constructed and has it's abstract method > > onLoginSuccess defined to call onSuccess() > > > > The onClick method of LoginLink does a setResponsePage to my Login page > > if not already logged in and calls onAlreadyLoggedIn() if the user is > > already logged into the site. > > > > > > > > I have a page called Page1 which contains a LoginLink. > > > > The onSuccess() method is defined to setResponsePage() to the page I > > ultimately need to go to say Page2. > > > > The onAlreadyLoggedIn() method is defined to setResponsePage() to the > > page I ultimately need to go to say Page2. > > > > > > > > On Page2, there are AjaxButtons to submit forms. If any button is > > clicked I get the AjaxResponse xml showing in the browser window. > > > > > > > > Any ideas on how to solve this? Is there another way of doing this > > interaction with built in wicket components. > > > > > > > > Thanks. > > > > > > > > Jeff > > > > > > > > > > > > > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >
Re: Ajax Response xml showing in browser
please attach a quickstart that reproduce it to a jira issue. -igor On Sun, Jan 23, 2011 at 10:40 PM, Jeffrey Schneller wrote: > Got an odd issue occurring where the Ajax Response xml is showing in the > browser rather than modifying the DOM of the page as it usually does. > The scenario is the following: > > > > My Login page is abstract and has an abstract method called > onLoginSuccess. > > When the login is successful we call onLoginSuccess. > > > > > > Abstract Class called LoginLink which extends AjaxLink > > LoginLink has an abstract method called onSuccess() and > onAlreadyLoggedIn() > > The Login page is constructed and has it's abstract method > onLoginSuccess defined to call onSuccess() > > The onClick method of LoginLink does a setResponsePage to my Login page > if not already logged in and calls onAlreadyLoggedIn() if the user is > already logged into the site. > > > > I have a page called Page1 which contains a LoginLink. > > The onSuccess() method is defined to setResponsePage() to the page I > ultimately need to go to say Page2. > > The onAlreadyLoggedIn() method is defined to setResponsePage() to the > page I ultimately need to go to say Page2. > > > > On Page2, there are AjaxButtons to submit forms. If any button is > clicked I get the AjaxResponse xml showing in the browser window. > > > > Any ideas on how to solve this? Is there another way of doing this > interaction with built in wicket components. > > > > Thanks. > > > > Jeff > > > > > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Ajax Response xml showing in browser
Got an odd issue occurring where the Ajax Response xml is showing in the browser rather than modifying the DOM of the page as it usually does. The scenario is the following: My Login page is abstract and has an abstract method called onLoginSuccess. When the login is successful we call onLoginSuccess. Abstract Class called LoginLink which extends AjaxLink LoginLink has an abstract method called onSuccess() and onAlreadyLoggedIn() The Login page is constructed and has it's abstract method onLoginSuccess defined to call onSuccess() The onClick method of LoginLink does a setResponsePage to my Login page if not already logged in and calls onAlreadyLoggedIn() if the user is already logged into the site. I have a page called Page1 which contains a LoginLink. The onSuccess() method is defined to setResponsePage() to the page I ultimately need to go to say Page2. The onAlreadyLoggedIn() method is defined to setResponsePage() to the page I ultimately need to go to say Page2. On Page2, there are AjaxButtons to submit forms. If any button is clicked I get the AjaxResponse xml showing in the browser window. Any ideas on how to solve this? Is there another way of doing this interaction with built in wicket components. Thanks. Jeff