Hi
Using "$this->base" is probably better.
It's a property that's available in both controllers and views, and
which contains the root cake path...
Then your url would look like this :
contentUrl: "base ?>/generals/view"+viewId
It's better because you won't need to change it all the time in cas
I'm glad it worked for you!
On Jan 21, 11:06 am, ryoungsma <[EMAIL PROTECTED]> wrote:
> Thank you so much for the help. With your guidance I was able to work
> this out. If interested here is the what it looks like.
>
>
> function createNewWindow(id)
> {
> var host ='
Thank you so much for the help. With your guidance I was able to work
this out. If interested here is the what it looks like.
function createNewWindow(id)
{
var host ='';
var viewId = id;
var newWindowModel = new DHTMLSuite.windowModel(
{windowsTheme:false,i
OK, a couple of things. First, I've never used DHTML Suite, but this
works for me using extjs. I think it will work for you, too.
First, try hard-coding your url:
contentUrl: 'http://localhost/myapp/vendor/view/107' //or whatever
your url is :-)
Note: if you put localhost in, you have to call
Here is the js code to generate the window
function createNewWindow()
{
var newWindowModel = new DHTMLSuite.windowModel(
{windowsTheme:false,id:'newWindow',
title:'New dynamically created window',
xPos:200,yPos:200,minWidth:400,minHeight:600 } );
newWindowModel.addTab({ id:'myTab',htmlElementId:
Can you show the relevant js code? Specifically, how are you
inputting the url?
On Jan 21, 7:29 am, ryoungsma <[EMAIL PROTECTED]> wrote:
> I am looking at using the DHTML Suite (dhtmlgoodies.com) with my
> application. I am using their Window Widget to retrieve some
> information via AJAX. The
I am looking at using the DHTML Suite (dhtmlgoodies.com) with my
application. I am using their Window Widget to retrieve some
information via AJAX. The issue is that it uses the URL as a
parameter when when you create the window from Javascript. Cake
always seems to return a message that it is