Thanks, Pl elaborate with an Example
I have these two files.
<%@ taglib uri=“/WEB-INF/iscTaglib.xml” prefix=“isomorphic” %>
<HTML><HEAD>
<!–isomorphic:loadISC skin=“SmartClient” / –>
</HEAD><BODY>
<!–
use these templates to load datasource descriptors, UI descriptors, client-side logic, stylesheets –>
<!--isomorphic:loadUI name="" / -->
<SCRIPT>var isomorphicDir="../isomorphic/";</SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Core.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Containers.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Grids.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Forms.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
<SCRIPT SRC=../isomorphic/skins/SmartClient/load_skin.js></SCRIPT>
<LINK REL=STYLESHEET TYPE="text/css" HREF="prototype/layout.css" >
<SCRIPT>
// Start of Layout
isc.VLayout.create({
width: “100%”,
height: “100%”,
members: [
isc.HTMLPane.create({
left:0, top:0,
width:“100%”, height:56, showEdges:false,
overflow:“none”,
contentsURL:“prototype/mastHead.html”
}),
isc.ViewLoader.create({
viewURL:"workflow.jsp"
}),
isc.HTMLPane.create({
position: "relative",width:"100%", height:50, showEdges:false,
overflow:"none",
contentsURL:"prototype/mastFooter.html"
})
]
});
</SCRIPT>
</BODY></HTML>
workflow.jsp file
<SCRIPT>
// Start of Horizontal Layout
isc.HLayout.create({
top: 70, left: 100,
width: "100%",
height: "100%",
members: [
isc.ListGrid.create({
ID: "workspaceList",
alternateRecordStyles:true,
showAllRecords:false,
dataSource: workspaceListDS,
autoFetchData: false,
height:"100%",
selectionType:"single",
dataPageSize: 50,
drawAheadRatio: 4
})
]
});
</SCRIPT>
Let me know what’s missing to make the ViewLoader work…