PDA

View Full Version : problem with tabpanel Might be bug



redy
8 Mar 2007, 11:21 PM
i have a jsp page when i run that page individually Java script is working but, when i invoke this page as a tabpanel java script is not working.(i am ussing setUrl() method of the content panel)


(when i rightclick and view source of this page i cant see contents of the new jsp page).


i am calling jsp page from our index page
Click here (javascript:Layout.registerShow())


then i calls registerShow() method from the .js file here i am getting the new page but javascript validations are not working

regPanel=new YAHOO.ext.ContentPanel('center2', {title: 'Register', closable: true});
layout.add('center', regPanel);


registerShow: function(){
tabPanel.unhideTab('center2');
tabPanel.activate('center2');
regPanel.setUrl("merchant_signup.jsp", null, true );
regPanel.refresh();
},

JeffHowden
8 Mar 2007, 11:30 PM
Confirm with firebug that the page is being properly requested and returned by the server.

redy
8 Mar 2007, 11:40 PM
i can see the all my contents of Jsp page, but it is not visible when i right click and check view source

JeffHowden
8 Mar 2007, 11:54 PM
It's not going to be available in view source because it's been added via script. What you're describing isn't a bug with Ext, but a problem not understanding how these sorts of things work. Please continue to seek help in the Help forum, but I'm locking this topic as well.