Hi Everyone,

I'm using the evaluation version of SmartClient.
I'm trying to implement something like this example: https://smartclient.com/smartclient/...ortalDashboard
However, I'm getting the following warnings:

WARN:PortalLayout:landingpagePortalLayout:getObjectField: no schema exists for: [PortalLayout ID:landingpagePortalLayout]

ISC_Core.js:29557 *14:46:17.004:WARN:EditContext:editPane_editContext:can't addNode: can't find a field in parent: [PortalLayout ID:landingpagePortalLayout] for a new child of type: PortalColumn, parent property:undefined, newNode is: {type: "PortalColumn", _constructor: "PortalColumn", idName: undef, idPrefix: undef, canDuplicate: undef, title: undef, icon: undef, iconSize: undef, showDropIcon: undef, useEditMask: undef, autoGen: undef, editProxyProperties: undef, ID: "PortalColumn0", liveObject: [PortalColumn ID:PortalColumn0], defaults: Obj{ID:PortalColumn0}}


I have the following code in CoffeeScript:
Code:
isc.defineClass('LandingpagesPane', isc.SplitPane).addProperties
ID: "splitPane"
width: "100%"
height: "100%"
showLeftButton:true
showRightButton:false
initWidget: ->
@Super("initWidget", arguments)
defaultPalette = isc.ListPalette.create
ID: 'listPalette'
leaveScrollbarGap: false
fields: [ {
name: 'title'
title: 'Component'
} ]
data: [{
title: "Scope Items"
type: "ItemsPortletGrid"
defaults: {
dataSource: isc.ItemsDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: 'project_name'
}
}
{
title: "Cause / Consequences"
type: "CauseConsequencesGrid"
defaults: {
dataSource: isc.CauseConsequencesDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: 'project_name'
}
}
{
title: "Comments"
type: "CommentsGrid"
defaults: {
dataSource: isc.CommentsDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: ['commentable_project_name','commentable_code']
}
}
{
title: "Decisions"
type: "DecisionsGrid"
defaults: {
dataSource: isc.DecisionsDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: 'project_name'
}
}
{
title: "Issues"
type: "IssuesGrid"
defaults: {
dataSource: isc.IssuesDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: 'project_name'
}
}
{
title: "Risk Events"
type: "EventsGrid"
defaults: {
dataSource: isc.EventsDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: 'project_name'
}
}
{
title: "Risk Responses"
type: "RiskAssessmentsGrid"
defaults: {
dataSource: isc.RiskAssessmentsDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: 'project_name'
}
}
{
title: "Mitigating Controls"
type: "MitigatingControlsGrid"
defaults: {
dataSource: isc.MitigatingControlsDataSource.create()
autoFetchData: true
showFilterEditor: true
groupStartOpen:"all"
groupByField: 'project_name'
}
}]
isc.EditPane.create
ID: "editPane"

defaultPalette.setDefaultEditContext(editPane)
editPane.setDefaultPalette(defaultPalette)
initialPortalPaletteNode = {
type: "PortalLayout"
defaults: {
ID: "landingpagePortalLayout"
width: "100%"
height: "100%"
numColumns: 1
canResizePortlets: true
portletsChanged: ->
console.log("test")
}
}
editNode = editPane.addFromPaletteNode (initialPortalPaletteNode)
editPane.getEditContext().defaultParent = editNode;
@setNavigationPane(defaultPalette)
@setDetailPane(editPane)
return
I have basically loaded every script to be sure (since I find it hard to determine what modules are required for what):

<script src="/isomorphic/system/modules-debug/ISC_Core.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Foundation.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Containers.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Grids.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Forms.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_DataBinding.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_AceEditor.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Calendar.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_ClassBrowser.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Drawing.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_DSBrowser.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_EBay.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Gmail.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_History.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Kapow.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_PluginBridges.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_ReferenceDocs.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_RichTextEditor.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_SalesForce.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Scheduler.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_SQLBrowser.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_SystemSchema.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Workflow.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Charts.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_VisualBuilder.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_AdminConsole.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_DocViewer.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_FileBrowser.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_FileLoader.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_SkinUtil.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Analytics.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_RealtimeMessaging.js"></script>
<script src="/isomorphic/system/modules-debug/ISC_Tools.js"></script>

Note, I'm not using SmartGWT, we are building our application on Rails.

I did notice the following line in the documentation:

Any tools that work with hierarchies of system components or derivations of them will also need the system schema which can be loaded by either of the following:

JSP tag:
<script><isomorphic:loadSystemSchema /></script>
HTML tag:
<SCRIPT SRC="../isomorphic/DataSourceLoader?dataSource=$systemSchema"></SCRIPT> But I'm not sure what this does and how to get this working in a Rails based environment.

Hope you can help me.