View Full Version : Using Tabs with jsp

5 Aug 2009, 6:19 AM
I try to load a external Source (jsp, html sites) into my tab using

autoLoad: {url: 'http://localhost/test.html, callback: this.initSearch, scope: this}

It works fine as long as i do not click on a link within the loaded page. If i do so, the link overrides my website and is shown in my browser. But what i want to do is that the link is shown in the old tab overwriting only the tab content within my extJS application. Has somebody an idea?

cheers Joerg

5 Aug 2009, 6:24 AM
your links probably need to be setup to use target="_blank"

5 Aug 2009, 6:24 AM
if you're using an iframe, you might be able to register a global event listener for any anchor tags and intercept the bubbling of the event that causes the site to be changed int he browser.