PDA

View Full Version : Please Help Problem with content panel Urgent!!!



redy
8 Mar 2007, 11:33 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'm 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'm calling jsp page from our index page
Click here (javascript:Layout.registerShow())


then i calls registerShow() method from the .js file then a new tabpanel will be displayed in home page but, javascript is not working

layout.beginUpdate();

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

tabPanel=layout.getRegion('center').getTabs();

layout.endUpdate();
},

registerShow: function(){
tabPanel.unhideTab('center2');
tabPanel.activate('center2');

regPanel.setUrl("merchant_signup.jsp", null, true );

regPanel.getUpdateManager();
regPanel.refresh();

},



its very urgent to me i tried my level best but i am unable to rectify it.

Thanks in advance...

JeffHowden
8 Mar 2007, 11:34 PM
Please keep the questions to a single forum (this one; "Help") and don't post the same question multiple times. I'm locking this thread.