PDA

View Full Version : viewURL not working?



waldav00
25 Mar 2008, 8:16 PM
Hi there,

During development I have been using a view within the same database as my form with a UIView/grid. Now I need to point to a view in a different database but cannot get it to work. Here is my code, where I changed the viewName: to viewURL:. Also, I have tested the URL I am using and the view will come up in a browser so it is not a pathing issue.

Thanks,
David

Ext.onReady(function(){
var cat = this.userName.value;
view1 = new Ext.nd.UIView({
viewURL : '/TDSOPAdm.nsf/mySOPs',
showSingleCategory : cat,
showCategoryComboBox :false,
showSearch :false,
gridConfig: {
renderTo : 'sops',
width:998,
height:401
}
});
});

waldav00
25 Mar 2008, 8:26 PM
Sorry, please ignore, I had viewURL: instead of viewUrl: (case-sensitive).

intertchelo
4 Feb 2009, 10:13 AM
Hi waldav00, (http://extjs.com/forum/member.php?u=27653)

you said that get embedded one view from another DB using "viewUrl", could you please confirm if is true, because I tired of try but without success :-(.

thank you so much...

jratcliff
4 Feb 2009, 9:01 PM
Hi waldav00, (http://extjs.com/forum/member.php?u=27653)

you said that get embedded one view from another DB using "viewUrl", could you please confirm if is true, because I tired of try but without success :-(.

thank you so much...

This is the same issue as this fix, right?

http://extjs.com/forum/showthread.php?p=283430#post283430