I am thinking to implement Queuing into my project. I am not using JSPs nor SC back-end. My back-end is ASP + SQL Server. Can I still do Queuing? If yes, what would server code be?
Thanks
Thanks
function populateDS (xmlDoc, xmlText) { debugger; var abc = Locationcodea.recordsFromXML(xmlDoc, isc.XMLTools.selectNodes(xmlDoc, "//locationcodesa")); form1.getField("itemName").setValueMap(abc.getValueMap("id", "description")); } isc.XMLTools.loadXML("injuries/forms/injuries.asp?requesttype=send&datarequest=xml&methodexecute=mtestqueuing", "populateDS(xmlDoc, xmlText)"); isc.DataSource.create({ ID:"Locationcodea", dataFormat:"xml", recordXPath:"//locationcodesa", fields:[ {name:"description"} ] }); isc.DynamicForm.create({ ID: "form1", width: 200, numCols: 1, fields : [{ name: "itemName", title: "Item Name", type: "select", pickListWidth: 250 }]
<HTML><HEAD> <SCRIPT>var isomorphicDir="common/isomorphic/";</SCRIPT> <SCRIPT SRC=common/isomorphic/system/modules/ISC_Core.js></SCRIPT> <SCRIPT SRC=common/isomorphic/system/modules/ISC_Foundation.js></SCRIPT> <SCRIPT SRC=common/isomorphic/system/modules/ISC_Containers.js></SCRIPT> <SCRIPT SRC=common/isomorphic/system/modules/ISC_Grids.js></SCRIPT> <SCRIPT SRC=common/isomorphic/system/modules/ISC_Forms.js></SCRIPT> <SCRIPT SRC=common/isomorphic/system/modules/ISC_DataBinding.js></SCRIPT> <SCRIPT SRC=common/isomorphic/skins/SmartClient/load_skin.js></SCRIPT> <SCRIPT SRC=common/isomorphic/login/reloginFlow.js></SCRIPT> </HEAD> <BODY> <SCRIPT> function populateDS (xmlDoc, xmlText) { abc = Locationcodea.recordsFromXML(isc.XMLTools.selectNodes(xmlDoc, "//locationcodesa")); isc.ResultSet.create({ ID: "xyz", dataSource : "Locationcodea", initialData : abc }); form1.getField("itemName").setValueMap(xyz.getValueMap("id", "description")); } isc.XMLTools.loadXML("injuries/forms/injuries.asp?requesttype=send&datarequest=xml&methodexecute=mtestqueuing", "populateDS(xmlDoc, xmlText)"); isc.DataSource.create({ ID:"Locationcodea", dataFormat:"xml", recordXPath:"//locationcodesa", fields:[ {name:"id"}, {name:"description"} ] }); isc.DynamicForm.create({ ID: "form1", width: 200, numCols: 1, fields : [{ name: "itemName", title: "Item Name", editorType: "comboBox", pickListWidth: 250 }] }); </SCRIPT> </body> </html>
Comment