:: Forum >>
Moderator of this site.plz help.AW not defined error
Hi all,
any one of u plz help me 2 go futhure.I want 2 display a grid when html page loads.I m using Eclipse IDE and tomcat webserver.I have error called AW not defined.
My application directory structure is
test2
|-->activewidgets(this folder contains the extract of ActiveWidget
zip file)
My code is as below.Help me plz. a small advise may help
<html>
<head>
<title>grid diplay</title>
<link rel="stylesheet" type="text/css" href="test2/activewidgets/runtime/styles/xp/aw.css">
<script language="JavaScript" src="test2/activewidgets/runtime/lib/aw.js"></script>
<script language="JavaScript">
var myCells = [
["MSFT","Microsoft Corporation", "314,571.156"],
["ORCL", "Oracle Corporation", "62,615.266"]
];
var myHeaders = ["Ticker", "Company Name", "Market Cap."];
var obj = new AW.UI.Grid;
obj.setCellText(myCells);
obj.setHeaderText(myHeaders);
obj.setColumnCount(3);
obj.setRowCount(2);
document.write(obj);
</script>
</head>
<body>
</body>
</html>
sushma
Saturday, October 14, 2006
This topic is archived.
Back to support forum
Forum search