Greetings,
We've been using version 7, but I have recently begun using version 8. I'm trying to create a simple test case where portlets are added into a single column portalLayout. When add them as members, they are always outside of the portalLayout, instead of inside of it. And if I use PortalLayout.addPortlet() instead, I get "object doesn't support method". Am I missing something obvious?
Thanks
S
We've been using version 7, but I have recently begun using version 8. I'm trying to create a simple test case where portlets are added into a single column portalLayout. When add them as members, they are always outside of the portalLayout, instead of inside of it. And if I use PortalLayout.addPortlet() instead, I get "object doesn't support method". Am I missing something obvious?
Thanks
S
Code:
isc.Label.create({
height: 20,
ID:"testlabel",
width:20,
align: "left",
valign: "left",
showEdges: false,
autoDraw:false,
contents: "Dashboard"
});
isc.Label.create({
height: 20,
ID:"testlabel2",
width:20,
align: "left",
valign: "left",
showEdges: false,
autoDraw:false,
contents: "Dashboard"
});
isc.Portlet.create({
ID:"portlet1",
numColumns: 2,
width:200,
members: [
testlabel
],
autoDraw:false
});
isc.Portlet.create({
ID:"portlet2",
numColumns: 2,
width:200,
members: [
testlabel2
],
autoDraw:false
});
isc.PortalLayout.create({
ID:"portalWindow1",
numColumns: 1,
width:700,
defaultLayoutAlign:"left",
columnBorder:"5px solid gray",
members: [
portlet1,
portlet2
]
});
isc.VLayout.create({
width:750,
top:100,
left:165,
height: 600,border:"1px solid red",
members: [ portalWindow1 ]
})
Comment